Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aether-users] aether-demo-snippets doesn't compile for 0.9.0M1

Hi

I would try to use aether-demo-snippets as a sample for own works, but it doesn't compile with 
 aetherVersion = 0.9.0.M1

(idem for the doc on wiki), 
Do you have a workaround else I'll switch to sonatype's version 1.13.1 to continue.

Thanks.


mvn package
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Aether Demo Snippets 0.9.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ aether-demo-snippets ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ aether-demo-snippets ---
[INFO] Compiling 19 source files to /home3/dwayne/tmp/aether-demo/aether-demo-snippets/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java:[36,15] error: cannot access DefaultRepositorySystemSession
[ERROR]   class file for org.sonatype.aether.util.DefaultRepositorySystemSession not found
/home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java:[38,15] error: cannot find symbol
[ERROR]  variable session of type MavenRepositorySystemSession
/home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java:[39,15] error: cannot find symbol
[ERROR]  variable session of type MavenRepositorySystemSession
/home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java:[44,15] error: incompatible types
[ERROR]     MavenRepositorySystemSession
/home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/manual/ManualRepositorySystemFactory.java:[34,15] error: cannot access DefaultServiceLocator
[ERROR]   class file for org.sonatype.aether.impl.internal.DefaultServiceLocator not found
/home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/manual/ManualRepositorySystemFactory.java:[35,15] error: cannot find symbol
[ERROR]  variable locator of type DefaultServiceLocator
/home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/manual/ManualRepositorySystemFactory.java:[36,15] error: cannot find symbol
[ERROR]  variable locator of type DefaultServiceLocator
/home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/manual/ManualRepositorySystemFactory.java:[38,22] error: cannot find symbol
[INFO] 8 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.562s
[INFO] Finished at: Fri Nov 30 16:49:19 CET 2012
[INFO] Final Memory: 12M/109M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project aether-demo-snippets: Compilation failure: Compilation failure:
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java:[36,15] error: cannot access DefaultRepositorySystemSession
[ERROR] class file for org.sonatype.aether.util.DefaultRepositorySystemSession not found
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java:[38,15] error: cannot find symbol
[ERROR] variable session of type MavenRepositorySystemSession
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java:[39,15] error: cannot find symbol
[ERROR] variable session of type MavenRepositorySystemSession
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/util/Booter.java:[44,15] error: incompatible types
[ERROR] MavenRepositorySystemSession
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/manual/ManualRepositorySystemFactory.java:[34,15] error: cannot access DefaultServiceLocator
[ERROR] class file for org.sonatype.aether.impl.internal.DefaultServiceLocator not found
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/manual/ManualRepositorySystemFactory.java:[35,15] error: cannot find symbol
[ERROR] variable locator of type DefaultServiceLocator
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/manual/ManualRepositorySystemFactory.java:[36,15] error: cannot find symbol
[ERROR] variable locator of type DefaultServiceLocator
[ERROR] /home3/dwayne/tmp/aether-demo/aether-demo-snippets/src/main/java/org/eclipse/aether/examples/manual/ManualRepositorySystemFactory.java:[38,22] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Back to the top