>From book, figure 2-25.  
Entering
Goals install clean
Goals javadoc:javadoc 
without -o on either build goal 
it built this time.

Why? Unclear, I've been playing with a bunch of settings in jenkins. 
I found one issue with my setup that 'archive the artifacts' was **/.jar 
and not  **/target/*.jar  and fixed that.
I had jenkins download a preferred JDK 8u77 and not the one I had 8u92 
based on some suggestions for problems which sourced to pointing to a JRE 
and not JDK.

Onwards... :)


On Sunday, May 1, 2016 at 5:10:52 PM UTC-7, Richard Bywater wrote:
>
> What error is received when NOT using the -o flag?
>
> Richard.
>
> On Mon, 2 May 2016 at 12:02 Sarah Baker <[email protected] <javascript:>> 
> wrote:
>
>> Yes, I've tried both with and without the -o exactly as it indicates in 
>> the book. 
>> Entered with javadoc:javadoc -o  the error is
>> ...
>>
>> [INFO] *--- maven-install-plugin:2.4:install (default-install) @ gameoflife 
>> ---
>> *[WARNING] The POM for org.codehaus.plexus:plexus-utils:jar:3.0.5 is 
>> missing, no dependency information available[WARNING] The POM for 
>> org.codehaus.plexus:plexus-digest:jar:1.0 is missing, no dependency 
>> information available[INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO] 
>> [INFO] gameoflife ......................................... FAILURE [ 12.519 
>> s]
>> [INFO] gameoflife-build ................................... SKIPPED
>> [INFO] gameoflife-core .................................... SKIPPED
>> [INFO] gameoflife-web ..................................... SKIPPED
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] 
>> ------------------------------------------------------------------------
>> [INFO] Total time: 13.514 s
>> [INFO] Finished at: 2016-05-01T16:55:16-07:00
>> [INFO] Final Memory: 17M/170M
>> [INFO] 
>> ------------------------------------------------------------------------[ERROR]
>>  Failed to execute goal 
>> org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) 
>> on project gameoflife: Execution default-install of goal 
>> org.apache.maven.plugins:maven-install-plugin:2.4:install failed: Plugin 
>> org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies 
>> could not be resolved: The following artifacts could not be resolved: 
>> org.codehaus.plexus:plexus-utils:jar:3.0.5, 
>> org.codehaus.plexus:plexus-digest:jar:1.0: Cannot access central 
>> (https://repo.maven.apache.org/maven2) in offline mode and the artifact 
>> org.codehaus.plexus:plexus-utils:jar:3.0.5 has not been downloaded from it 
>> before. -> [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/PluginResolutionExceptionBuild
>>  step 'Invoke top-level Maven targets' marked build as failure
>> Archiving artifacts
>> Recording test results
>> ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were 
>> found but none of them are new. Did tests run? 
>> For example, 
>> C:\Users\Sarah\.jenkins\jobs\gameoflife-default\workspace\gameoflife-acceptance-tests\pom.xml
>>  is 7 days 1 hr old
>> Finished <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE
>>
>>
>>
>> On Friday, April 29, 2016 at 1:32:45 AM UTC-7, Daniel Beck wrote:
>>
>>>
>>> > On 29.04.2016, at 05:37, Sarah Baker <[email protected]> wrote: 
>>> > 
>>> > It's not something I'm introducing in the build line that I enter into 
>>> jenkins for maven. 
>>> > I don't know how it's getting introduced. 
>>>
>>> To clarify, you did not enter the values as shown on figure 2-24 on page 
>>> 34, where the 'Goals' text field contains the text below? 
>>>
>>> > javadoc:javadoc -o 
>>>
>>>
>>> Because that's what makes Maven work offline. 
>>>
>>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/bd606c62-4876-4a36-988d-15b4fa98364e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/bd606c62-4876-4a36-988d-15b4fa98364e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/cfea15b2-9729-4136-bb36-3bccf2dcfcc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to