Skip to content

Commit

Permalink
[JENKINS-11248] Build fails on "Deploy artifacts to Maven repository"…
Browse files Browse the repository at this point in the history
… due to trying to upload parent POM twice for release artifacts.

Originally-Committed-As: 1d2012b792fbd865953cf5c51ee95ddbe189758c
  • Loading branch information
olamy committed Jan 12, 2012
1 parent 379c688 commit 3ba1e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/maven/reporters/MavenArtifact.java
Expand Up @@ -147,7 +147,7 @@ public static MavenArtifact create(Artifact a) throws IOException {
}

public boolean isPOM() {
return fileName.endsWith(".pom"); // hack
return fileName.endsWith(".pom")||"pom.xml".equals(fileName); // hack
}

/**
Expand Down

0 comments on commit 3ba1e20

Please sign in to comment.