Skip to content

Commit 3096c3f

Browse files
committed
Extract the commons-cli from the embedded runtime and use it as a bundle
1 parent 0b49dca commit 3096c3f

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

m2e-maven-runtime/org.eclipse.m2e.maven.runtime/pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</parent>
2020

2121
<artifactId>org.eclipse.m2e.maven.runtime</artifactId>
22-
<version>3.8.700-SNAPSHOT</version>
22+
<version>3.8.701-SNAPSHOT</version>
2323
<packaging>jar</packaging>
2424

2525
<name>M2E Embedded Maven Runtime (includes Incubating components)</name>
@@ -61,6 +61,12 @@
6161
<dependency>
6262
<groupId>org.apache.maven</groupId>
6363
<artifactId>maven-embedder</artifactId>
64+
<exclusions>
65+
<exclusion>
66+
<groupId>commons-cli</groupId>
67+
<artifactId>commons-cli</artifactId>
68+
</exclusion>
69+
</exclusions>
6470
</dependency>
6571
<dependency>
6672
<groupId>org.apache.maven</groupId>
@@ -174,7 +180,8 @@
174180
org.slf4j.spi;version="[1.7.31,3.0.0)",\
175181
org.slf4j.helpers;version="[1.7.31,3.0.0)",\
176182
javax.inject;version="1.0.0",\
177-
javax.annotation;version="[1.2.0,2.0.0)"
183+
javax.annotation;version="[1.2.0,2.0.0)", \
184+
org.apache.commons.cli;version="[1.4.0,2.0.0)"
178185
Require-Bundle: \
179186
com.google.guava
180187
]]></bnd>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<dependency>
103103
<groupId>org.eclipse.m2e</groupId>
104104
<artifactId>org.eclipse.m2e.maven.runtime</artifactId>
105-
<version>3.8.700-SNAPSHOT</version>
105+
<version>3.8.701-SNAPSHOT</version>
106106
</dependency>
107107
</dependencies>
108108

target-platform/target-platform.target

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@
9797
<version>31.1-jre</version>
9898
<type>jar</type>
9999
</dependency>
100+
<dependency>
101+
<groupId>commons-cli</groupId>
102+
<artifactId>commons-cli</artifactId>
103+
<version>1.4</version>
104+
<type>jar</type>
105+
</dependency>
100106
<dependency>
101107
<groupId>io.takari.m2e.workspace</groupId>
102108
<artifactId>org.eclipse.m2e.workspace.cli</artifactId>

0 commit comments

Comments
 (0)