Skip to content

Commit c7ad671

Browse files
Remove Log4j 1.2.x from ITs
1 parent 881bb9c commit c7ad671

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

src/it/projects/git-issue-60-exec/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
</dependency>
1919
<dependency>
2020
<groupId>org.slf4j</groupId>
21-
<artifactId>slf4j-log4j12</artifactId>
21+
<artifactId>slf4j-reload4j</artifactId>
2222
<scope>runtime</scope>
2323
</dependency>
2424
<dependency>
25-
<groupId>log4j</groupId>
26-
<artifactId>log4j</artifactId>
25+
<groupId>ch.qos.reload4j</groupId>
26+
<artifactId>reload4j</artifactId>
2727
<scope>provided</scope>
2828
</dependency>
2929
</dependencies>

src/it/projects/git-issue-60-exec/verify.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ assert execLog.exists()
2222
assert execLog.getText().contains('Can you hear me, Major Tom?')
2323

2424
File buildLog = new File(basedir, 'build.log')
25-
assert buildLog.exists()
25+
assert buildLog.exists()

src/it/projects/git-issue-60-java/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
</dependency>
1818
<dependency>
1919
<groupId>org.slf4j</groupId>
20-
<artifactId>slf4j-log4j12</artifactId>
20+
<artifactId>slf4j-reload4j</artifactId>
2121
<scope>runtime</scope>
2222
</dependency>
2323
<dependency>
24-
<groupId>log4j</groupId>
25-
<artifactId>log4j</artifactId>
24+
<groupId>ch.qos.reload4j</groupId>
25+
<artifactId>reload4j</artifactId>
2626
<scope>provided</scope>
2727
</dependency>
2828
<dependency>

src/it/projects/git-issue-60-java/verify.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ File buildLog = new File(basedir, 'build.log')
2525
assert buildLog.exists()
2626
def buildLogText = buildLog.getText()
2727
assert buildLogText.contains( "Adding project dependency artifact: slf4j-api to classpath" )
28-
assert buildLogText.contains( "Adding project dependency artifact: log4j to classpath" )
29-
assert buildLogText.contains( "Adding project dependency artifact: slf4j-log4j12 to classpath" )
30-
assert !buildLogText.contains( "Adding project dependency artifact: junit to classpath" )
28+
assert buildLogText.contains( "Adding project dependency artifact: reload4j to classpath" )
29+
assert buildLogText.contains( "Adding project dependency artifact: slf4j-reload4j to classpath" )
30+
assert !buildLogText.contains( "Adding project dependency artifact: junit to classpath" )
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
invoker.goals = dependency:resolve-plugins install
1+
invoker.goals = dependency:resolve-plugins dependency:resolve install

src/it/projects/setup-parent/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@
3333
<dependency>
3434
<groupId>org.slf4j</groupId>
3535
<artifactId>slf4j-api</artifactId>
36-
<version>1.7.21</version>
36+
<version>1.7.36</version>
3737
</dependency>
3838
<dependency>
3939
<groupId>org.slf4j</groupId>
40-
<artifactId>slf4j-log4j12</artifactId>
41-
<version>1.7.21</version>
40+
<artifactId>slf4j-reload4j</artifactId>
41+
<version>1.7.36</version>
4242
</dependency>
4343
<dependency>
44-
<groupId>log4j</groupId>
45-
<artifactId>log4j</artifactId>
46-
<version>1.2.17</version>
44+
<groupId>ch.qos.reload4j</groupId>
45+
<artifactId>reload4j</artifactId>
46+
<version>1.2.25</version>
4747
</dependency>
4848
<dependency>
4949
<groupId>junit</groupId>
5050
<artifactId>junit</artifactId>
51-
<version>3.8.1</version>
51+
<version>4.13.2</version>
5252
</dependency>
5353
</dependencies>
5454
</dependencyManagement>

0 commit comments

Comments
 (0)