openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r465740 - /incubator/openjpa/trunk/openjpa-lib/pom.xml
Date Thu, 19 Oct 2006 19:17:51 GMT
Author: mprudhom
Date: Thu Oct 19 12:17:49 2006
New Revision: 465740

URL: http://svn.apache.org/viewvc?view=rev&rev=465740
Log:
Delete the sun.misc.Perf class before it is packaged in the jar.

Modified:
    incubator/openjpa/trunk/openjpa-lib/pom.xml

Modified: incubator/openjpa/trunk/openjpa-lib/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-lib/pom.xml?view=diff&rev=465740&r1=465739&r2=465740
==============================================================================
--- incubator/openjpa/trunk/openjpa-lib/pom.xml (original)
+++ incubator/openjpa/trunk/openjpa-lib/pom.xml Thu Oct 19 12:17:49 2006
@@ -76,6 +76,23 @@
             <plugin>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>
+                    <!--
+                        delete the sun/misc/Perf.class file, which is 
+                        only there as a compilation stub
+                    -->
+                    <execution>
+                        <id>delete sun.misc.Perf</id>
+                        <phase>process-classes</phase>
+                        <configuration>
+                            <tasks>
+                                <delete failonerror="true"
+                                dir="${project.build.outputDirectory}/sun/"/>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
                     <execution>
                         <id>set subversion revision</id>
                         <phase>compile</phase>



Mime
View raw message