Parcourir la source

SEC-998: Bundlor enabled in web, ldap, config and core modules

Luke Taylor il y a 16 ans
Parent
commit
22e7142f45
10 fichiers modifiés avec 148 ajouts et 9 suppressions
  1. 9 0
      acl/pom.xml
  2. 21 0
      acl/template.mf
  3. 9 0
      config/pom.xml
  4. 23 0
      config/template.mf
  5. 8 9
      core/template.mf
  6. 9 0
      ldap/pom.xml
  7. 23 0
      ldap/template.mf
  8. 3 0
      pom.xml
  9. 9 0
      web/pom.xml
  10. 34 0
      web/template.mf

+ 9 - 0
acl/pom.xml

@@ -58,4 +58,13 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.springsource.bundlor</groupId>
+                <artifactId>com.springsource.bundlor.maven</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

+ 21 - 0
acl/template.mf

@@ -0,0 +1,21 @@
+Bundle-SymbolicName: org.springframework.security.acls
+Bundle-Name: Spring Security Acls
+Bundle-Vendor: SpringSource
+Bundle-Version: ${version}
+Bundle-ManifestVersion: 2
+Ignored-Existing-Headers: 
+ Import-Package,
+ Export-Package
+Import-Template: 
+ org.apache.commons.logging.*;version="[1.0.4, 2.0.0)",
+ org.springframework.security.core.*;version="[${version}, 3.1.0)",
+ org.springframework.security.access.*;version="[${version}, 3.1.0)",
+ org.springframework.security.util.*;version="[${version}, 3.1.0)",
+ org.springframework.context.*;version="[3.0.0, 3.1.0)";resolution:=optional, 
+ org.springframework.dao.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.jdbc.core.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.transaction.support.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.util.*;version="[3.0.0, 3.1.0)";resolution:=optional, 
+ net.sf.ehcache.*;version="[1.4.1, 2.0.0)";resolution:=optional,
+ javax.sql.*;version="0";resolution:=optional 
+ 

+ 9 - 0
config/pom.xml

@@ -107,4 +107,13 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.springsource.bundlor</groupId>
+                <artifactId>com.springsource.bundlor.maven</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

+ 23 - 0
config/template.mf

@@ -0,0 +1,23 @@
+Bundle-SymbolicName: org.springframework.security.config
+Bundle-Name: Spring Security Namespace Configuration
+Bundle-Vendor: SpringSource
+Bundle-Version: ${version}
+Bundle-ManifestVersion: 2
+Ignored-Existing-Headers: 
+ Import-Package,
+ Export-Package
+Import-Template: 
+ org.apache.commons.logging.*;version="[1.0.4, 2.0.0)", 
+ org.springframework.security.access.*;version="[${version}, 3.1.0)",
+ org.springframework.security.authentication.*;version="[${version}, 3.1.0)",
+ org.springframework.security.core.*;version="[${version}, 3.1.0)", 
+ org.springframework.security.util;version="[${version}, 3.1.0)",
+ org.springframework.security.web.*;version="[${version}, 3.1.0)";resolution:=optional,
+ org.springframework.aop.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.beans.*;version="[3.0.0, 3.1.0)",
+ org.springframework.context.*;version="[3.0.0, 3.1.0)",
+ org.springframework.core.*;version="[3.0.0, 3.1.0)",
+ org.springframework.util.*;version="[3.0.0, 3.1.0)",
+ javax.servlet;version="0";resolution:=optional,
+ javax.naming.directory;version="0";resolution:=optional,
+ org.w3c.dom;version="0";resolution:=optional

+ 8 - 9
core/template.mf

@@ -8,24 +8,23 @@ Ignored-Existing-Headers:
  Export-Package
 Import-Template: 
  org.aopalliance.*;version="[1.0.0, 2.0.0)",
- org.aspectj.*;version="[1.5.2,1.7.0)";resolution:=optional,
+ org.aspectj.*;version="[1.5.2, 1.7.0)";resolution:=optional,
+ org.apache.commons.codec.*;version="[1.3, 2.0)";resolution:=optional,
  org.apache.commons.logging.*;version="[1.0.4, 2.0.0)",
  org.jaxen.*;version="[1.1.1, 1.2.0)";resolution:=optional,
- org.springframework.aop.*;version="[3.0.0, 3.1.0)",
+ org.springframework.aop.*;version="[3.0.0, 3.1.0)";resolution:=optional,
  org.springframework.beans.*;version="[3.0.0, 3.1.0)",
  org.springframework.context.*;version="[3.0.0, 3.1.0)",
  org.springframework.core.*;version="[3.0.0, 3.1.0)",
