You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2008/03/06 04:08:29 UTC
[jira] Updated: (MNG-2524)
DefaultArtifactFactory.createDependencyArtifact sets scope to null
[ http://jira.codehaus.org/browse/MNG-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox updated MNG-2524:
---------------------------
Fix Version/s: (was: Reviewed Pending Version Assignment)
2.0.9
> 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 and Repositories
> Affects Versions: 2.0.4
> Reporter: Adrian Sox
> Priority: Trivial
> Fix For: 2.0.9
>
>
> 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