DefaultArtifactFactory.createDependencyArtifact sets scope to null ------------------------------------------------------------------
Key: MNG-2524 URL: http://jira.codehaus.org/browse/MNG-2524 Project: Maven 2 Issue Type: Bug Components: Artifacts Affects Versions: 2.0.4 Reporter: Adrian Sox Priority: Trivial There are four createDependencyArtifact methods in DefaultArtifactFactory, all of which take scope as an argument. One of the four fails to pass the scope into the createArtifact method. Specifically, public Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope ) { return createArtifact( groupId, artifactId, versionRange, type, classifier, null, null ); } should be public Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope ) { return createArtifact( groupId, artifactId, versionRange, type, classifier, scope, null ); } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira