Greetings,
I'm working thru the book 'Jenkins, The Definitive Guide'

Jenkins 2.0, Java 8 update 92, Maven 3.3.9 on Windows.
Jenkins is installed, game of life built fine.
This problem relates to the section  "More Reporting - Displaying Javadocs".
The maven target javadoc:javadoc fails with issues (see below).  
I am not familiar enough with Maven to understand the source of the 
problem. 
I suspect Jenkins, or some configuration inside Jenkins.
I had at first assumed it was something wrong with my maven install, but
I removed it completely, allowing jenkins to install it (option in the 
Global Tool Configuration for Maven), the same problem occurred.  
When I run the mvn command outside of jenkins at the command line in the 
same directory, it builds without any errors.
I cannot find a similar problem posted anywhere thusfar.  
Thank you for any clues.

C:\Users\Sarah\.jenkins\jobs\gameoflife-default\workspace>"C:\Program 
Files\Apache\Maven\bin\\mvn.cmd" javadoc:javadoc -o 
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] gameoflife
[INFO] gameoflife-build
[INFO] gameoflife-core
[INFO] gameoflife-web
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5 
is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-release-plugin:2.5: Plugin 
org.apache.maven.plugins:maven-release-plugin:2.5 or one of its 
dependencies could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-release-plugin:jar:2.5 has not been 
downloaded from it before.
[WARNING] The POM for 
org.apache.maven.plugins:maven-deploy-plugin:jar:2.8.2 is missing, no 
dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-deploy-plugin:2.8.2: Plugin 
org.apache.maven.plugins:maven-deploy-plugin:2.8.2 or one of its 
dependencies could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-deploy-plugin:jar:2.8.2 has not been 
downloaded from it before.
[WARNING] The POM for com.jelastic:jelastic-maven-plugin:jar:1.6 is 
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
com.jelastic:jelastic-maven-plugin:1.6: Plugin 
com.jelastic:jelastic-maven-plugin:1.6 or one of its dependencies could not 
be resolved: Cannot access central (https://repo.maven.apache.org/maven2) 
in offline mode and the artifact com.jelastic:jelastic-maven-plugin:jar:1.6 
has not been downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is 
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-site-plugin:3.3: Plugin 
org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded 
from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.4 
is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-install-plugin:2.4: Plugin 
org.apache.maven.plugins:maven-install-plugin:2.4 or one of its 
dependencies could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-install-plugin:jar:2.4 has not been 
downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 
is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin 
org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been 
downloaded from it before.
[WARNING] The POM for 
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, 
no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin 
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its 
dependencies could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been 
downloaded from it before.
[WARNING] The POM for 
org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 is missing, no 
dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin 
org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its 
dependencies could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been 
downloaded from it before.
[WARNING] The POM for 
org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 is missing, no 
dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-release-plugin:2.3.2: Plugin 
org.apache.maven.plugins:maven-release-plugin:2.3.2 or one of its 
dependencies could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-release-plugin:jar:2.3.2 has not been 
downloaded from it before.
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] gameoflife ......................................... SKIPPED
[INFO] gameoflife-build ................................... SKIPPED
[INFO] gameoflife-core .................................... SKIPPED
[INFO] gameoflife-web ..................................... SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1.238 s
[INFO] Finished at: 2016-04-27T19:54:34-07:00
[INFO] Final Memory: 10M/111M
[INFO] 
------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'javadoc' in the current project and in 
the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available 
from the repositories [local 
(C:\windows\system32\config\systemprofile\.m2\repository), central 
(https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException
Build step 'Invoke top-level Maven targets' marked build as failure
Archiving artifacts
Recording test results
Publishing Javadoc
Finished: FAILURE
© 2016 Microsoft Terms Privacy & cookies Developers English (United States)


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7588678b-7f14-4dfb-809c-c6a84c8c491e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to