maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-4586) Plugin prefix can't be resolved from plugin management if management entry is missing plugin version
Date Fri, 12 Mar 2010 22:53:22 GMT

    [ http://jira.codehaus.org/browse/MNG-4586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213729#action_213729
] 

Paul Benedict commented on MNG-4586:
------------------------------------

Are the dashes really irrelevant for the command?

> Plugin prefix can't be resolved from plugin management if management entry is missing
plugin version
> ----------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4586
>                 URL: http://jira.codehaus.org/browse/MNG-4586
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 3.0-alpha-7
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>             Fix For: 3.0-alpha-8
>
>
> For a POM snippet like
> {code:xml}
> <build>
>   <pluginManagement>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.its.plugin</groupId>
>         <artifactId>maven-it-plugin-expression</artifactId>
>         <!-- version omitted -->
>       </plugin>
>     </plugins>
>   </pluginManagement>
> </build>
> {code}
> and the command "mvn itexpression:eval" we end up with
> {noformat}
> [WARNING] Failed to retrieve plugin descriptor for Plugin [org.apache.maven.its.plugin:maven-it-plugin-expression]:
null
> java.lang.NullPointerException
>         at org.apache.maven.plugin.DefaultPluginDescriptorCache$CacheKey.<init>(DefaultPluginDescriptorCache.java:148)
>         at org.apache.maven.plugin.DefaultPluginDescriptorCache.createKey(DefaultPluginDescriptorCache.java:61)
>         at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:121)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBuildPluginManager.java:61)
>         at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:127)
>         at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:114)
>         at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:74)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findPluginForPrefix(DefaultLifecycleExecutor.java:1798)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1536)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateTaskSegments(DefaultLifecycleExecutor.java:863)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateProjectBuilds(DefaultLifecycleExecutor.java:751)
> ...
> [ERROR] No plugin found for prefix 'itexpression' in the current project [...]
> {noformat}

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

        

Mime
View raw message