Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thesrinivas opened this issue Sep 12, 2015 · 0 comments
Open

Comments

@thesrinivas
Copy link

[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]#

cxu0421 pushed a commit to kworley-csgov/openshift3mlbparks that referenced this issue Jan 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant