Skip to content

build failure: Error assembling WAR: webxml attribute is required #3

Open
@thesrinivas

Description

@thesrinivas

[root@openshift3mlbparks]# mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building mlbparks 1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mlbparks ---
[INFO] Deleting /root/openshift3mlbparks/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ mlbparks ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mlbparks ---
[INFO] Compiling 4 source files to /root/openshift3mlbparks/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ mlbparks ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/openshift3mlbparks/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ mlbparks ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ mlbparks ---
[INFO] No tests to run.
[INFO] Surefire report directory: /root/openshift3mlbparks/target/surefire-reports


T E S T S

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ mlbparks ---
[INFO] Packaging webapp
[INFO] Assembling webapp [mlbparks] in [/root/openshift3mlbparks/target/mlbparks-1.0]
[INFO] Processing war project
[INFO] Copying webapp resources [/root/openshift3mlbparks/src/main/webapp]
[INFO] Webapp assembled in [36 msecs]
[INFO] Building war: /root/openshift3mlbparks/target/mlbparks-1.0.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.503s
[INFO] Finished at: Sat Sep 12 12:35:13 PDT 2015
[INFO] Final Memory: 25M/390M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project mlbparks: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [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
[root@cent7-npm-perf-01 openshift3mlbparks]#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions