I have down loaded the newest zip files from GitHub for the Jenkins Synergy 
Plugin, dated 04/06/2012, and am trying to create the .hpi file using mvn 
package. Each time I run this command the following error message is 
received:

[ERROR] Failed to execute goal 
org.jvnet.hudson.tools:maven-hpi-plugin:1.40:apt-compile 
(default-apt-compile) on project synergy: Execution default-apt-compile of 
goal org.jvnet.hudson.tools:maven-hpi-plugin:1.40:apt-compile failed: Guice 
provision errors:
[ERROR] 
[ERROR] 1) Error injecting: org.jvnet.hudson.maven.plugins.hpi.AptCompiler
[ERROR] at ClassRealm[plugin>org.jvnet.hudson.tools:maven-hpi-plugin:1.40, 
parent: sun.misc.Launcher$AppClassLoader@3eb93eb9]
[ERROR] at ClassRealm[plugin>org.jvnet.hudson.tools:maven-hpi-plugin:1.40, 
parent: sun.misc.Launcher$AppClassLoader@3eb93eb9]
[ERROR] while locating org.codehaus.plexus.compiler.Compiler annotated with 
@com.google.inject.name.Named(value=hpi-apt)
[ERROR] 
[ERROR] 1 error: com.sun.mirror.apt.AnnotationProcessorFactory
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.jvnet.hudson.tools:maven-hpi-plugin:1.40:apt-compile 
(default-apt-compile) on project synergy: Execution default-apt-compile of 
goal org.jvnet.hudson.tools:maven-hpi-plugin:1.40:apt-compile failed: Guice 
provision errors:

1) Error injecting: org.jvnet.hudson.maven.plugins.hpi.AptCompiler
  at ClassRealm[plugin>org.jvnet.hudson.tools:maven-hpi-plugin:1.40, 
parent: sun.misc.Launcher$AppClassLoader@3eb93eb9]
  at ClassRealm[plugin>org.jvnet.hudson.tools:maven-hpi-plugin:1.40, 
parent: sun.misc.Launcher$AppClassLoader@3eb93eb9]
  while locating org.codehaus.plexus.compiler.Compiler annotated with 
@com.google.inject.name.Named(value=hpi-apt)

I am new to Maven so the issue could be due to user error, but would 
greatly appreciate any assistance!

Reply via email to