SEC-672: Added felix plugin to core build pom.xml

This commit is contained in:
Luke Taylor 2008-03-05 19:41:59 +00:00
parent 89415e3ee5
commit a7e4dc3636
2 changed files with 31 additions and 24 deletions

View File

@ -5,7 +5,7 @@
<artifactId>spring-security-parent</artifactId>
<version>2.0-SNAPSHOT</version>
</parent>
<packaging>jar</packaging>
<packaging>bundle</packaging>
<artifactId>spring-security-core</artifactId>
<name>Spring Security - Core</name>
@ -140,24 +140,31 @@
</dependencies>
<build>
<resources>
<resource>
<directory>${basedir}/../</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>notice.txt</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>${basedir}/src/main/resources</directory>
<targetPath>/</targetPath>
<includes>
<include>**/*</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${felix.version}</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>org.springframework.security.*;version=${pom.version}</Export-Package>
<Private-Package>!org.springframework.security.*</Private-Package>
<Implementation-Title>${pom.name}</Implementation-Title>
<Implementation-Version>${pom.version}</Implementation-Version>
<Import-Package>
org.springframework*;resolution:=optional;version="[2.0,2.5]",
*;resolution:=optional
</Import-Package>
<!--
<Embed-Dependency>
*;scope=compile|runtime;inline=true
</Embed-Dependency>
-->
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

10
pom.xml
View File

@ -23,7 +23,7 @@
<description>Spring Security</description>
<organization>
<name>Interface21, Inc</name>
<name>SpringSource, Inc</name>
<url>http://sourceforge.net/projects/acegisecurity</url>
<!--<logo>http://sourceforge.net/sflogo.php?group_id=104215&amp;type=5</logo>-->
</organization>
@ -244,7 +244,7 @@
<version>1.2.2</version>
</extension>
</extensions>
<plugins>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
@ -609,12 +609,12 @@
<scope>runtime</scope>
</dependency>
</dependencies>
</dependencyManagement>
<properties>
<properties>
<spring.version>2.0.6</spring.version>
<felix.version>1.4.0</felix.version>
<docbook.source>${basedir}/src/docbkx</docbook.source>
<docbook.target>${basedir}/target/site/guide</docbook.target>
<docbook.target>${basedir}/target/site/guide</docbook.target>
</properties>
</project>