Skip to content

Commit

Permalink
OPENJPA-2154 Fix path to load security policy file for test-dynamic-e…
Browse files Browse the repository at this point in the history
…nhancer profile.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1299561 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Albert Lee committed Mar 12, 2012
1 parent b68cf1d commit ca7918e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
9 changes: 9 additions & 0 deletions openjpa-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@
<module>openbooks</module>
</modules>

<profiles>
<profile>
<id>test-dynamic-enhancer</id>
<properties>
<policy.file>${basedir}/../../openjpa-persistence-jdbc/src/test/resources/j2.security.test.policy</policy.file>
</properties>
</profile>
</profiles>

<build>
<pluginManagement>
<plugins>
Expand Down
9 changes: 9 additions & 0 deletions openjpa-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@
<module>jmx</module>
</modules>

<profiles>
<profile>
<id>test-dynamic-enhancer</id>
<properties>
<policy.file>${basedir}/../../openjpa-persistence-jdbc/src/test/resources/j2.security.test.policy</policy.file>
</properties>
</profile>
</profiles>

<build>
<pluginManagement>
<plugins>
Expand Down
10 changes: 10 additions & 0 deletions openjpa-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,14 @@
<modules>
<module>openjpa-maven-plugin</module>
</modules>

<profiles>
<profile>
<id>test-dynamic-enhancer</id>
<properties>
<policy.file>${basedir}/../../openjpa-persistence-jdbc/src/test/resources/j2.security.test.policy</policy.file>
</properties>
</profile>
</profiles>

</project>

0 comments on commit ca7918e

Please sign in to comment.