- org.springframework.expression.*;version="[3.0.0, 3.1.0)",
- org.springframework.remoting.*;version="[3.0.0, 3.1.0)",
- org.apache.commons.codec.*;version="[1.3, 2.0)";resolution:=optional,
- org.apache.commons.lang.*;version="[2.1, 3.0)";resolution:=optional,
+ org.springframework.expression.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.remoting.*;version="[3.0.0, 3.1.0)";resolution:=optional,
  org.springframework.dao.*;version="[3.0.0, 3.1.0)";resolution:=optional,
  org.springframework.jdbc.*;version="[3.0.0, 3.1.0)";resolution:=optional,
  org.springframework.transaction.*;version="[3.0.0, 3.1.0)";resolution:=optional,
- org.springframework.util.*;version="[3.0.0, 3.1.0)";resolution:=optional,
- net.sf.ehcache.*;version="[1.4.1, 2.0.0)";resolution:=optional,
+ org.springframework.util;version="[3.0.0, 3.1.0)",
+ net.sf.ehcache.*;version="[1.4.1, 2.0.0)";resolution:=optional, 
  org.w3c.dom;version="0";resolution:=optional,
- org.xml.sax;version="0";resolution:=optional,
+ org.xml.sax;version="0";resolution:=optional, 
  javax.annotation.security.*;version="0";resolution:=optional,
  javax.crypto.*;version="0";resolution:=optional,
  javax.xml.*;version="0";resolution:=optional,

+ 9 - 0
ldap/pom.xml

@@ -58,4 +58,13 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.springsource.bundlor</groupId>
+                <artifactId>com.springsource.bundlor.maven</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

+ 23 - 0
ldap/template.mf

@@ -0,0 +1,23 @@
+Bundle-SymbolicName: org.springframework.security.ldap
+Bundle-Name: Spring Security LDAP
+Bundle-Vendor: SpringSource
+Bundle-Version: ${version}
+Bundle-ManifestVersion: 2
+Ignored-Existing-Headers: 
+ Import-Package,
+ Export-Package
+Import-Template: 
+ org.apache.commons.logging.*;version="[1.0.4, 2.0.0)",
+ org.apache.directory.server.*;version="[1.0.2, 1.5)";resolution:=optional,
+ org.springframework.ldap.*;version="[1.3.0,1.4.0)",
+ org.springframework.security.core.*;version="[${version}, 3.1.0)",
+ org.springframework.security.authentication.*;version="[${version}, 3.1.0)",
+ org.springframework.security.provisioning.*;version="[${version}, 3.1.0)",
+ org.springframework.security.util;version="[${version}, 3.1.0)", 
+ org.springframework.beans.*;version="[3.0.0, 3.1.0)",
+ org.springframework.context.*;version="[3.0.0, 3.1.0)", 
+ org.springframework.core.io.*;version="[3.0.0, 3.1.0)",
+ org.springframework.dao.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.util.*;version="[3.0.0, 3.1.0)",
+ javax.naming.*;version="0";resolution:=optional
+ 

+ 3 - 0
pom.xml

@@ -334,6 +334,9 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-resources-plugin</artifactId>
                 <version>2.3</version>
+                <configuration>
+                    <encoding>UTF-8</encoding>
+                </configuration>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>

+ 9 - 0
web/pom.xml

@@ -54,4 +54,13 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.springsource.bundlor</groupId>
+                <artifactId>com.springsource.bundlor.maven</artifactId>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

+ 34 - 0
web/template.mf

@@ -0,0 +1,34 @@
+Bundle-SymbolicName: org.springframework.security.web
+Bundle-Name: Spring Security Web
+Bundle-Vendor: SpringSource
+Bundle-Version: ${version}
+Bundle-ManifestVersion: 2
+Excluded-Exports: 
+ org.springframework.security.web.authentication.preauth.websphere
+Excluded-Imports: 
+ javax.naming.*,
+ javax.rmi.*,
+ javax.sql.*,
+ javax.security.auth.*,
+ org.aopalliance.*
+Ignored-Existing-Headers: 
+ Import-Package,
+ Export-Package
+Import-Template: 
+ org.apache.commons.logging.*;version="[1.0.4, 2.0.0)",
+ org.apache.commons.codec.*;version="[1.3, 2.0)";resolution:=optional,
+ org.springframework.security.core.*;version="[${version}, 3.1.0)",
+ org.springframework.security.authentication.*;version="[${version}, 3.1.0)",
+ org.springframework.security.access.*;version="[${version}, 3.1.0)",
+ org.springframework.security.util;version="[${version}, 3.1.0)",
+ org.springframework.beans.*;version="[3.0.0, 3.1.0)",
+ org.springframework.context.*;version="[3.0.0, 3.1.0)",
+ org.springframework.core;version="[3.0.0, 3.1.0)",
+ org.springframework.dao;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.expression;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.expression.spel.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.jdbc.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.mock.web;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.web.context.*;version="[3.0.0, 3.1.0)";resolution:=optional,
+ org.springframework.util;version="[3.0.0, 3.1.0)";resolution:=optional,
+ javax.servlet.*;version="0"