Now it gets even more weird: I just noticed that when I do "mvn deploy" on 
the parent project, then Jenkins will succeed. This is stange, because the 
local repo already contained that artifact -- otherwise the local test 
using "mvn test" of the child project would have failed, too. This really 
looks as if the Maven integration in Jenkins has a rather strange bug...!

Am Montag, 22. Juli 2013 10:16:46 UTC+2 schrieb Markus KARG:
>
> Dear Jenkins Community, please help me before I drive nuts!
>
> Jenkins fails building one of my projects since I released another version 
> of its Maven parent POM...:
>
> [ERROR] The build could not read 1 project -> [Help 1][ERROR]   [ERROR]   The 
> project ... (C:\.jenkins\workspace\...\pom.xml) has 1 error[ERROR]     
> Non-resolvable parent POM: Could not find artifact ... and 
> 'parent.relativePath' points at wrong local POM @ line 8, column 10 -> [Help 
> 2][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/ProjectBuildingException[ERROR]
>  [Help 2] 
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>
>
> But now comes the strange thing: I log in to exactly that slave, and can 
> *successfully *build *using exactly the same tool chain* Jenkins provided on 
> the slave...
>
> *
> *
>
> *>SET JAVA_HOME=C:\.jenkins\tools\hudson.model.JDK\Java_1.7.0*
>
> *>SET MAVEN_HOME=C:\.jenkins\tools\hudson.tasks.Maven_MavenInstallation*
>
> *>%MAVEN_HOME%\Maven_3.0.4\bin\mvn test*
>
> ...which says "BUILD SUCCESS"!
>
>
> So there must be something wrong with Jenkins 1.514's Maven integration... :-(
>
>
> What can I do? I am totally stuck because I have to release this project 
> today...
>
>
> Thanks!
>
> -Markus
>
>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to