Build failure - Apache Parquet-MR source (mvn install failure) Build failure - Apache Parquet-MR source (mvn install failure) apache apache

Build failure - Apache Parquet-MR source (mvn install failure)


This seems caused by a maven bug with Java 8:

[MSHARED-319] Filtering throws NPE when using JDK8

A workaround is using Java 7.


You need to use the latest maven-filtering plugin version. If the error is caused by a plugin who uses maven-filtering as implicit dependency you should declare its dependency(for example maven-remote-resources-plugin:

         <pluginManagement>         <plugins>         <plugin>            <groupId>org.apache.maven.plugins</groupId>            <artifactId>maven-remote-resources-plugin</artifactId>            <version>1.5</version>            <dependencies>              <dependency>                <groupId>org.apache.maven.shared</groupId>                <artifactId>maven-filtering</artifactId>                <version>1.2</version>              </dependency>            </dependencies>         </plugin>         </plugins>         </pluginManagement>

Source http://tomee-openejb.979440.n4.nabble.com/Java-8-and-possible-TomEE-1-7-0-td4668490i20.html