Author: dan.j.allen
Date: 2009-05-05 22:49:31 -0400 (Tue, 05 May 2009)
New Revision: 10808
Modified:
examples/trunk/servlet-permalink/pom.xml
Log:
reorder elements
Modified: examples/trunk/servlet-permalink/pom.xml
===================================================================
--- examples/trunk/servlet-permalink/pom.xml 2009-05-06 02:32:09 UTC (rev 10807)
+++ examples/trunk/servlet-permalink/pom.xml 2009-05-06 02:49:31 UTC (rev 10808)
@@ -15,96 +15,6 @@
<name>Seam Permalink Example (Servlet)</name>
<description>The Seam permalink example for deployment to a servlet
container</description>
- <build>
- <defaultGoal>package</defaultGoal>
- <finalName>${project.artifactId}</finalName>
- <plugins>
-
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <failOnError>false</failOnError>
- <filesets>
- <fileset>
- <!-- clean up files from war:inplace -->
- <directory>${webapp.directory}</directory>
- <includes>
- <include>WEB-INF/classes/**</include>
- <include>WEB-INF/lib/**</include>
- </includes>
- <followSymlinks>false</followSymlinks>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
-
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- <!-- don't stage or package files added to src/main/webapp by
war:inplace -->
-
<warSourceExcludes>WEB-INF/classes/**,WEB-INF/lib/**</warSourceExcludes>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>tomcat-maven-plugin</artifactId>
- <configuration>
- <path>/${project.build.finalName}</path>
- <!-- uncomment to use server configuration override; see readme.txt for
details -->
- <!--<server>tomcatserver</server>-->
- <url>http://localhost:${tomcat.http.port}/manager</url>
- <port>${embedded-tomcat.http.port}</port> <!-- port for
embedded Tomcat only (putting this configuration in the execution for the run goal
doesn't work) -->
- <!-- if you don't want to use war:inplace, uncomment this setting
-->
- <!--
-
<warSourceDirectory>${project.build.directory}/${project.build.finalName}</warSourceDirectory>
- -->
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <configuration>
- <connectors>
- <connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
- <port>${jetty.http.port}</port>
- <maxIdleTime>3600000</maxIdleTime>
- </connector>
- </connectors>
- <scanIntervalSeconds>10</scanIntervalSeconds>
- <webAppConfig>
- <contextPath>/${project.build.finalName}</contextPath>
- </webAppConfig>
- <!-- if you don't want to use war:inplace, uncomment this setting
-->
- <!--
-
<webAppSourceDirectory>${project.build.directory}/${project.build.finalName}</webAppSourceDirectory>
- -->
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.twdata.maven</groupId>
- <artifactId>maven-cli-plugin</artifactId>
- <configuration>
- <!-- userAliases are for cli:execute-phase -->
- <userAliases>
- <runjetty>compile
org.apache.maven.plugins:maven-war-plugin:inplace org.mortbay.jetty:maven-jetty-plugin:run
-o</runjetty>
- <runtomcat>compile
org.apache.maven.plugins:maven-war-plugin:inplace
org.codehaus.mojo:tomcat-maven-plugin:run -o</runtomcat>
- <refresh-all>compile
org.apache.maven.plugins:maven-war-plugin:inplace -o</refresh-all>
- <refresh-web>org.apache.maven.plugins:maven-war-plugin:inplace
-o</refresh-web>
-
<profiles>org.apache.maven.plugins:maven-help-plugin:active-profiles
-o</profiles>
- <pom>org.apache.maven.plugins:maven-help-plugin:effective-pom
-o</pom>
- </userAliases>
- <!-- commands are for cli:execute -->
- <commands>
- </commands>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-
<properties>
<jetty.http.port>9090</jetty.http.port>
<jetty.debug.port>9190</jetty.debug.port>
@@ -204,4 +114,94 @@
</dependencies>
+ <build>
+ <defaultGoal>package</defaultGoal>
+ <finalName>${project.artifactId}</finalName>
+ <plugins>
+
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <failOnError>false</failOnError>
+ <filesets>
+ <fileset>
+ <!-- clean up files from war:inplace -->
+ <directory>${webapp.directory}</directory>
+ <includes>
+ <include>WEB-INF/classes/**</include>
+ <include>WEB-INF/lib/**</include>
+ </includes>
+ <followSymlinks>false</followSymlinks>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <!-- don't stage or package files added to src/main/webapp by
war:inplace -->
+
<warSourceExcludes>WEB-INF/classes/**,WEB-INF/lib/**</warSourceExcludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <configuration>
+ <path>/${project.build.finalName}</path>
+ <!-- uncomment to use server configuration override; see readme.txt for
details -->
+ <!--<server>tomcatserver</server>-->
+ <url>http://localhost:${tomcat.http.port}/manager</url>
+ <port>${embedded-tomcat.http.port}</port> <!-- port for
embedded Tomcat only (putting this configuration in the execution for the run goal
doesn't work) -->
+ <!-- if you don't want to use war:inplace, uncomment this setting
-->
+ <!--
+
<warSourceDirectory>${project.build.directory}/${project.build.finalName}</warSourceDirectory>
+ -->
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <configuration>
+ <connectors>
+ <connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+ <port>${jetty.http.port}</port>
+ <maxIdleTime>3600000</maxIdleTime>
+ </connector>
+ </connectors>
+ <scanIntervalSeconds>10</scanIntervalSeconds>
+ <webAppConfig>
+ <contextPath>/${project.build.finalName}</contextPath>
+ </webAppConfig>
+ <!-- if you don't want to use war:inplace, uncomment this setting
-->
+ <!--
+
<webAppSourceDirectory>${project.build.directory}/${project.build.finalName}</webAppSourceDirectory>
+ -->
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.twdata.maven</groupId>
+ <artifactId>maven-cli-plugin</artifactId>
+ <configuration>
+ <!-- userAliases are for cli:execute-phase -->
+ <userAliases>
+ <runjetty>compile
org.apache.maven.plugins:maven-war-plugin:inplace org.mortbay.jetty:maven-jetty-plugin:run
-o</runjetty>
+ <runtomcat>compile
org.apache.maven.plugins:maven-war-plugin:inplace
org.codehaus.mojo:tomcat-maven-plugin:run -o</runtomcat>
+ <refresh-all>compile
org.apache.maven.plugins:maven-war-plugin:inplace -o</refresh-all>
+ <refresh-web>org.apache.maven.plugins:maven-war-plugin:inplace
-o</refresh-web>
+
<profiles>org.apache.maven.plugins:maven-help-plugin:active-profiles
-o</profiles>
+ <pom>org.apache.maven.plugins:maven-help-plugin:effective-pom
-o</pom>
+ </userAliases>
+ <!-- commands are for cli:execute -->
+ <commands>
+ </commands>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
</project>
Show replies by date