You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jb...@apache.org on 2008/09/15 23:07:26 UTC
svn commit: r695627 -
/geronimo/samples/branches/2.1/samples/jsp-examples/jsp-examples-war/pom.xml
Author: jbohn
Date: Mon Sep 15 14:07:26 2008
New Revision: 695627
URL: http://svn.apache.org/viewvc?rev=695627&view=rev
Log:
remove generate html under the /src/ tree after the build has included it in the target war
Modified:
geronimo/samples/branches/2.1/samples/jsp-examples/jsp-examples-war/pom.xml
Modified: geronimo/samples/branches/2.1/samples/jsp-examples/jsp-examples-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.1/samples/jsp-examples/jsp-examples-war/pom.xml?rev=695627&r1=695626&r2=695627&view=diff
==============================================================================
--- geronimo/samples/branches/2.1/samples/jsp-examples/jsp-examples-war/pom.xml (original)
+++ geronimo/samples/branches/2.1/samples/jsp-examples/jsp-examples-war/pom.xml Mon Sep 15 14:07:26 2008
@@ -40,7 +40,7 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <id>test-resources</id>
+ <id>generate-source-html</id>
<phase>generate-test-resources</phase>
<goals>
<goal>run</goal>
@@ -130,6 +130,37 @@
</tasks>
</configuration>
</execution>
+ <execution>
+ <id>remove-source-html</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <!-- Remove sources for examples from /src - they have already been included in the war -->
+ <echo>Remove view source html files based on .java and .jsp files from src</echo>
+ <property name="plugin_classpath" refid="maven.plugin.classpath"/>
+ <echo message="plugin classpath: ${plugin_classpath}"/>
+ <delete>
+ <fileset dir="src/main/webapp/jsp2/simpletag"
+ includes="**/*.java.html"/>
+ <fileset dir="src/main/webapp/jsp2/jspattribute"
+ includes="**/*.java.html"/>
+ <fileset dir="src/main/webapp/cal"
+ includes="**/*.java.html"/>
+ <fileset dir="src/main/webapp/jsptoserv"
+ includes="**/*.java.html"/>
+ <fileset dir="src/main/webapp/jsp2/misc"
+ includes="**/*.java.html"/>
+ <fileset dir="src/main/webapp/jsp2/tagfiles"
+ includes="**/*.tag.html"/>
+ <fileset dir="src/main/webapp"
+ includes="**/*.jsp.html,**/*.jspx.html,**/*.jspf.html"/>
+ </delete>
+ </tasks>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>