You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2010/03/22 05:33:22 UTC

[jira] Moved: (MNG-4603) mvn help:evaluate does not return an entry in a LinkedHashMap, even though the item is present

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

Brett Porter moved MPH-68 to MNG-4603:
--------------------------------------

           Complexity: Intermediate
    Affects Version/s:     (was: 2.1)
                       2.2.1
                  Key: MNG-4603  (was: MPH-68)
              Project: Maven 2 & 3  (was: Maven 2.x Help Plugin)

> mvn help:evaluate does not return an entry in a LinkedHashMap, even though the item is present
> ----------------------------------------------------------------------------------------------
>
>                 Key: MNG-4603
>                 URL: http://jira.codehaus.org/browse/MNG-4603
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Windows XP SP3, Maven 2.1.0, Java 1.5
>            Reporter: Costin Caraivan
>
> [INFO] Enter the Maven expression i.e. ${project.groupId} or 0 to exit?:
> ${project.build.pluginsAsMap}
> <linked-hash-map>
> [Content erased for brevity]
>   <entry>
>     <string>org.apache.maven.plugins:maven-help-plugin</string>
>     <plugin>
>       <inheritanceApplied>true</inheritanceApplied>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-help-plugin</artifactId>
>       <version>2.1</version>
>       <extensions>false</extensions>
>       <executions/>
>       <dependencies/>
>       <key>org.apache.maven.plugins:maven-help-plugin</key>
>     </plugin>
>   </entry>
> </linked-hash-map>
> But:
> [INFO] Enter the Maven expression i.e. ${project.groupId} or 0 to exit?:
> ${project.build.pluginsAsMap(org.apache.maven.plugins:maven-help-plugin)}
> [INFO]
> null object or invalid expression
> Am I doing something wrong? I'm using the key, as described here: http://jira.codehaus.org/browse/PLXUTILS-37

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