1 Reply Latest reply on Nov 14, 2014 6:54 PM by jamezp

    jboss-as maven plugin ... war default twice?

    eskuai

      Why maven-war-plugin is executed two times ??

       

      How to fix it to make deploy using the war from maven-war plugin?

       

      How can i avoid the install plugin to write war file ??

       

      Tx

       

      --- maven-surefire-plugin:2.13:test (default-test) @ reports ---

      [INFO] Tests are skipped.

      [INFO]

      [INFO] --- maven-war-plugin:2.2:war (default-war) @ reports ---

      [INFO] Packaging webapp

      [INFO] Assembling webapp [reports] in [C:\blablabla\target\reports]

      [INFO] Processing war project

      [INFO] Copying webapp resources [C:\blablabla\src\main\webapp]

      [INFO] Webapp assembled in [3752 msecs]

      [INFO] Building war: C:\blablabla\target\reports.war

      [INFO] WEB-INF\web.xml already added, skipping

      [INFO]

      INFO] --- maven-install-plugin:2.3.1:install (default-install) @ reports ---

      [INFO] Installing C:\blablabla\target\reports.war to c:\blablabla\1.0.0-SNAPSHOT\reports-1.0.0-SNAPSHOT.war

      [INFO] Installing C:\blablabla\pom.xml to c:\blablabla\1.0.0-SNAPSHOT\reports-1.0.0-SNAPSHOT.pom

      [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ reports ---

      [INFO] Installing C:\blablabla\target\reports.war to c:\blablabla\1.0.0-SNAPSHOT\reports-1.0.0-SNAPSHOT.war

      [INFO] Installing C:\blablabla\pom.xml to c:\blablabla\1.0.0-SNAPSHOT\reports-1.0.0-SNAPSHOT.pom

      [INFO]

      [INFO] >>> jboss-as-maven-plugin:7.6.Final:deploy (default) @ reports >>>

      [INFO]

      [INFO] --- xmlbeans-maven-plugin:2.3.0:xmlbeans (default) @ reports ---

      [INFO] All schema objects are up to date.

      [INFO]

      [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ reports ---

      [debug] execute contextualize

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 47 resources

      [INFO] Copying 2 resources

      [INFO]

      [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ reports ---

      [INFO] Nothing to compile - all classes are up to date

      [INFO]

      [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ reports ---

      [debug] execute contextualize

      [INFO] Using 'UTF-8' encoding to copy filtered resources.

      [INFO] Copying 43 resources

      [INFO]

      [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ reports ---

      [INFO] Nothing to compile - all classes are up to date

      [INFO]

      [INFO] --- maven-surefire-plugin:2.13:test (default-test) @ reports ---

      [INFO] Tests are skipped.

      [INFO]

      [INFO] --- maven-war-plugin:2.2:war (default-war) @ reports ---

      [INFO] Packaging webapp

      [INFO] Assembling webapp [reports] in [C:\blablabla\target\reports]

      [INFO] Processing war project

      [INFO] Copying webapp resources [C:\blablabla\src\main\webapp]

      [INFO] Webapp assembled in [4777 msecs]

      [INFO] Building war: C:\blablabla\target\reports.war

      [INFO] WEB-INF\web.xml already added, skipping

      [INFO]

      [INFO] <<< jboss-as-maven-plugin:7.6.Final:deploy (default) @ reports <<<