[ 
http://jira.codehaus.org/browse/MNG-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brian Fox closed MNG-2524.
--------------------------

         Assignee: Brian Fox
       Resolution: Fixed
    Fix Version/s:     (was: 2.0.9)
                   2.0.8

Already fixed by Carlos in svn rev: 568659 (Maven 2.0.8)

> 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
>            Assignee: Brian Fox
>            Priority: Trivial
>             Fix For: 2.0.8
>
>
> 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

        

Reply via email to