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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user