You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mp...@apache.org on 2006/09/19 02:22:08 UTC
svn commit: r447655 - /incubator/openjpa/trunk/pom.xml
Author: mprudhom
Date: Mon Sep 18 17:22:07 2006
New Revision: 447655
URL: http://svn.apache.org/viewvc?view=rev&rev=447655
Log:
The recent upgrade of maven-jar-plugin to 2.1 caused the Implementation-Version tag to be excluded from the manifest, which we rely on to detect the current version. Added "addDefaultSpecificationEntries" and "addDefaultImplementationEntries" to pluginManagement to fix this.
Modified:
incubator/openjpa/trunk/pom.xml
Modified: incubator/openjpa/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/pom.xml?view=diff&rev=447655&r1=447654&r2=447655
==============================================================================
--- incubator/openjpa/trunk/pom.xml (original)
+++ incubator/openjpa/trunk/pom.xml Mon Sep 18 17:22:07 2006
@@ -185,16 +185,31 @@
</dependency>
</dependencies>
<build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
<reporting>
<plugins>