[jboss-cvs] JBossAS SVN: r98988 - in projects/snowdrop/examples/trunk/sportsclub: jbossconf and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 4 10:39:09 EST 2010


Author: lvlcek at redhat.com
Date: 2010-01-04 10:39:09 -0500 (Mon, 04 Jan 2010)
New Revision: 98988

Added:
   projects/snowdrop/examples/trunk/sportsclub/jbossconf/
   projects/snowdrop/examples/trunk/sportsclub/jbossconf/jbossas.properties
Modified:
   projects/snowdrop/examples/trunk/sportsclub/pom.xml
Log:
adding jboss-maven-plugin

Added: projects/snowdrop/examples/trunk/sportsclub/jbossconf/jbossas.properties
===================================================================
--- projects/snowdrop/examples/trunk/sportsclub/jbossconf/jbossas.properties	                        (rev 0)
+++ projects/snowdrop/examples/trunk/sportsclub/jbossconf/jbossas.properties	2010-01-04 15:39:09 UTC (rev 98988)
@@ -0,0 +1,5 @@
+# Custom JBoss AS configuration
+jboss.home=/home/lukas/applications/jboss-5.1.0.GA
+jboss.server.name=default
+jboss.timeout=200000
+jboss.port=8080

Modified: projects/snowdrop/examples/trunk/sportsclub/pom.xml
===================================================================
--- projects/snowdrop/examples/trunk/sportsclub/pom.xml	2010-01-04 15:34:02 UTC (rev 98987)
+++ projects/snowdrop/examples/trunk/sportsclub/pom.xml	2010-01-04 15:39:09 UTC (rev 98988)
@@ -174,6 +174,7 @@
 
     <build>
         <plugins>
+
             <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
@@ -181,6 +182,45 @@
                     <target>1.5</target>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>properties-maven-plugin</artifactId>
+                <version>1.0-alpha-2</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>setJBossProperties</id>
+                        <goals>
+                            <goal>read-project-properties</goal>
+                        </goals>
+                        <phase>initialize</phase>
+                        <configuration>
+                            <files>
+                                <file>${basedir}/jbossconf/jbossas.properties</file>
+                            </files>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>jboss-maven-plugin</artifactId>
+                <version>1.4</version>
+                <inherited>false</inherited>
+                <configuration>
+                    <jbossHome>${jboss.home}</jbossHome>
+                    <serverName>${jboss.server.name}</serverName>
+                    <timeout>${jboss.timeout}</timeout>
+                    <hostName>localhost</hostName>
+                    <port>${jboss.port}</port>
+                    <fileNames>
+                        <fileName>/sportsclub-ear-1.0-SNAPSHOT.war</fileName>
+                    </fileNames>
+                </configuration>
+            </plugin>
+
         </plugins>
     </build>
 




More information about the jboss-cvs-commits mailing list