${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.
88 lines
2.8 KiB
XML
88 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.integration.samples</groupId>
|
|
<artifactId>spring-integration-samples</artifactId>
|
|
<version>2.0.0.BUILD-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>cafe</artifactId>
|
|
<name>Spring Integration Cafe Sample</name>
|
|
<dependencies>
|
|
<dependency>
|
|
<!-- available only within EBR. see <repositories> section below -->
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
<artifactId>org.eclipse.osgi</artifactId>
|
|
<version>3.4.2.R34x_v20080826-1230</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-stream</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.2</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
</resource>
|
|
<resource>
|
|
<filtering>false</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<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>
|
|
<repository>
|
|
<id>repository.springframework.maven.release</id>
|
|
<name>Spring Framework Maven Release Repository</name>
|
|
<url>http://maven.springframework.org/release</url>
|
|
</repository>
|
|
<repository>
|
|
<id>repository.springframework.maven.milestone</id>
|
|
<name>Spring Framework Maven Milestone Repository</name>
|
|
<url>http://maven.springframework.org/milestone</url>
|
|
</repository>
|
|
<repository>
|
|
<id>repository.springframework.maven.snapshot</id>
|
|
<name>Spring Framework Maven Snapshot Repository</name>
|
|
<url>http://maven.springframework.org/snapshot</url>
|
|
</repository>
|
|
<repository>
|
|
<!-- necessary for org.osgi dependency -->
|
|
<id>repository.springsource.external</id>
|
|
<name>SpringSource EBR</name>
|
|
<url>http://repository.springsource.com/maven/bundles/external</url>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|