You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/org/apache/maven/resolver/examples/guice/DemoResolverModule.java
Copy file name to clipboardExpand all lines: maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/org/apache/maven/resolver/examples/sisu/MavenDemoModule.java
Copy file name to clipboardExpand all lines: maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/org/apache/maven/resolver/examples/sisu/SisuRepositorySystemDemoModule.java
+1-8Lines changed: 1 addition & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -36,14 +36,7 @@ public class SisuRepositorySystemDemoModule implements Module
36
36
publicvoidconfigure( finalBinderbinder )
37
37
{
38
38
binder.install( newLifecycleModule() );
39
-
// NOTE: this module below is needed due following: while maven-resolver-provider:3.5.4 DOES have Sisu index,
40
-
// the also needed module maven-model-builder:3.5.4 DOES NOT have Sisu index (has plexus/components.xml).
41
-
// To keep things simple, and not bring in deprecated Plexus, we rather install custom Guicemodule
42
-
// (MavenDemoModule) to provide the "missing components" (while resolver components are discovered by Sisu)
43
-
// making resolver complete.
44
-
// To demo Sisu, resolver is completed with components discovered by Sisu (using Sisu index, that all
45
-
// resolver modules have), and the handful components registered directly to Guice in MavenDemoModule module.
46
-
binder.install( newMavenDemoModule() );
39
+
// NOTE: Maven 3.8.1 used in demo has Sisu Index for ALL components (older Maven does NOT have!)
Copy file name to clipboardExpand all lines: maven-resolver-demos/maven-resolver-demo-snippets/src/main/java/org/apache/maven/resolver/examples/sisu/SisuRepositorySystemFactory.java
0 commit comments