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

View File

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