[weld-commits] Weld SVN: r5330 - in archetypes/trunk/jsf: jee-minimal/src/main/resources/archetype-resources and 1 other directory.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Dec 17 13:15:03 EST 2009


Author: dan.j.allen
Date: 2009-12-17 13:15:03 -0500 (Thu, 17 Dec 2009)
New Revision: 5330

Modified:
   archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
   archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
Log:
add file names to JBoss AS deploy plugin


Modified: archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml	2009-12-17 18:14:43 UTC (rev 5329)
+++ archetypes/trunk/jsf/jee/src/main/resources/archetype-resources/pom.xml	2009-12-17 18:15:03 UTC (rev 5330)
@@ -155,6 +155,9 @@
             <configuration>
                <jbossHome>${expr_start}jboss.home${expr_end}</jbossHome>
                <serverName>${expr_start}jboss.domain${expr_end}</serverName>
+               <fileNames>
+                  <fileName>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</fileName>
+               </fileNames> 
             </configuration>
          </plugin>
       </plugins>

Modified: archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml
===================================================================
--- archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml	2009-12-17 18:14:43 UTC (rev 5329)
+++ archetypes/trunk/jsf/jee-minimal/src/main/resources/archetype-resources/pom.xml	2009-12-17 18:15:03 UTC (rev 5330)
@@ -23,7 +23,6 @@
       <jboss.domain>default</jboss.domain>
       <!-- The version of Weld extensions in use -->
       <weld.extensions.version>1.0.0-CR2</weld.extensions.version>
-
    </properties>
 
    <repositories>
@@ -151,15 +150,18 @@
             <configuration>
                <jbossHome>${expr_start}jboss.home${expr_end}</jbossHome>
                <serverName>${expr_start}jboss.domain${expr_end}</serverName>
+               <fileNames>
+                  <fileName>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</fileName>
+               </fileNames> 
             </configuration>
          </plugin>
-         <!-- Configure the Embedded GlassFish Maven plugin (for using embedded-glassfish:run) -->
+         <!-- Configure the Embedded GlassFish Maven plugin -->
          <plugin>
             <groupId>org.glassfish</groupId>
             <artifactId>maven-embedded-glassfish-plugin</artifactId>
             <version>3.0</version>
             <configuration>
-               <app>target/${expr_start}build.finalName${expr_end}.war</app>
+               <app>${expr_start}project.buildDirectory${expr_end}/${expr_start}build.finalName${expr_end}.war</app>
                <port>7070</port>
                <containerType>web</containerType>
             </configuration>



More information about the weld-commits mailing list