-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Platform: All, OS: All
M2 pom parsing error marks the build as failure, but doesn't send out a notification email.
Here is the example log.
This was confirmed with hudson 1.218.
—
started
Updating http://svn.tva.tvworks.com/svn/tvworks/trunk/tva/core/common
U installers/test-harness/upgrade-install/pom.xml
At revision 55112
Parsing POMs
[WARN ] Unable to get resource from repository tva.ci (http://maven.tva.tvworks.com/ci-m2-repo/)
[WARN ] Unable to get resource from repository tva.release (http://maven.tva.tvworks.com/maven2/)
[WARN ] Unable to get resource from repository tva.snapshot (http://maven.tva.tvworks.com/maven2-
snapshot/)
[WARN ] Unable to get resource from repository tva.proxy
(http://maven.tva.tvworks.com/archiva/repository/tva.proxy/)
[WARN ] Unable to get resource from repository central (http://repo1.maven.org/maven2)
ERROR: Failed to parse POMs
org.apache.maven.project.ProjectBuildingException: Cannot find parent: com.tvworks.tva.common:tva-
common for project: com.tvworks.tva.common:tva-common-admin-cmd:jar:3.3.0
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.jav
a:1161)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:67
4)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProject
Builder.java:416)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:288)
at hudson.maven.MavenUtil.resolveModules(MavenUtil.java:96)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:663)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:611)
at hudson.FilePath.act(FilePath.java:317)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:369)
at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:282)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:231)
at hudson.model.Run.run(Run.java:756)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:202)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:82)
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'com.tvworks.tva.common:tva-
common' not found in repository: Unable to download the artifact from any repository
com.tvworks.tva.common:tva-common:pom:3.3.0
from the specified remote repositories:
tva.release (http://maven.tva.tvworks.com/maven2/),
tva.snapshot (http://maven.tva.tvworks.com/maven2-snapshot/),
central (http://repo1.maven.org/maven2),
tva.proxy (http://maven.tva.tvworks.com/archiva/repository/tva.proxy/),
tva.ci (http://maven.tva.tvworks.com/ci-m2-repo/)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBu
ilder.java:513)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.jav
a:1157)
... 15 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the
artifact from any repository
com.tvworks.tva.common:tva-common:pom:3.3.0
from the specified remote repositories:
tva.release (http://maven.tva.tvworks.com/maven2/),
tva.snapshot (http://maven.tva.tvworks.com/maven2-snapshot/),
central (http://repo1.maven.org/maven2),
tva.proxy (http://maven.tva.tvworks.com/archiva/repository/tva.proxy/),
tva.ci (http://maven.tva.tvworks.com/ci-m2-repo/)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBu
ilder.java:467)
... 16 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact
from any repository
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
... 18 more
No Subversion tagging for unsuccessful build.
finished: FAILURE
- duplicates
-
JENKINS-1066 No e-mail when maven fails before a build starts
- Resolved