Automatically update cafe sample Bundle-Version (INT-1388)

${project.version} has been introduced in the cafe sample's MANIFEST.MF
and the pom has been updated to ensure that the manifest is filtered by
maven.

This change removes need for manually updating the bundle version
during every release.
This commit is contained in:
Chris Beams
2010-09-02 15:57:56 +00:00
parent c358cedeeb
commit a6cf89fd7e
2 changed files with 9 additions and 2 deletions

View File

@@ -33,7 +33,7 @@
<version>2.2</version>
<configuration>
<archive>
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
<manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
@@ -52,6 +52,13 @@
<include>META-INF/spring/*.xml</include>
</includes>
</resource>
<resource>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>META-INF/MANIFEST.MF</include>
</includes>
</resource>
</resources>
</build>
<repositories>

View File

@@ -1,5 +1,5 @@
Manifest-Version: 1.0
Bundle-Version: 2.0.0.BUILD-SNAPSHOT
Bundle-Version: ${project.version}
Bundle-Name: org.springframework.integration.samples.cafe
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.springframework.integration.samples.cafe