Author: vsiveton
Date: Sun Feb  1 18:29:29 2009
New Revision: 739807

URL: http://svn.apache.org/viewvc?rev=739807&view=rev
Log:
o added a profile to remove downloaded files from 
AbstactXmlParser.CachedFileEntityResolver

Modified:
    maven/doxia/doxia/trunk/pom.xml

Modified: maven/doxia/doxia/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/pom.xml?rev=739807&r1=739806&r2=739807&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/pom.xml (original)
+++ maven/doxia/doxia/trunk/pom.xml Sun Feb  1 18:29:29 2009
@@ -228,6 +228,34 @@
 
   <profiles>
     <profile>
+      <!-- AbstractXmlParser.CachedFileEntityResolver downloads DTD/XSD files 
in ${java.io.tmpdir} -->
+      <id>remove-temp</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>clean-download</id>
+                <phase>clean</phase>
+                <configuration>
+                  <tasks>
+                    <delete>
+                      <fileset dir="${java.io.tmpdir}" 
+                        includes="**/*.dtd, **/*.ent, **/*.xsd"/>
+                    </delete>
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
       <id>reporting</id>
       <reporting>
         <plugins>


Reply via email to