Permalink
Browse files

Spit out profile properties during build.

  • Loading branch information...
1 parent 62d39d6 commit 7f4eb65e1c7d46856b2ebf47fe8aae7464f61f09 @sj26 committed May 16, 2011
Showing with 21 additions and 1 deletion.
  1. +21 −1 pom.xml
View
22 pom.xml
@@ -598,7 +598,27 @@
<update>true</update>
</configuration>
</plugin>
-
+
+ <!-- Write profile properties -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>properties-maven-plugin</artifactId>
+ <version>1.0-alpha-2</version>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>write-project-properties</goal>
+ </goals>
+ <configuration>
+ <outputFile>
+ ${project.build.outputDirectory}/profile.properties
+ </outputFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<!--Hibernate This plugin is used to generate the schema creation SQLfile-->
<plugin>
<groupId>org.codehaus.mojo</groupId>

0 comments on commit 7f4eb65

Please sign in to comment.