Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-871

NPE when building core module due to gmaven-plugin.

    XMLWordPrintableJSON

Details

    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.
      

      Attachments

        1. HAMA-871.patch
          0.7 kB
          Martin Illecker

        Activity

          People

            Unassigned Unassigned
            chl501 Chia-Hung Lin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: