Skip to content

Commit

Permalink
[all] Replace Guice by Guice NO-AOP
Browse files Browse the repository at this point in the history
see #1012

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Jun 24, 2020
1 parent 72c82bd commit b900156
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 26 deletions.
1 change: 1 addition & 0 deletions docs/io.sarl.docs.doclet/pom.xml
Expand Up @@ -41,6 +41,7 @@
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<classifier>no_aop</classifier>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
7 changes: 0 additions & 7 deletions main/features/io.sarl.baseplatform.dsl/feature.xml
Expand Up @@ -356,13 +356,6 @@ for the SARL DSL Environment
version="0.0.0"
unpack="false"/>

<plugin
id="aopalliance"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.arakhne.afc.core.vmutils"
download-size="0"
Expand Down
7 changes: 0 additions & 7 deletions main/features/io.sarl.baseplatform/feature.xml
Expand Up @@ -616,11 +616,4 @@
version="0.0.0"
unpack="false"/>

<plugin
id="aopalliance"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

</feature>
1 change: 1 addition & 0 deletions main/internalmaven/io.sarl.maven.baselib/pom.xml
Expand Up @@ -37,6 +37,7 @@
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<classifier>no_aop</classifier>
</dependency>
<!-- Force the version of ASM -->
<dependency>
Expand Down
1 change: 1 addition & 0 deletions main/internalmaven/sarl-maven-plugin/pom.xml
Expand Up @@ -54,6 +54,7 @@
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<classifier>no_aop</classifier>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -488,6 +488,7 @@
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>${guice.version}</version>
<classifier>no_aop</classifier>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Expand Down
Expand Up @@ -69,13 +69,11 @@ public class JanusClasspathContainer extends AbstractSARLBasedClasspathContainer
//
// List of plugins that are included into the Janus feature for running Janus into Eclipse
//
"aopalliance", //$NON-NLS-1$
"com.fasterxml.jackson.core.jackson-core", //$NON-NLS-1$
"com.fasterxml.jackson.core.jackson-databind", //$NON-NLS-1$
"com.fasterxml.jackson.dataformat.jackson-dataformat-xml", //$NON-NLS-1$
"com.fasterxml.jackson.dataformat.jackson-dataformat-yaml", //$NON-NLS-1$
"com.fasterxml.jackson.module.jackson-module-jaxb-annotations", //$NON-NLS-1$
"com.google.inject.multibindings", //$NON-NLS-1$
"net.sf.jopt-simple.jopt-simple", //$NON-NLS-1$
};
final String[] array = new String[SARLClasspathContainer.SARL_ROOT_BUNDLE_NAMES.length + array1.length];
Expand Down
7 changes: 0 additions & 7 deletions sre/io.janusproject/io.janusproject.feature/feature.xml
Expand Up @@ -256,13 +256,6 @@
version="0.0.0"
unpack="false"/>

<plugin
id="aopalliance"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.arakhne.afc.core.util"
download-size="0"
Expand Down
1 change: 0 additions & 1 deletion sre/io.janusproject/io.janusproject.feature/pom.xml
Expand Up @@ -18,7 +18,6 @@
<artifactId>tycho-source-feature-plugin</artifactId>
<configuration>
<excludes>
<plugin id="aopalliance"/>
<plugin id="org.apache.commons.cli"/>
<plugin id="org.arakhne.afc.core.util"/>
<plugin id="org.arakhne.afc.core.vmutils"/>
Expand Down
1 change: 1 addition & 0 deletions sre/io.janusproject/io.janusproject.kernel/pom.xml
Expand Up @@ -37,6 +37,7 @@
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<classifier>no_aop</classifier>
</dependency>

<!-- The following dependency is necessary to avoid version conflict
Expand Down
Expand Up @@ -94,10 +94,8 @@ public void getBundleDependencies_withEclipse() {
Iterable<String> iterable = this.container.getBundleDependencies();
assertNotNull(iterable);
assertPartlyContains(iterable,
"aopalliance",
"com.google.guava",
"com.google.inject",
"com.google.inject.multibindings",
"io.sarl.core",
"io.sarl.lang.core",
"io.sarl.util",
Expand Down

0 comments on commit b900156

Please sign in to comment.