You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ga...@apache.org on 2008/06/05 05:39:03 UTC
svn commit: r663439 - in /geronimo/server/branches/2.1/plugins/sharedlib:
pom.xml src/main/resources/ src/resources/
Author: gawor
Date: Wed Jun 4 20:39:03 2008
New Revision: 663439
URL: http://svn.apache.org/viewvc?rev=663439&view=rev
Log:
workaround to include empty directories in car file (GERONIMO-4086)
Added:
geronimo/server/branches/2.1/plugins/sharedlib/src/main/resources/
- copied from r663438, geronimo/server/branches/2.1/plugins/sharedlib/src/resources/
Removed:
geronimo/server/branches/2.1/plugins/sharedlib/src/resources/
Modified:
geronimo/server/branches/2.1/plugins/sharedlib/pom.xml
Modified: geronimo/server/branches/2.1/plugins/sharedlib/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/sharedlib/pom.xml?rev=663439&r1=663438&r2=663439&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/sharedlib/pom.xml (original)
+++ geronimo/server/branches/2.1/plugins/sharedlib/pom.xml Wed Jun 4 20:39:03 2008
@@ -54,6 +54,30 @@
<build>
<plugins>
+ <!-- workaround to get empty directories included in car file -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <mkdir dir="${project.build.outputDirectory}"/>
+ <copy todir="${project.build.outputDirectory}">
+ <fileset dir="src/main/resources">
+ <include name="**"/>
+ </fileset>
+ </copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<groupId>org.apache.geronimo.buildsupport</groupId>
<artifactId>car-maven-plugin</artifactId>