Author: amarkhel
Date: 2010-02-09 10:58:13 -0500 (Tue, 09 Feb 2010)
New Revision: 16433
Modified:
branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml
Log:
Revert changes RF-8331
Modified: branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml
===================================================================
--- branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml 2010-02-09 15:41:29
UTC (rev 16432)
+++ branches/community/3.3.X/examples/photoalbum/source/ejb/pom.xml 2010-02-09 15:58:13
UTC (rev 16433)
@@ -76,6 +76,7 @@
<profiles>
<profile>
<id>livedemo</id>
+
<properties>
<imageset>full</imageset>
</properties>
@@ -88,17 +89,37 @@
<resource>
<directory>src/main/resources</directory>
</resource>
-
<resource>
+ <directory>${project.build.directory}/resources-filtered</directory>
+ </resource>
+ <resource>
<directory>sql/${imageset}</directory>
</resource>
-
</resources>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
- <version>2.3</version>
+ <version>2.3</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <!-- here the phase you need -->
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/resources-filtered</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources-filtered</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
@@ -119,4 +140,4 @@
</plugin>
</plugins>
</build>
-</project>
+</project>
\ No newline at end of file
Show replies by date