Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.1
-
Fix Version/s: None
-
Labels:None
-
Environment:Windows XP SP3, Maven 2.1.0, Java 1.5
-
Number of attachments :
Description
[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?:
$
[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 is a bug in the implementation in
PLXUTILS-37- it doesn't support key's that contain '.' due to the way they are tokenized.At first I thought this was a problem with Maven using the less-featured plexus-interpolation version, but it seems to be correct as it will work with a plugin test:test-mojo.