Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Replace plexus-container-default with Sisu Plexus #26

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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