[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]