Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
Replace plexus-container-default with Sisu Plexus
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Dec 12, 2023
1 parent ec8f9fa commit ba868ee
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
17 changes: 14 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@

<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>2.1.1</version>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.plexus</artifactId>
<version>0.3.5</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
Expand All @@ -56,6 +56,17 @@
<artifactId>commons-cli</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-testing</artifactId>
<version>1.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
10 changes: 7 additions & 3 deletions src/test/java/org/codehaus/plexus/tools/cli/CliTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,18 @@
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;

import org.codehaus.plexus.PlexusTestCase;
import org.codehaus.plexus.util.FileUtils;
import org.junit.jupiter.api.Test;

import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
import static org.junit.jupiter.api.Assertions.assertEquals;

/**
* @author Jason van Zyl
*/
public class CliTest extends PlexusTestCase {
public void testCli() throws Exception {
class CliTest {
@Test
void cli() throws Exception {
String[] args = new String[] {"-n", getBasedir()};

Class clazz = TestCli.class;
Expand Down

0 comments on commit ba868ee

Please sign in to comment.