Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
On fresh checkout or doing `mvn clean` before `mvn clean install` fails the build process with following error.
Its failing because assembly is looking for a file incubator-atlas/webapp/target/atlas-webapp-0.6-incubating-SNAPSHOT.war which does not exists first time or after mvn clean.
OK
[INFO]
[INFO] — maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ apache-atlas —
[INFO]
[INFO] — maven-assembly-plugin:2.2.1:single (default) @ apache-atlas —
[INFO] Reading assembly descriptor: src/main/assemblies/standalone-package.xml
[INFO] Reading assembly descriptor: src/main/assemblies/src-package.xml
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] apache-atlas ....................................... FAILURE [ 4.786 s]
[INFO] Apache Atlas Typesystem ............................ SKIPPED
[INFO] Apache Atlas Client ................................ SKIPPED
[INFO] Apache Atlas Notification .......................... SKIPPED
[INFO] Apache Atlas Repository ............................ SKIPPED
[INFO] Apache Atlas Web Application ....................... SKIPPED
[INFO] Apache Atlas Documentation ......................... SKIPPED
[INFO] Apache Atlas Hive Bridge ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.587 s
[INFO] Finished at: 2015-08-21T23:32:01-04:00
[INFO] Final Memory: 26M/981M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2.1:single (default) on project apache-atlas: Failed to create assembly: Error adding file to archive: /hortonworks/incubator-atlas/webapp/target/atlas-webapp-0.6-incubating-SNAPSHOT.war isn't a file. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Attachments
Issue Links
- duplicates
-
ATLAS-120 Top level build fails in clean environment
- Resolved