You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/08/03 19:11:45 UTC
svn commit: r1369099 -
/maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
Author: olamy
Date: Fri Aug 3 17:11:45 2012
New Revision: 1369099
URL: http://svn.apache.org/viewvc?rev=1369099&view=rev
Log:
[SUREFIRE-896] surefire 2.12.1 doesn't work with maven 2.2.1.
Modified:
maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
Modified: maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java?rev=1369099&r1=1369098&r2=1369099&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java (original)
+++ maven/surefire/trunk/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java Fri Aug 3 17:11:45 2012
@@ -273,14 +273,17 @@ public abstract class AbstractSurefireMo
/**
* Map of plugin artifacts.
+ *
*/
- @Parameter( defaultValue = "${plugin.artifactMap}", required = true, readonly = true )
+ // olamy: would make more sense using defaultValue but doesn't work with maven 2.x
+ @Parameter( property = "plugin.artifactMap", required = true, readonly = true )
protected Map<String, Artifact> pluginArtifactMap;
/**
* Map of project artifacts.
*/
- @Parameter( defaultValue = "${project.artifactMap}", readonly = true, required = true )
+ // olamy: would make more sense using defaultValue but doesn't work with maven 2.x
+ @Parameter( property = "project.artifactMap", readonly = true, required = true )
protected Map<String, Artifact> projectArtifactMap;
/**