[ https://issues.apache.org/jira/browse/ATLAS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Beerbower resolved ATLAS-120. --------------------------------- Resolution: Duplicate dup of ATLAS-117 > Top level build fails in clean environment > ------------------------------------------ > > Key: ATLAS-120 > URL: https://issues.apache.org/jira/browse/ATLAS-120 > Project: Atlas > Issue Type: Bug > Reporter: Tom Beerbower > Assignee: Tom Beerbower > > When building from the top level in a clean environment, it fails with the > following ... > {code} > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] apache-atlas ....................................... FAILURE [ 2.483 > 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: 3.355 s > [INFO] Finished at: 2015-08-21T16:00:23-04:00 > [INFO] Final Memory: 27M/439M > [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: > /Users/thomas/work/atlas_2/webapp/target/atlas-webapp-0.6-incubating-SNAPSHOT.war > isn't a file. -> [Help 1] > [ERROR] > {code} > The top level apache-atlas pom.xml includes maven-assembly-plugin with the > descriptor {{src/main/assemblies/standalone-package.xml}}. > The descriptor includes {code} > <files> > <file> > <source>webapp/target/atlas-webapp-${project.version}.war</source> > <outputDirectory>server/webapp</outputDirectory> > <destName>atlas.war</destName> > </file> > </files> > {code} > In a clean environment the war file does not yet exist, so the top level > package fails. > STR: > From the top level atlas directory ... > # mvn clean > # mvn package > To workaround, you can create a dummy war file. Something like ... > {code} > mkdir webapp/target/ > touch webapp/target/atlas-webapp-0.6-incubating-SNAPSHOT.war > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)