You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2013/05/19 03:04:15 UTC

svn commit: r1484203 - in /shiro/trunk: all/pom.xml config/core/pom.xml config/ogdl/pom.xml core/pom.xml crypto/cipher/pom.xml crypto/core/pom.xml lang/pom.xml support/faces/pom.xml support/quartz/pom.xml

Author: lhazlewood
Date: Sun May 19 01:04:14 2013
New Revision: 1484203

URL: http://svn.apache.org/r1484203
Log:
Removing OSGI bundle packaging type in some poms - they're causing classes from other modules to be included in the resulting .jar.  We need to better analyze how to support OSGi effectively and then update the poms accordingly.

Modified:
    shiro/trunk/all/pom.xml
    shiro/trunk/config/core/pom.xml
    shiro/trunk/config/ogdl/pom.xml
    shiro/trunk/core/pom.xml
    shiro/trunk/crypto/cipher/pom.xml
    shiro/trunk/crypto/core/pom.xml
    shiro/trunk/lang/pom.xml
    shiro/trunk/support/faces/pom.xml
    shiro/trunk/support/quartz/pom.xml

Modified: shiro/trunk/all/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/all/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/all/pom.xml (original)
+++ shiro/trunk/all/pom.xml Sun May 19 01:04:14 2013
@@ -107,7 +107,7 @@
         <plugins>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>2.4</version>
+                <!-- <version>2.4</version> -->
                 <configuration>
                     <descriptors>
                         <descriptor>src/main/assembly/assembly.xml</descriptor>

Modified: shiro/trunk/config/core/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/config/core/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/config/core/pom.xml (original)
+++ shiro/trunk/config/core/pom.xml Sun May 19 01:04:14 2013
@@ -29,27 +29,7 @@
     <modelVersion>4.0.0</modelVersion>
     <artifactId>shiro-config-core</artifactId>
     <name>Apache Shiro :: Configuration :: Core</name>
-    <packaging>bundle</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>org.apache.shiro.config.core</Bundle-SymbolicName>
-                        <Export-Package>org.apache.shiro.config*;version=${project.version}</Export-Package>
-                        <Import-Package>
-                            org.apache.shiro*;version="${shiro.osgi.importRange}",
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+    <packaging>jar</packaging>
 
     <dependencies>
         <dependency>

Modified: shiro/trunk/config/ogdl/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/config/ogdl/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/config/ogdl/pom.xml (original)
+++ shiro/trunk/config/ogdl/pom.xml Sun May 19 01:04:14 2013
@@ -31,7 +31,7 @@
     <name>Apache Shiro :: Configuration :: OGDL</name>
     <description>Support for Shiro's Object Graph Definition Language (mostly used in Ini configuration) where
         declared name/value pairs are interpreted to create an object graph</description>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>
@@ -47,21 +47,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>org.apache.shiro.config.core</Bundle-SymbolicName>
-                        <Export-Package>org.apache.shiro.config*;version=${project.version}</Export-Package>
-                        <Import-Package>
-                            org.apache.shiro*;version="${shiro.osgi.importRange}",
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
 

Modified: shiro/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/core/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/core/pom.xml (original)
+++ shiro/trunk/core/pom.xml Sun May 19 01:04:14 2013
@@ -29,12 +29,12 @@
     <modelVersion>4.0.0</modelVersion>
     <artifactId>shiro-core</artifactId>
     <name>Apache Shiro :: Core</name>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>
             <!-- collect the test classes so they can be referenced by other modules -->
-            <plugin>
+            <!-- <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
                 <executions>
@@ -44,8 +44,8 @@
                         </goals>
                     </execution>
                 </executions>
-            </plugin>
-            <plugin>
+            </plugin> -->
+            <!-- <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>
@@ -55,12 +55,11 @@
                         <Export-Package>org.apache.shiro*;version=${project.version}</Export-Package>
                         <Import-Package>
                             org.apache.shiro*;version="${shiro.osgi.importRange}",
-                            org.apache.commons.beanutils*;resolution:=optional,
                             *
                         </Import-Package>
                     </instructions>
                 </configuration>
-            </plugin>
+            </plugin> -->
         </plugins>
     </build>
 

Modified: shiro/trunk/crypto/cipher/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/crypto/cipher/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/crypto/cipher/pom.xml (original)
+++ shiro/trunk/crypto/cipher/pom.xml Sun May 19 01:04:14 2013
@@ -29,27 +29,7 @@
     <modelVersion>4.0.0</modelVersion>
     <artifactId>shiro-crypto-cipher</artifactId>
     <name>Apache Shiro :: Cryptography :: Ciphers</name>
