caijialiang created RANGER-4166:
-----------------------------------
Summary: ranger2.3 build failed
Key: RANGER-4166
URL: https://issues.apache.org/jira/browse/RANGER-4166
Project: Ranger
Issue Type: Bug
Components: Ranger
Affects Versions: 2.3.0
Reporter: caijialiang
{*}Environment{*}: bigtop/slaves:3.2.0-centos-7
The ranger compilation failed in the "do-component-build" because the
compilation command for ranger was incorrect. Removing "install" will result in
a successful compilation.
{code:java}
[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:/ws/build/ranger/rpm/BUILD/ranger-release-ranger-2.3.0/distro/target/ranger-distro-2.3.0.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
/ws/build/ranger/rpm/BUILD/ranger-release-ranger-2.3.0/distro/target/ranger-distro-2.3.0.jar
-> [Help 1]
[ERROR]
[ERROR] To see the full stack{code}
!image-2023-04-01-18-23-26-610.png!
Changing the compilation command from "mvn clean compile package install" to
"mvn clean compile package" resulted in successful compilation.
!image-2023-04-01-18-22-33-305.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)