mvn help:evaluate does not return an entry in a LinkedHashMap, even though the
item is present
----------------------------------------------------------------------------------------------
Key: MPH-68
URL: http://jira.codehaus.org/browse/MPH-68
Project: Maven 2.x Help Plugin
Issue Type: Bug
Affects Versions: 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