Skip to content

Commit

Permalink
Using Base version to avoid timestamps in the artifact version
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi authored and lincolnthree committed Mar 18, 2013
1 parent 89c7040 commit 42dd2ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static Dependency convertToDependency(ResourceFactory factory, DependencyNode no
FileResource<?> artifactResource = factory.create(FileResource.class, file);

Dependency d = DependencyBuilder.create().setArtifactId(artifact.getArtifactId())
.setGroupId(artifact.getGroupId()).setVersion(artifact.getVersion())
.setGroupId(artifact.getGroupId()).setVersion(artifact.getBaseVersion())
.setPackaging(artifact.getExtension()).setArtifact(artifactResource)
.setOptional(artifactDependency.isOptional())
.setClassifier(artifact.getClassifier())
Expand Down

0 comments on commit 42dd2ab

Please sign in to comment.