SEC-672: Added maven bundle plugin to core-tiger module

This commit is contained in:
Luke Taylor 2008-03-06 11:43:32 +00:00
parent 424d291a8f
commit 89a9deeaf2
1 changed files with 85 additions and 67 deletions

View File

@ -1,67 +1,85 @@
<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"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent> <modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.security</groupId> <parent>
<artifactId>spring-security-parent</artifactId> <groupId>org.springframework.security</groupId>
<version>2.0-SNAPSHOT</version> <artifactId>spring-security-parent</artifactId>
</parent> <version>2.0-SNAPSHOT</version>
<artifactId>spring-security-core-tiger</artifactId> </parent>
<name>Spring Security - Java 5 (Tiger)</name> <artifactId>spring-security-core-tiger</artifactId>
<name>Spring Security - Java 5 (Tiger)</name>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.security</groupId> <groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId> <artifactId>spring-security-core</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId> <artifactId>spring-core</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId> <artifactId>spring-aop</artifactId>
<version>${spring.version}</version> <version>${spring.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-support</artifactId> <artifactId>spring-support</artifactId>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId> <artifactId>spring-jdbc</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.tomcat</groupId> <groupId>org.apache.tomcat</groupId>
<artifactId>annotations-api</artifactId> <artifactId>annotations-api</artifactId>
<version>6.0.14</version> <version>6.0.14</version>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<build> <plugins>
<plugins> <plugin>
<plugin> <groupId>org.apache.maven.plugins</groupId>
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>
<artifactId>maven-compiler-plugin</artifactId> <configuration>
<configuration> <source>1.5</source>
<source>1.5</source> <target>1.5</target>
<target>1.5</target> </configuration>
</configuration> </plugin>
</plugin> <plugin>
</plugins> <groupId>org.apache.felix</groupId>
</build> <artifactId>maven-bundle-plugin</artifactId>
<reporting> <version>${felix.version}</version>
<plugins> <extensions>true</extensions>
<plugin> <configuration>
<groupId>org.apache.maven.plugins</groupId> <instructions>
<artifactId>maven-pmd-plugin</artifactId> <Bundle-SymbolicName>org.springframework.security.core-tiger</Bundle-SymbolicName>
<configuration> <Export-Package>org.springframework.security.*;version=${pom.version}</Export-Package>
<targetJdk>1.5</targetJdk> <Private-Package>!org.springframework.security.*</Private-Package>
</configuration> <Implementation-Title>${pom.name}</Implementation-Title>
</plugin> <Implementation-Version>${pom.version}</Implementation-Version>
</plugins> <Import-Package>
</reporting> org.springframework*;resolution:=optional;version="[2.0,2.5]",
*;resolution:=optional
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetJdk>1.5</targetJdk>
</configuration>
</plugin>
</plugins>
</reporting>
</project> </project>