OK I've added the Maven -U parameter to the Hudson build config, lets see if that makes a difference.
...ant On Fri, Oct 15, 2010 at 8:46 PM, Andreas Veithen <[email protected]> wrote: > I think it depends which executor the build runs on. If it runs on an > executor with an up to date local Maven repository (including the > executor on which Axiom itself was built), then it works, otherwise it > doesn't. I've seen this kind of issues in the past, and I'm suspecting > that it is related to how Nexus maintains the Maven metadata > (maven-metadata.xml). I've posted a message to [email protected] > to get some advice. A workaround may be to add an option to Maven to > force it to download the snapshots (-u or something). > > Andreas > > On Thu, Oct 14, 2010 at 15:25, ant elder <[email protected]> wrote: >> I don't know if it was a Hudson hiccup or Hudson needed its workspace >> cleaned, but i deleted the old Hudson workspace and kicked off a fresh >> build and its gone through fine this time. So hopefully just a >> transient error. >> >> ...ant >> >> On Thu, Oct 14, 2010 at 1:00 PM, Andreas Veithen >> <[email protected]> wrote: >>> Does anybody have an idea why Maven only fetched the parent POM, but >>> neither the POM nor the JAR (for axiom-api) from the snapshot >>> repository? All these artifacts are dated Oct 10 and the snapshot JAR >>> does contain the class (StAXWriterConfiguration) the compiler is >>> complaining about. >>> >>> Andreas >>> >>> On Thu, Oct 14, 2010 at 02:14, Apache Hudson Server >>> <[email protected]> wrote: >>>> See >>>> <https://hudson.apache.org/hudson/job/Abdera-trunk/org.apache.abdera$abdera-parser/162/> >>>> >>>> ------------------------------------------ >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Building Abdera Parser >>>> [INFO] task-segment: [clean, install] >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] [clean:clean {execution: default-clean}] >>>> [INFO] Deleting directory >>>> <https://hudson.apache.org/hudson/job/Abdera-trunk/org.apache.abdera$abdera-parser/ws/target> >>>> [INFO] [cobertura:clean {execution: default}] >>>> [INFO] snapshot org.apache.ws.commons.axiom:axiom-impl:1.2.10-SNAPSHOT: >>>> checking for updates from apache.snapshots >>>> [INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:1.2.10-SNAPSHOT: >>>> checking for updates from apache.snapshots >>>> Downloading: >>>> http://repository.apache.org/snapshots/org/apache/ws/commons/axiom/axiom-parent/1.2.10-SNAPSHOT/axiom-parent-1.2.10-SNAPSHOT.pom >>>> 18K downloaded (axiom-parent-1.2.10-SNAPSHOT.pom) >>>> [INFO] snapshot org.apache.ws.commons.axiom:axiom-api:1.2.10-SNAPSHOT: >>>> checking for updates from apache.snapshots >>>> [INFO] snapshot org.apache.abdera:abdera-core:1.1-SNAPSHOT: checking for >>>> updates from apache.snapshots >>>> [INFO] [remote-resources:process {execution: compile}] >>>> [INFO] [resources:resources {execution: default-resources}] >>>> [WARNING] Using platform encoding (ISO646-US actually) to copy filtered >>>> resources, i.e. build is platform dependent! >>>> [INFO] Copying 1 resource >>>> [INFO] Copying 2 resources >>>> [INFO] [compiler:compile {execution: default-compile}] >>>> [INFO] Compiling 51 source files to >>>> <https://hudson.apache.org/hudson/job/Abdera-trunk/org.apache.abdera$abdera-parser/ws/target/classes> >>>> [HUDSON] Archiving >>>> <https://hudson.apache.org/hudson/job/Abdera-trunk/org.apache.abdera$abdera-parser/ws/pom.xml> >>>> to >>>> /home/hudson/hudson/jobs/Abdera-trunk/modules/org.apache.abdera$abdera-parser/builds/2010-10-14_00-07-58/archive/org.apache.abdera/abdera-parser/1.1-SNAPSHOT/pom.xml >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Compilation failure >>>> >>>> <https://hudson.apache.org/hudson/job/Abdera-trunk/org.apache.abdera$abdera-parser/ws/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java>:[39,32] >>>> cannot find symbol >>>> symbol : class StAXWriterConfiguration >>>> location: package org.apache.axiom.om.util >>>> >>>> <https://hudson.apache.org/hudson/job/Abdera-trunk/org.apache.abdera$abdera-parser/ws/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java>:[43,25] >>>> cannot find symbol >>>> symbol : class StAXWriterConfiguration >>>> location: class org.apache.abdera.parser.stax.StaxStreamWriter >>>> >>>> <https://hudson.apache.org/hudson/job/Abdera-trunk/org.apache.abdera$abdera-parser/ws/src/main/java/org/apache/abdera/parser/stax/StaxStreamWriter.java>:[43,83] >>>> cannot find symbol >>>> symbol : class StAXWriterConfiguration >>>> location: class org.apache.abdera.parser.stax.StaxStreamWriter >>>> >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] For more information, run Maven with the -e switch >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 5 minutes 4 seconds >>>> [INFO] Finished at: Thu Oct 14 00:15:24 GMT+00:00 2010 >>>> [INFO] Final Memory: 49M/742M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> >>>> >>> >> >
