Open GoogleCodeExporter opened 9 years ago
I need suggestions ASAP.
Thnks in advance.
Anil
Original comment by anil.singh84
on 8 Aug 2010 at 3:57
You can install missing dependency on your own:
1) Go to annotation-processor folder
2) mvn install -DskipTests=true
3) mvn install:install-file -DgroupId=com.google.code.facebookapi
-DartifactId=facebook-java-api-annotation-processor -Dversion=3.0.4-SNAPSHOT
-Dpackaging=jar -Dfile=target/facebook-java-api-annotation-processor-3.0.4.jar
4) Go to root
5) mvn install -DskipTests=true
Original comment by dm.naume...@gmail.com
on 10 Aug 2010 at 4:32
Hey......Thnx a lot fr ur reply.
Original comment by anil.singh84
on 11 Aug 2010 at 6:43
Same problem for me,and it's not resolved.
It appeared that apt version was 3.0.5 while the reference was for 3.0.4. I
changed the version number to 3.0.5 in all places where apt is reference.
However this is what maven has to say:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.174s
[INFO] Finished at: Fri May 27 16:28:14 EDT 2011
[INFO] Final Memory: 9M/149M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:apt-maven-plugin:1.0-alpha-3:pr
ocess (default) on project facebook-java-api: Apt failed -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.codehaus.mojo:apt-maven-plugin:1.0-alpha-3:process (default) on project faceb
ook-java-api: Apt failed
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
ild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Apt failed
at org.codehaus.mojo.apt.AbstractAptMojo.executeApt(AbstractAptMojo.java
:378)
at org.codehaus.mojo.apt.AbstractAptMojo.executeImpl(AbstractAptMojo.jav
a:263)
at org.codehaus.mojo.apt.AbstractAptMojo.execute(AbstractAptMojo.java:24
0)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:209)
... 19 more
[ERROR]
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :facebook-java-api
Original comment by elintegr...@gmail.com
on 27 May 2011 at 8:32
Changing 3.0.4 to 3.0.5 in facebook-java-api/pom.xml worked for me.
Original comment by vineet...@gmail.com
on 15 Jun 2011 at 1:03
Original issue reported on code.google.com by
anil.singh84
on 8 Aug 2010 at 3:40