Hi,
I have been looking at the issue tracker and the mailing archive but I
can't seem to find a reference to this problem. I have two kind of
builds running on a master and a slave.
Generic builds executing maven tasks (to run sonar) which works just
fine on both the master and the slave
Maven 2 jobs executing tasks on a project pom. theses task work just
fine on the master but fail on the slave with the error below. Please
note that
fr.example:parent:pom is present in our company specific repo but it
looks like the maven user settings are being completely bypassed.
Settings for M2_HOME and MAVEN_OPTS are defined to the correct values
in the master configuration, since it didn't seem to be passed to the
slave, I have added them to the node configuration too, the maven opts
are also defined at the project level and since that still didn't seem
to work I made sure that the jnlp slave was started from a console
with all the settings to a correct value including the maven opts and
I tried a manual build from that same console, everything works just
fine ...
I am taking any suggestion to get these build working, I don't have a
lot of experience with jenkins maybe I missed something obvious ...
ERROR: Ignore Problem expanding maven opts macros
org.jenkinsci.plugins.tokenmacro.TokenMacro
Found mavenVersion 2.2.1 from file jar:file:/D:/jtb/softs/5.0.1/apps/
apache-maven-2.2.1/lib/maven-2.2.1-uber.jar!/META-INF/maven/
org.apache.maven/maven-core/pom.properties
Parsing POMs
ERROR: Echec à la lecture des POMs
hudson.util.IOException2: remote file operation failed: D:\jenkins_home
\workspace\batch\batch at hudson.remoting.Channel@e33901:GF213061
at hudson.FilePath.act(FilePath.java:752)
at hudson.FilePath.act(FilePath.java:738)
at hudson.maven.MavenModuleSetBuild
$RunnerImpl.parsePoms(MavenModuleSetBuild.java:817)
at hudson.maven.MavenModuleSetBuild
$RunnerImpl.doRun(MavenModuleSetBuild.java:617)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:
423)
at hudson.model.Run.run(Run.java:1362)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:467)
at hudson.model.ResourceController.execute(ResourceController.java:
88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: hudson.remoting.ProxyException:
hudson.maven.MavenModuleSetBuild$MavenExecutionException:
org.apache.maven.project.ProjectBuildingException: Some problems were
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Failure to find
fr.example:parent:pom:2.0.5 in
http://repo1.maven.org/maven2 was
cached in the local repository, resolution will not be reattempted
until the update interval of central has elapsed or updates are forced
and 'parent.relativePath' points at wrong local POM @ line 4, column
11
at hudson.maven.MavenModuleSetBuild
$PomParser.invoke(MavenModuleSetBuild.java:1327)
at hudson.maven.MavenModuleSetBuild
$PomParser.invoke(MavenModuleSetBuild.java:1110)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown
Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:58)
at java.lang.Thread.run(Unknown Source)
Caused by: hudson.remoting.ProxyException:
org.apache.maven.project.ProjectBuildingException: Some problems were
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Failure to find
fr.example:parent:pom:2.0.5 in
http://repo1.maven.org/maven2 was
cached in the local repository, resolution will not be reattempted
until the update interval of central has elapsed or updates are forced
and 'parent.relativePath' points at wrong local POM @ line 4, column
11
at
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:
339)
at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360)
at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330)
at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321)
at hudson.maven.MavenModuleSetBuild
$PomParser.invoke(MavenModuleSetBuild.java:1283)
... 12 more
batch-TG-TI est désactivé. Lancement non fait.
Finished: FAILURE