Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
[BZ-1007437] fix pom.xml parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mariofusco committed Sep 19, 2013
1 parent 7ba5d40 commit 24b9a15
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -91,8 +91,8 @@ public POM toModel(String pomAsString)
POM gavModel = new POM(
new GAV(
(model.getGroupId() == null ? model.getParent().getGroupId() : model.getGroupId()),
(model.getGroupId() == null ? model.getParent().getArtifactId() : model.getArtifactId()),
(model.getGroupId() == null ? model.getParent().getVersion() : model.getVersion())
(model.getArtifactId() == null ? model.getParent().getArtifactId() : model.getArtifactId()),
(model.getVersion() == null ? model.getParent().getVersion() : model.getVersion())
)
);

Expand Down

0 comments on commit 24b9a15

Please sign in to comment.