-    <packaging>bundle</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>org.apache.shiro.crypto.cipher</Bundle-SymbolicName>
-                        <Export-Package>org.apache.shiro.crypto.*;version=${project.version}</Export-Package>
-                        <Import-Package>
-                            org.apache.shiro.crypto**;version="${shiro.osgi.importRange}",
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+    <packaging>jar</packaging>
 
     <dependencies>
         <dependency>

Modified: shiro/trunk/crypto/core/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/crypto/core/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/crypto/core/pom.xml (original)
+++ shiro/trunk/crypto/core/pom.xml Sun May 19 01:04:14 2013
@@ -29,27 +29,7 @@
     <modelVersion>4.0.0</modelVersion>
     <artifactId>shiro-crypto-core</artifactId>
     <name>Apache Shiro :: Cryptography :: Core</name>
-    <packaging>bundle</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>org.apache.shiro.crypto.core</Bundle-SymbolicName>
-                        <Export-Package>org.apache.shiro.crypto*;version=${project.version}</Export-Package>
-                        <Import-Package>
-                            org.apache.shiro.crypto*;version="${shiro.osgi.importRange}",
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
+    <packaging>jar</packaging>
 
     <dependencies>
         <dependency>

Modified: shiro/trunk/lang/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/lang/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/lang/pom.xml (original)
+++ shiro/trunk/lang/pom.xml Sun May 19 01:04:14 2013
@@ -34,7 +34,7 @@
         The lang module encapsulates only language-specific utilities that are used by various
         other modules.  It exists to augment what we would have liked to see in the JDK but does not exist.
     </description>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <dependencies>
 
@@ -53,26 +53,4 @@
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>org.apache.shiro.lang</Bundle-SymbolicName>
-                        <Export-Package>org.apache.shiro.*;version=${project.version}</Export-Package>
-                        <!-- javax.servlet.jsp* marked as optional per SHIRO-390: -->
-                        <Import-Package>
-                            org.apache.shiro*;version="${shiro.osgi.importRange}",
-                            javax.servlet.jsp*;resolution:=optional,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
 </project>

Modified: shiro/trunk/support/faces/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/support/faces/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/support/faces/pom.xml (original)
+++ shiro/trunk/support/faces/pom.xml Sun May 19 01:04:14 2013
@@ -42,12 +42,6 @@
             <version>2.0</version>
             <scope>provided</scope>
         </dependency>
-        <!-- <dependency>
-            <groupId>com.sun.faces</groupId>
-            <artifactId>jsf-api</artifactId>
-            <version>2.0.3</version>
-            <scope>provided</scope>
-        </dependency> -->
         <dependency>
             <groupId>javax.el</groupId>
             <artifactId>el-api</artifactId>
@@ -69,8 +63,8 @@
                 <extensions>true</extensions>
                 <configuration>
                     <instructions>
-                        <Bundle-SymbolicName>org.apache.shiro.guice</Bundle-SymbolicName>
-                        <Export-Package>org.apache.shiro.guice*;version=${project.version}</Export-Package>
+                        <Bundle-SymbolicName>org.apache.shiro.web.faces</Bundle-SymbolicName>
+                        <Export-Package>org.apache.shiro.web.faces*;version=${project.version}</Export-Package>
                         <Import-Package>
                             org.apache.shiro*;version="${shiro.osgi.importRange}",
                             javax.faces*;version="[2.0, 3.0)",

Modified: shiro/trunk/support/quartz/pom.xml
URL: http://svn.apache.org/viewvc/shiro/trunk/support/quartz/pom.xml?rev=1484203&r1=1484202&r2=1484203&view=diff
==============================================================================
--- shiro/trunk/support/quartz/pom.xml (original)
+++ shiro/trunk/support/quartz/pom.xml Sun May 19 01:04:14 2013
@@ -64,7 +64,7 @@
                 <configuration>
                     <instructions>
                         <Bundle-SymbolicName>org.apache.shiro.quartz</Bundle-SymbolicName>
-                        <Export-Package>org.apache.shiro.quartz*;version=${project.version}</Export-Package>
+                        <Export-Package>org.apache.shiro.session.mgt.quartz*;version=${project.version}</Export-Package>
                         <Import-Package>
                             org.apache.shiro*;version="${shiro.osgi.importRange}",
                             org.quartz*;version="[1.6, 2)",