David Kaspar created ATLAS-116:
----------------------------------

             Summary: Build fails when skipping Maven tests
                 Key: ATLAS-116
                 URL: https://issues.apache.org/jira/browse/ATLAS-116
             Project: Atlas
          Issue Type: Bug
            Reporter: David Kaspar
            Priority: Minor


Building the Atlas project using:
{code}
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" && mvn clean install 
-Dmaven.test.skip=true
{code}

fails with the following error message:
{code}
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
atlas-webapp ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ atlas-webapp ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-war-plugin:2.4:war (default-war) @ atlas-webapp ---
[INFO] Packaging webapp
[INFO] Assembling webapp [atlas-webapp] in 
[/Users/MYSELF/Projects/External/incubator-atlas/webapp/target/atlas-webapp-0.6-incubating-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp webResources 
[/Users/MYSELF/Projects/External/incubator-atlas/webapp/../dashboard/v2/dist] 
to 
[/Users/MYSELF/Projects/External/incubator-atlas/webapp/target/atlas-webapp-0.6-incubating-SNAPSHOT]
[INFO] Copying webapp webResources 
[/Users/MYSELF/Projects/External/incubator-atlas/webapp/src/main/webapp/WEB-INF]
 to 
[/Users/MYSELF/Projects/External/incubator-atlas/webapp/target/atlas-webapp-0.6-incubating-SNAPSHOT]
[INFO] Copying webapp webResources 
[/Users/MYSELF/Projects/External/incubator-atlas/webapp/target/test-classes] to 
[/Users/MYSELF/Projects/External/incubator-atlas/webapp/target/atlas-webapp-0.6-incubating-SNAPSHOT]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] apache-atlas ....................................... SUCCESS [ 46.311 s]
[INFO] Apache Atlas Typesystem ............................ SUCCESS [ 43.109 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 16.361 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 11.229 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [01:03 min]
[INFO] Apache Atlas Web Application ....................... FAILURE [ 24.910 s]
[INFO] Apache Atlas Documentation ......................... SKIPPED
[INFO] Apache Atlas Hive Bridge ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:26 min
[INFO] Finished at: 2015-08-20T10:01:33+02:00
[INFO] Final Memory: 133M/670M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project 
atlas-webapp: Execution default-war of goal 
org.apache.maven.plugins:maven-war-plugin:2.4:war failed: basedir 
/Users/MYSELF/Projects/External/incubator-atlas/webapp/target/test-classes does 
not exist -> [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/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :atlas-webapp
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to