geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r498210 - /geronimo/server/trunk/modules/geronimo-openejb-builder/pom.xml
Date Sat, 20 Jan 2007 23:25:54 GMT
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>



Mime
View raw message