Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.7.0
-
None
-
None
-
maven 3.0.5 (as described in https://wiki.apache.org/hama/GettingStarted)
Java version: 1.6.0_25
Description
When testing with a command `mvn -f core/pom.xml clean install -Dtest=<TestCase>`, maven complains NPE as below
Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at org.codehaus.groovy.maven.plugin.execute.GroovyMavenProjectAdapter$EvaluatingProperties.put(GroovyMavenProjectAdapter.java:162) at java.util.Properties.setProperty(Properties.java:143)
It looks like groovy-plugin raise the issue.
<groupId>org.codehaus.groovy.maven</groupId> <artifactId>gmaven-plugin</artifactId> <version>1.0</version>
But changing to v1.4 or other version, found at http://docs.codehaus.org/display/GMAVEN/Home, shows that standard maven repository doesn't have those version.
Could not find artifact org.codehaus.groovy.maven:gmaven-plugin:pom:1.1 in central (http://repo.maven.apache.org/maven2)
This doesn't block the compilation actually, because compilation process can be done via `mvn clean install` without a problem.
BTW, it seems that gmaven is discontinued.
GMaven provides integration of Groovy into Maven. This project has been discontinued since the structure doesn't work well with how Groovy's invokedynamic releases.