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.
  • Loading branch information
olamy committed Jan 12, 2012
1 parent eae53ce commit 1d2012b
Showing 1 changed file with 1 addition and 1 deletion.
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 1d2012b

Please sign in to comment.