You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jl...@apache.org on 2007/01/21 00:25:54 UTC
svn commit: r498210 -
/geronimo/server/trunk/modules/geronimo-openejb-builder/pom.xml
Author: jlaskowski
Date: Sat Jan 20 15:25:50 2007
New Revision: 498210
URL: http://svn.apache.org/viewvc?view=rev&rev=498210
Log:
Copy XMLBeans classes so Eclipse's happy
Modified:
geronimo/server/trunk/modules/geronimo-openejb-builder/pom.xml
Modified: geronimo/server/trunk/modules/geronimo-openejb-builder/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-openejb-builder/pom.xml?view=diff&rev=498210&r1=498209&r2=498210
==============================================================================
--- geronimo/server/trunk/modules/geronimo-openejb-builder/pom.xml (original)
+++ geronimo/server/trunk/modules/geronimo-openejb-builder/pom.xml Sat Jan 20 15:25:50 2007
@@ -84,6 +84,31 @@
<sourceSchemas>geronimo-openejb-2.0.xsd</sourceSchemas>
</configuration>
</plugin>
+ <!--
+ HACK: Copy the generated XmlBeans bits for clover
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${pom.basedir}/target/clover/classes"/>
+ <copy todir="${pom.basedir}/target/clover/classes">
+ <fileset dir="${pom.basedir}/target/classes">
+ <include name="schemaorg_apache_xmlbeans/**"/>
+ </fileset>
+ </copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>