Skip to content

Commit 17feced

Browse files
authored
Merge pull request #129 from jruby/add-plexus-utils-dep-explicitly
adds plexus-utils dependencies explicitly
2 parents e9de1a9 + 7ddb451 commit 17feced

File tree

3 files changed

+7
-25
lines changed

3 files changed

+7
-25
lines changed

gem-maven-plugin/src/it/gemify-pom/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<url>http://maven.apache.org</url>
1010
<dependencies>
1111
<dependency>
12-
<groupId>junit</groupId>
13-
<artifactId>junit</artifactId>
14-
<version>4.13.1</version>
12+
<groupId>org.junit.jupiter</groupId>
13+
<artifactId>junit-jupiter</artifactId>
14+
<version>5.10.0</version>
1515
<scope>test</scope>
1616
</dependency>
1717
</dependencies>

gem-maven-plugin/src/it/gemify-pom/src/test/java/com/example/AppTest.java

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,18 @@
11
package com.example;
22

3-
import junit.framework.Test;
4-
import junit.framework.TestCase;
5-
import junit.framework.TestSuite;
3+
import org.junit.jupiter.api.Test;
4+
import static org.junit.jupiter.api.Assertions.assertTrue;
65

76
/**
87
* Unit test for simple App.
98
*/
109
public class AppTest
11-
extends TestCase
1210
{
13-
/**
14-
* Create the test case
15-
*
16-
* @param testName name of the test case
17-
*/
18-
public AppTest( String testName )
19-
{
20-
super( testName );
21-
}
22-
23-
/**
24-
* @return the suite of tests being tested
25-
*/
26-
public static Test suite()
27-
{
28-
return new TestSuite( AppTest.class );
29-
}
3011

3112
/**
3213
* Rigourous Test :-)
3314
*/
15+
@Test
3416
public void testApp()
3517
{
3618
assertTrue( true );

gem-maven-plugin/src/it/gemify-pom/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if ( !log.contains( expected ) )
99
throw new RuntimeException( "log file does not contain '" + expected + "'" );
1010
}
1111

12-
expected = "Successfully installed junit.junit-3.8.1";
12+
expected = "Successfully installed org.junit.jupiter.junit-jupiter-engine-5.10.0";
1313
if ( !log.contains( expected ) )
1414
{
1515
throw new RuntimeException( "log file does not contain '" + expected + "'" );

0 commit comments

Comments
 (0)