The master builds fine with the classical: mvn -DskipTests clean install Probably the documentation is outdated, or wrong.
Many thanks. -- Javi Roman Twitter: @javiromanrh GitHub: github.com/javiroman Linkedin: es.linkedin.com/in/javiroman Big Data Blog: dataintensive.info On Tue, Apr 12, 2022 at 11:04 AM Javi Roman <jroman.espi...@gmail.com> wrote: > Hi, I am taking my first steps with Apache Ranger. I am trying to build > the project and I always get an error in the last step: > > [INFO] Elasticsearch Security Plugin Shim ................. SUCCESS [ > 4.311 s] > [INFO] Elasticsearch Security Plugin ...................... SUCCESS [ > 5.630 s] > [INFO] Apache Ranger Distribution ......................... FAILURE [01:26 > min] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 10:01 min > [INFO] Finished at: 2022-04-12T10:57:20+02:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-assembly-plugin:2.6:single (default) on > project ranger-distro: Failed to create assembly: Error creating assembly > archive schema-registry-plugin: Problem creating jar: > jar:file:/home/javiroman/HACK/working/ranger/distro/target/ranger-distro-3.0.0-SNAPSHOT.jar!/META-INF/maven/org.apache.ranger/ranger-distro/pom.xml: > JAR entry META-INF/maven/org.apache.ranger/ranger-distro/pom.xml not found > in > /home/javiroman/HACK/working/ranger/distro/target/ranger-distro-3.0.0-SNAPSHOT.jar > -> [Help 1] > > The tooling I'm using is: > > $ java -version > openjdk version "1.8.0_302" > OpenJDK Runtime Environment (build 1.8.0_302-b08) > OpenJDK 64-Bit Server VM (build 25.302-b08, mixed mode) > > $ mvn -version > Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: /home/javiroman/.sdkman/candidates/maven/3.6.3 > Java version: 1.8.0_302, vendor: Oracle Corporation, runtime: > /home/javiroman/.sdkman/candidates/java/8.0.302-open/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.16.18-200.fc35.x86_64", arch: "amd64", > family: "unix" > > $ cat /etc/fedora-release > Fedora release 35 (Thirty Five) > > Apparently the target/*.tar.gz are created without problems. > > Any ideas? Many thanks! > > -- > Javi Roman > > Twitter: @javiromanrh > GitHub: github.com/javiroman > Linkedin: es.linkedin.com/in/javiroman > Big Data Blog: dataintensive.info >