OPENJPA-1712 more openjpa-maven-plugin tweaks

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2010-08-17 15:25:27 +00:00
parent 934143df65
commit f51ead3fb5
3 changed files with 3 additions and 14 deletions

View File

@ -155,9 +155,10 @@
</execution>
</executions>
<dependencies>
<!-- use o-p-j instead of openjpa to avoid cyclical dependency in maven graph -->
<dependency>
<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa</artifactId>
<artifactId>openjpa-persistence-jdbc</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

View File

@ -103,9 +103,9 @@
</execution>
</executions>
<dependencies>
<!-- use o-p-j instead of openjpa to avoid cyclical dependency in maven graph -->
<dependency>
<groupId>org.apache.openjpa</groupId>
<!-- use o-p-j instead of openjpa to avoid cyclical dependency in maven graph -->
<artifactId>openjpa-persistence-jdbc</artifactId>
<version>${project.version}</version>
</dependency>

12
pom.xml
View File

@ -576,18 +576,6 @@
<artifactId>jmock-junit3</artifactId>
<version>2.5.1</version>
</dependency>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>openjpa-maven-plugin</artifactId>
<version>1.1</version>
<exclusions>
<!-- remove cyclical dependency -->
<exclusion>
<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>