Hi,

I'm configuring a Maven job on a Jenkins server. The job's parent pom is
built on another server, so it's not available in the local Maven repo,
but it is deployed to Artifactory. The job is configured to resolve
artifacts from Artifactory, but the build fails: it looks like when
Jenkins parses the POM before launching Maven, it doesn't consult
Artifactory.

I'm using Jenkins 1.438, Artifactory 2.0.4, and Maven 3.0.3.

Started by user msmith
Updating https://xxxx/someproject
At revision 656
no change for https://xxxx/someproject since the previous build
Parsing POMs
ERROR: Failed to parse POMs
org.apache.maven.project.ProjectBuildingException: Some problems were
encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact
xxxxx:parent-pom:pom:1.0-SNAPSHOT and 'parent.relativePath' points at
wrong local POM @ line 9, column 11

        at
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339)
        at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:361)
        at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:331)
        at
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1203)
        at
hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1032)
        at hudson.FilePath.act(FilePath.java:785)
        at hudson.FilePath.act(FilePath.java:767)
        at
hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:897)
        at
hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:647)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
        at hudson.model.Run.run(Run.java:1404)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:230)

Finished: FAILURE

Thanks,
Mike

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to