[jbossws-commits] JBossWS SVN: r7329 - in stack/cxf/trunk/modules/management: src/main/webapp and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Wed Jun 4 06:23:05 EDT 2008


Author: richard.opalka at jboss.com
Date: 2008-06-04 06:23:04 -0400 (Wed, 04 Jun 2008)
New Revision: 7329

Modified:
   stack/cxf/trunk/modules/management/pom.xml
   stack/cxf/trunk/modules/management/src/main/webapp/index.html
Log:
replace tokens

Modified: stack/cxf/trunk/modules/management/pom.xml
===================================================================
--- stack/cxf/trunk/modules/management/pom.xml	2008-06-04 10:09:55 UTC (rev 7328)
+++ stack/cxf/trunk/modules/management/pom.xml	2008-06-04 10:23:04 UTC (rev 7329)
@@ -74,11 +74,41 @@
   <build>
     <plugins>
       <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>custom-build-id</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+                <tstamp>
+                  <format property="custom.build.id" pattern="yyyyMMddHHmm"/>
+                </tstamp>
+                <mkdir dir="${project.build.directory}"/>
+                <echo message="custom.build.id=${custom.build.id}" file="${project.build.directory}/substitution.properties"/>
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
          <artifactId>maven-war-plugin</artifactId>
          <configuration>
            <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
+           <filters>
+             <filter>${project.build.directory}/substitution.properties</filter>
+           </filters>
+           <webResources>
+             <resource>
+               <directory>src/main/webapp</directory>
+               <filtering>true</filtering>
+             </resource>
+           </webResources>
          </configuration>       
       </plugin>
-    </plugins>    
+    </plugins>
   </build>
 </project>

Modified: stack/cxf/trunk/modules/management/src/main/webapp/index.html
===================================================================
--- stack/cxf/trunk/modules/management/src/main/webapp/index.html	2008-06-04 10:09:55 UTC (rev 7328)
+++ stack/cxf/trunk/modules/management/src/main/webapp/index.html	2008-06-04 10:23:04 UTC (rev 7329)
@@ -18,8 +18,8 @@
 <fieldset>
     <legend><b>Runtime information</b></legend>
 <ul>
-   <li><b>Revision: @implementation.version@</b></li>
-   <li><b>Build: @build.id@</b></li>
+   <li><b>Revision: jbossws- at version@-cxf</b></li>
+   <li><b>Build: @custom.build.id@</b></li>
    <li><a href="services">View a list of deployed services</a></li>
 	<!--li><a href="depends">View installed dependencies</a></li-->
 	<li><a href="/jmx-console/">Access JMX console</a></li>




More information about the jbossws-commits mailing list