You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "ChiaHung Lin (JIRA)" <ji...@apache.org> on 2014/02/13 07:34:19 UTC

[jira] [Updated] (HAMA-871) NPE when building core module due to gmaven-plugin.

     [ https://issues.apache.org/jira/browse/HAMA-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ChiaHung Lin updated HAMA-871:
------------------------------

    Description: 
When testing with a command `mvn -f core/pom.xml clean install -Dtest=<TestCase>`, maven complains NPE as below
{code}
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)
{code}
It looks like groovy-plugin raise the issue. 
{code}
        <groupId>org.codehaus.groovy.maven</groupId>
        <artifactId>gmaven-plugin</artifactId>
        <version>1.0</version>
{code}
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.
{code}
Could not find artifact org.codehaus.groovy.maven:gmaven-plugin:pom:1.1 in central (http://repo.maven.apache.org/maven2)  
{code}

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. 
{code}
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.
{code}


  was:
When testing with a command `mvn -f core/pom.xml clean install -Dtest=<TestCase>`, maven complains NPE as below
{{code}}
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)
{{code}}
It looks like groovy-plugin raise the issue. 
{{code}}
        <groupId>org.codehaus.groovy.maven</groupId>
        <artifactId>gmaven-plugin</artifactId>
        <version>1.0</version>
{{code}}
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.
{{code}}
Could not find artifact org.codehaus.groovy.maven:gmaven-plugin:pom:1.1 in central (http://repo.maven.apache.org/maven2)  
{{code}}

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. 
{{code}}
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.
{{code}}



> NPE when building core module due to gmaven-plugin. 
> ----------------------------------------------------
>
>                 Key: HAMA-871
>                 URL: https://issues.apache.org/jira/browse/HAMA-871
>             Project: Hama
>          Issue Type: Bug
>          Components: bsp core
>    Affects Versions: 0.7.0
>         Environment: maven 3.0.5 (as described in https://wiki.apache.org/hama/GettingStarted)
> Java version: 1.6.0_25
>            Reporter: ChiaHung Lin
>            Priority: Minor
>
> When testing with a command `mvn -f core/pom.xml clean install -Dtest=<TestCase>`, maven complains NPE as below
> {code}
> 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)
> {code}
> It looks like groovy-plugin raise the issue. 
> {code}
>         <groupId>org.codehaus.groovy.maven</groupId>
>         <artifactId>gmaven-plugin</artifactId>
>         <version>1.0</version>
> {code}
> 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.
> {code}
> Could not find artifact org.codehaus.groovy.maven:gmaven-plugin:pom:1.1 in central (http://repo.maven.apache.org/maven2)  
> {code}
> 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. 
> {code}
> 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.
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)