+ update jar plugin to fix ignored manifest on latest Maven installs

This commit is contained in:
Costin Leau
2010-12-02 14:05:11 +02:00
parent 9b0067ce72
commit 55600f1702
2 changed files with 20 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-keyvalue-dist</artifactId>
<name>Spring Datastore Key-Value Distribution</name>
<name>Spring Data Key-Value Distribution</name>
<version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>pom</packaging>

View File

@@ -382,6 +382,19 @@
<junitArtifactName>junit:junit</junitArtifactName>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<!--
<useDefaultManifestFile>true</useDefaultManifestFile>
-->
</archive>
</configuration>
</plugin>
<!--
<plugin>
<artifactId>maven-source-plugin</artifactId>
@@ -449,12 +462,18 @@
<executions>
<execution>
<id>bundlor</id>
<phase>compile</phase>
<goals>
<goal>bundlor</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
</plugin>
<plugin>
<groupId>org.spockframework</groupId>
<artifactId>spock-maven</artifactId>