You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Corridor Software Developer (JIRA)" <ji...@codehaus.org> on 2005/09/29 06:11:10 UTC

[jira] Created: (MNG-1044) @requiresDependencyResolution compile doesn't set plugin artifact file.

@requiresDependencyResolution compile doesn't set plugin artifact file.
-----------------------------------------------------------------------

         Key: MNG-1044
         URL: http://jira.codehaus.org/browse/MNG-1044
     Project: Maven 2
        Type: Bug
  Components: maven-artifact  
    Versions: 2.0-beta-2    
 Environment: gentoo linux, jdk 1.4.2_06
 Reporter: Corridor Software Developer


setting @requiresDependencyResolution compile does not set the file for at least one of the artifacts returned from project.getPluginArtifacts().

To demonstrate, the maven-xmlbeans-plugin will soon have a test project called MOJO-54. Building the plugin and running the testcase causes the following warning to be displayed:

[WARNING] The xml bean plugin artifact file was null.
[WARNING] You must explicitly add the plugin dependencies to your project to successfully compile.

This occurs when the getFile() call returns null. If the problem is resolved the warning will go away. Grep the XmlBeansPlugin.java file for this ticket number to find getClasspath() and where this warning originates from.

Note: I'll add an additional comment when the test project and code fix for MOJO-54 are committed.


-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1044) @requiresDependencyResolution compile doesn't set plugin artifact file.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1044?page=all ]

Brett Porter updated MNG-1044:
------------------------------

    Remaining Estimate: 15 minutes
     Original Estimate: 900

> @requiresDependencyResolution compile doesn't set plugin artifact file.
> -----------------------------------------------------------------------
>
>          Key: MNG-1044
>          URL: http://jira.codehaus.org/browse/MNG-1044
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact
>     Versions: 2.0-beta-2
>  Environment: gentoo linux, jdk 1.4.2_06
>     Reporter: Corridor Software Developer
>     Assignee: Brett Porter
>      Fix For: 2.0-beta-3

>
> Original Estimate: 15 minutes
>         Remaining: 15 minutes
>
> setting @requiresDependencyResolution compile does not set the file for at least one of the artifacts returned from project.getPluginArtifacts().
> To demonstrate, the maven-xmlbeans-plugin will soon have a test project called MOJO-54. Building the plugin and running the testcase causes the following warning to be displayed:
> [WARNING] The xml bean plugin artifact file was null.
> [WARNING] You must explicitly add the plugin dependencies to your project to successfully compile.
> This occurs when the getFile() call returns null. If the problem is resolved the warning will go away. Grep the XmlBeansPlugin.java file for this ticket number to find getClasspath() and where this warning originates from.
> Note: I'll add an additional comment when the test project and code fix for MOJO-54 are committed.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1044) @requiresDependencyResolution compile doesn't set plugin artifact file.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1044?page=all ]
     
Brett Porter closed MNG-1044:
-----------------------------

     Resolution: Won't Fix
    Fix Version:     (was: 2.0-beta-3)

project.getPluginArtifacts() return the artifacts of the plugins. Need to use ${plugin.artifacts} instead.

> @requiresDependencyResolution compile doesn't set plugin artifact file.
> -----------------------------------------------------------------------
>
>          Key: MNG-1044
>          URL: http://jira.codehaus.org/browse/MNG-1044
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact
>     Versions: 2.0-beta-2
>  Environment: gentoo linux, jdk 1.4.2_06
>     Reporter: Corridor Software Developer
>     Assignee: Brett Porter

>
> Original Estimate: 15 minutes
>        Time Spent: 30 minutes
>         Remaining: 0 minutes
>
> setting @requiresDependencyResolution compile does not set the file for at least one of the artifacts returned from project.getPluginArtifacts().
> To demonstrate, the maven-xmlbeans-plugin will soon have a test project called MOJO-54. Building the plugin and running the testcase causes the following warning to be displayed:
> [WARNING] The xml bean plugin artifact file was null.
> [WARNING] You must explicitly add the plugin dependencies to your project to successfully compile.
> This occurs when the getFile() call returns null. If the problem is resolved the warning will go away. Grep the XmlBeansPlugin.java file for this ticket number to find getClasspath() and where this warning originates from.
> Note: I'll add an additional comment when the test project and code fix for MOJO-54 are committed.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1044) @requiresDependencyResolution compile doesn't set plugin artifact file.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1044?page=all ]

Brett Porter updated MNG-1044:
------------------------------

    Fix Version: 2.0-beta-3

> @requiresDependencyResolution compile doesn't set plugin artifact file.
> -----------------------------------------------------------------------
>
>          Key: MNG-1044
>          URL: http://jira.codehaus.org/browse/MNG-1044
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact
>     Versions: 2.0-beta-2
>  Environment: gentoo linux, jdk 1.4.2_06
>     Reporter: Corridor Software Developer
>      Fix For: 2.0-beta-3

>
>
> setting @requiresDependencyResolution compile does not set the file for at least one of the artifacts returned from project.getPluginArtifacts().
> To demonstrate, the maven-xmlbeans-plugin will soon have a test project called MOJO-54. Building the plugin and running the testcase causes the following warning to be displayed:
> [WARNING] The xml bean plugin artifact file was null.
> [WARNING] You must explicitly add the plugin dependencies to your project to successfully compile.
> This occurs when the getFile() call returns null. If the problem is resolved the warning will go away. Grep the XmlBeansPlugin.java file for this ticket number to find getClasspath() and where this warning originates from.
> Note: I'll add an additional comment when the test project and code fix for MOJO-54 are committed.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1044) @requiresDependencyResolution compile doesn't set plugin artifact file.

Posted by "Corridor Software Developer (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1044?page=comments#action_47431 ] 

Corridor Software Developer commented on MNG-1044:
--------------------------------------------------


Test project and code fix are in svn now. Running src/test/projects/mojo-54 ought to yield the warnings described now.



> @requiresDependencyResolution compile doesn't set plugin artifact file.
> -----------------------------------------------------------------------
>
>          Key: MNG-1044
>          URL: http://jira.codehaus.org/browse/MNG-1044
>      Project: Maven 2
>         Type: Bug
>   Components: maven-artifact
>     Versions: 2.0-beta-2
>  Environment: gentoo linux, jdk 1.4.2_06
>     Reporter: Corridor Software Developer
>      Fix For: 2.0-beta-3

>
>
> setting @requiresDependencyResolution compile does not set the file for at least one of the artifacts returned from project.getPluginArtifacts().
> To demonstrate, the maven-xmlbeans-plugin will soon have a test project called MOJO-54. Building the plugin and running the testcase causes the following warning to be displayed:
> [WARNING] The xml bean plugin artifact file was null.
> [WARNING] You must explicitly add the plugin dependencies to your project to successfully compile.
> This occurs when the getFile() call returns null. If the problem is resolved the warning will go away. Grep the XmlBeansPlugin.java file for this ticket number to find getClasspath() and where this warning originates from.
> Note: I'll add an additional comment when the test project and code fix for MOJO-54 are committed.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org