Author: pete.muir(a)jboss.org
Date: 2010-06-14 11:32:48 -0400 (Mon, 14 Jun 2010)
New Revision: 13139
Modified:
examples/trunk/booking-simplified/pom.xml
Log:
split out glassfish/jboss profiles
Modified: examples/trunk/booking-simplified/pom.xml
===================================================================
--- examples/trunk/booking-simplified/pom.xml 2010-06-14 14:19:21 UTC (rev 13138)
+++ examples/trunk/booking-simplified/pom.xml 2010-06-14 15:32:48 UTC (rev 13139)
@@ -48,7 +48,7 @@
<artifactId>seam-faces</artifactId>
<version>${seam.faces.version}</version>
</dependency>
-
+
<dependency>
<groupId>org.jboss.seam.faces</groupId>
<artifactId>seam-faces-api</artifactId>
@@ -73,18 +73,6 @@
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <scope>provided</scope>
- </dependency>
-
- <!--
- <dependency> <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
<version>1.5.10</version>
- </dependency>
- -->
-
- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
@@ -163,44 +151,72 @@
</configuration>
</plugin>
- <!-- Configure the JBoss AS Maven deploy plugin -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jboss-maven-plugin</artifactId>
- <configuration>
- <jbossHome>${jboss.home}</jbossHome>
- <serverName>${jboss.domain}</serverName>
- <fileNames>
-
<fileName>${project.build.directory}/${project.build.finalName}.war</fileName>
- </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>${project.build.directory}/${project.build.finalName}.war</app>
- <port>7070</port>
- <containerType>web</containerType>
-
<instanceRoot>${project.build.directory}/gfembed${maven.build.timestamp}</instanceRoot>
- <autoDelete>true</autoDelete>
- </configuration>
- </plugin>
-
</plugins>
</build>
<profiles>
<profile>
- <id>default</id>
+ <id>glassfish</id>
+ <build>
+ <plugins>
+ <!-- Configure the Embedded GlassFish Maven plugin -->
+ <plugin>
+ <groupId>org.glassfish</groupId>
+ <artifactId>maven-embedded-glassfish-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+
<app>${project.build.directory}/${project.build.finalName}.war</app>
+ <port>7070</port>
+ <containerType>web</containerType>
+
<instanceRoot>${project.build.directory}/gfembed${maven.build.timestamp}</instanceRoot>
+ <autoDelete>true</autoDelete>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <version>1.0.0.Beta4</version>
+ <type>pom</type>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>jboss</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
+ <build>
+ <plugins>
+
+ <!-- Configure the JBoss AS Maven deploy plugin -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jboss-maven-plugin</artifactId>
+ <configuration>
+ <jbossHome>${jboss.home}</jbossHome>
+ <serverName>${jboss.domain}</serverName>
+ <fileNames>
+
<fileName>${project.build.directory}/${project.build.finalName}.war</fileName>
+ </fileNames>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<dependencies>
<dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>1.0.0.Beta4</version>
Show replies by date