You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mp...@apache.org on 2006/10/19 21:17:51 UTC

svn commit: r465740 - /incubator/openjpa/trunk/openjpa-lib/pom.xml

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>