[weld-commits] Weld SVN: r6478 - archetypes/branches/prototype.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Jun 17 08:53:24 EDT 2010


Author: sboscarine
Date: 2010-06-17 08:53:23 -0400 (Thu, 17 Jun 2010)
New Revision: 6478

Added:
   archetypes/branches/prototype/build.sh
Modified:
   archetypes/branches/prototype/pom.xml
Log:
minor updates


Added: archetypes/branches/prototype/build.sh
===================================================================
--- archetypes/branches/prototype/build.sh	                        (rev 0)
+++ archetypes/branches/prototype/build.sh	2010-06-17 12:53:23 UTC (rev 6478)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+mvn clean archetype:create-from-project
+mvn -f target/generated-sources/archetype/pom.xml install
+
+


Property changes on: archetypes/branches/prototype/build.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: archetypes/branches/prototype/pom.xml
===================================================================
--- archetypes/branches/prototype/pom.xml	2010-06-17 03:16:43 UTC (rev 6477)
+++ archetypes/branches/prototype/pom.xml	2010-06-17 12:53:23 UTC (rev 6478)
@@ -2,10 +2,10 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
-   <groupId>com.mycompany</groupId>
-   <artifactId>myproject</artifactId>
+   <groupId>org.jboss.weld.archetypes</groupId>
+   <artifactId>javaee6</artifactId>
    <packaging>war</packaging>
-   <name>myproject</name>
+   <name>Java EE 6.0 Archetype</name>
    <version>1.0.0-SNAPSHOT</version>
 
    <properties>
@@ -80,6 +80,7 @@
          <classifier>jdk15</classifier>
       </dependency>
    </dependencies>
+   <description>Java EE 6.0 Archetype</description>
    <build>
       <finalName>${artifactId}</finalName>
       <plugins>
@@ -115,6 +116,19 @@
                </fileNames>
             </configuration>
          </plugin>
+                  <!-- Configure the Embedded GlassFish Maven plugin -->
+         <plugin>
+            <groupId>org.glassfish</groupId>
+            <artifactId>maven-embedded-glassfish-plugin</artifactId>
+            <version>3.0</version>
+            <configuration>
+               <app>${expr_start}project.build.directory${expr_end}/${expr_start}build.finalName${expr_end}.war</app>
+               <port>7070</port>
+               <containerType>web</containerType>
+               <instanceRoot>${expr_start}project.build.directory${expr_end}/gfembed${expr_start}maven.build.timestamp${expr_end}</instanceRoot>
+               <autoDelete>true</autoDelete>
+            </configuration>
+         </plugin>
       </plugins>
    </build>
 </project>



More information about the weld-commits mailing list