You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by sr...@apache.org on 2009/09/28 22:23:27 UTC

svn commit: r819708 - in /felix/trunk/http: api/pom.xml base/pom.xml bridge/pom.xml bundle/pom.xml jetty/pom.xml pom.xml proxy/pom.xml samples/bridge/pom.xml samples/filter/pom.xml samples/whiteboard/pom.xml whiteboard/pom.xml

Author: srs
Date: Mon Sep 28 20:23:26 2009
New Revision: 819708

URL: http://svn.apache.org/viewvc?rev=819708&view=rev
Log:
Fixed all poms

Modified:
    felix/trunk/http/api/pom.xml
    felix/trunk/http/base/pom.xml
    felix/trunk/http/bridge/pom.xml
    felix/trunk/http/bundle/pom.xml
    felix/trunk/http/jetty/pom.xml
    felix/trunk/http/pom.xml
    felix/trunk/http/proxy/pom.xml
    felix/trunk/http/samples/bridge/pom.xml
    felix/trunk/http/samples/filter/pom.xml
    felix/trunk/http/samples/whiteboard/pom.xml
    felix/trunk/http/whiteboard/pom.xml

Modified: felix/trunk/http/api/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/api/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/api/pom.xml (original)
+++ felix/trunk/http/api/pom.xml Mon Sep 28 20:23:26 2009
@@ -31,6 +31,22 @@
     <artifactId>org.apache.felix.http.api</artifactId>
     <packaging>jar</packaging>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.felix.http.api;version=${pom.version}
+                        </Export-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <dependencies>
         <dependency>
             <groupId>javax.servlet</groupId>

Modified: felix/trunk/http/base/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/base/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/base/pom.xml (original)
+++ felix/trunk/http/base/pom.xml Mon Sep 28 20:23:26 2009
@@ -31,6 +31,25 @@
     <artifactId>org.apache.felix.http.base</artifactId>
     <packaging>jar</packaging>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Private-Package>
+                            org.apache.felix.http.base.*
+                        </Private-Package>
+                        <Import-Package>
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <dependencies>
         <dependency>
             <groupId>javax.servlet</groupId>
@@ -46,7 +65,6 @@
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.api</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
     </dependencies>
 

Modified: felix/trunk/http/bridge/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/bridge/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/bridge/pom.xml (original)
+++ felix/trunk/http/bridge/pom.xml Mon Sep 28 20:23:26 2009
@@ -29,7 +29,7 @@
 
     <name>Apache Felix Http Bridge</name>
     <artifactId>org.apache.felix.http.bridge</artifactId>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>
@@ -74,13 +74,11 @@
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.api</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.base</artifactId>
             <version>${pom.version}</version>
-            <!-- TEMP FIX <scope>provided</scope>-->
         </dependency>
     </dependencies>
 

Modified: felix/trunk/http/bundle/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/bundle/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/bundle/pom.xml (original)
+++ felix/trunk/http/bundle/pom.xml Mon Sep 28 20:23:26 2009
@@ -29,7 +29,7 @@
 
     <name>Apache Felix Http Bundle</name>
     <artifactId>org.apache.felix.http.bundle</artifactId>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>
@@ -79,19 +79,16 @@
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.bridge</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.jetty</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.whiteboard</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
     </dependencies>
 

Modified: felix/trunk/http/jetty/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/jetty/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/jetty/pom.xml (original)
+++ felix/trunk/http/jetty/pom.xml Mon Sep 28 20:23:26 2009
@@ -29,7 +29,7 @@
 
     <name>Apache Felix Http Jetty</name>
     <artifactId>org.apache.felix.http.jetty</artifactId>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>
@@ -94,13 +94,11 @@
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.api</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.base</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
     </dependencies>
 

Modified: felix/trunk/http/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/pom.xml (original)
+++ felix/trunk/http/pom.xml Mon Sep 28 20:23:26 2009
@@ -28,11 +28,16 @@
         <relativePath>../pom/pom.xml</relativePath>
     </parent>
 
+    <groupId>org.apache.felix</groupId>
     <artifactId>org.apache.felix.http</artifactId>
     <packaging>pom</packaging>
     <name>Apache Felix Http</name>
     <version>2.0.0-SNAPSHOT</version>
 
+    <prerequisites>
+        <maven>2.0.7</maven>
+    </prerequisites>
+�
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>
@@ -47,19 +52,31 @@
                         <compilerVersion>1.5</compilerVersion>
                     </configuration>
                 </plugin>
+            </plugins>
+        <pluginManagement>
+            <plugins>
                 <plugin>
                     <groupId>org.apache.felix</groupId>
                     <artifactId>maven-bundle-plugin</artifactId>
-                    <version>2.0.0</version>
-                    <extensions>true</extensions>
+                    <version>2.0.1</version>
+                    <executions>
+                      <execution>
+                        <id>bundle</id>
+                        <phase>package</phase>
+                        <goals>
+                          <goal>bundle</goal>
+                        </goals>
+                      </execution>
+                    </executions>
                     <configuration>
                         <instructions>
                             <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
                             <Bundle-Version>${pom.version}</Bundle-Version>
-                        </instructions>
+                        </instructions>                        
                     </configuration>
                 </plugin>
             </plugins>
+        </pluginManagement>
     </build>
 
     <modules>
@@ -118,6 +135,48 @@
                     </exclusion>
                 </exclusions>
             </dependency>
+            <!--dependency>
+                <groupId>${pom.groupId}</groupId>
+                <artifactId>org.apache.felix.http.api</artifactId>
+                <version>${pom.version}</version>
+                <type>bundle</type>
+            </dependency>
+            <dependency>
+                <groupId>${pom.groupId}</groupId>
+                <artifactId>org.apache.felix.http.base</artifactId>
+                <version>${pom.version}</version>
+                <type>bundle</type>
+            </dependency>
+            <dependency>
+                <groupId>${pom.groupId}</groupId>
+                <artifactId>org.apache.felix.http.bridge</artifactId>
+                <version>${pom.version}</version>
+                <type>bundle</type>
+            </dependency>
+            <dependency>
+                <groupId>${pom.groupId}</groupId>
+                <artifactId>org.apache.felix.http.jetty</artifactId>
+                <version>${pom.version}</version>
+                <type>bundle</type>
+            </dependency>
+            <dependency>
+                <groupId>${pom.groupId}</groupId>
+                <artifactId>org.apache.felix.http.proxy</artifactId>
+                <version>${pom.version}</version>
+                <type>bundle</type>
+            </dependency>
+            <dependency>
+                <groupId>${pom.groupId}</groupId>
+                <artifactId>org.apache.felix.http.whiteboard</artifactId>
+                <version>${pom.version}</version>
+                <type>bundle</type>
+            </dependency>
+            <dependency>
+                <groupId>${pom.groupId}</groupId>
+                <artifactId>org.apache.felix.http.bundle</artifactId>
+                <version>${pom.version}</version>
+                <type>bundle</type>
+            </dependency-->
         </dependencies>
     </dependencyManagement>
     

Modified: felix/trunk/http/proxy/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/proxy/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/proxy/pom.xml (original)
+++ felix/trunk/http/proxy/pom.xml Mon Sep 28 20:23:26 2009
@@ -31,6 +31,25 @@
     <artifactId>org.apache.felix.http.proxy</artifactId>
     <packaging>jar</packaging>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <configuration>
+                    <instructions>
+                        <Export-Package>
+                            org.apache.felix.http.proxy;version=${pom.version}
+                        </Export-Package>
+                        <Import-Package>
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <dependencies>
         <dependency>
             <groupId>javax.servlet</groupId>

Modified: felix/trunk/http/samples/bridge/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/samples/bridge/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/samples/bridge/pom.xml (original)
+++ felix/trunk/http/samples/bridge/pom.xml Mon Sep 28 20:23:26 2009
@@ -48,26 +48,12 @@
                     <execution>
                         <id>copy-bundles</id>
                         <goals>
-                            <goal>copy</goal>
+                            <goal>copy-dependencies</goal>
                         </goals>
                         <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.apache.felix</groupId>
-                                    <artifactId>org.apache.felix.http.bundle</artifactId>
-                                    <version>${pom.version}</version>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>org.apache.felix</groupId>
-                                    <artifactId>org.apache.felix.http.samples.filter</artifactId>
-                                    <version>${pom.version}</version>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>org.apache.felix</groupId>
-                                    <artifactId>org.apache.felix.webconsole</artifactId>
-                                    <version>1.2.8</version>
-                                </artifactItem>
-                            </artifactItems>
+                            <includeArtifactIds>
+                                org.apache.felix.http.bundle,org.apache.felix.http.samples.filter,org.apache.felix.webconsole
+                            </includeArtifactIds>
                             <stripVersion>true</stripVersion>
                             <outputDirectory>
                                 ${project.build.directory}/bundles
@@ -126,6 +112,24 @@
             <artifactId>org.apache.felix.http.proxy</artifactId>
             <version>${pom.version}</version>
         </dependency>
+        <dependency>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>org.apache.felix.http.bundle</artifactId>
+            <version>${pom.version}</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>org.apache.felix.http.samples.filter</artifactId>
+            <version>${pom.version}</version>            
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>org.apache.felix.webconsole</artifactId>
+            <version>1.2.8</version>
+            <scope>provided</scope>
+        </dependency>
     </dependencies>
 
 </project>

Modified: felix/trunk/http/samples/filter/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/samples/filter/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/samples/filter/pom.xml (original)
+++ felix/trunk/http/samples/filter/pom.xml Mon Sep 28 20:23:26 2009
@@ -29,7 +29,7 @@
 
     <name>Apache Felix Http Samples - Filter</name>
     <artifactId>org.apache.felix.http.samples.filter</artifactId>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>
@@ -81,7 +81,6 @@
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.api</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
     </dependencies>
 

Modified: felix/trunk/http/samples/whiteboard/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/samples/whiteboard/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/samples/whiteboard/pom.xml (original)
+++ felix/trunk/http/samples/whiteboard/pom.xml Mon Sep 28 20:23:26 2009
@@ -29,7 +29,7 @@
 
     <name>Apache Felix Http Samples - Whiteboard</name>
     <artifactId>org.apache.felix.http.samples.whiteboard</artifactId>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>

Modified: felix/trunk/http/whiteboard/pom.xml
URL: http://svn.apache.org/viewvc/felix/trunk/http/whiteboard/pom.xml?rev=819708&r1=819707&r2=819708&view=diff
==============================================================================
--- felix/trunk/http/whiteboard/pom.xml (original)
+++ felix/trunk/http/whiteboard/pom.xml Mon Sep 28 20:23:26 2009
@@ -29,7 +29,7 @@
 
     <name>Apache Felix Http Whiteboard</name>
     <artifactId>org.apache.felix.http.whiteboard</artifactId>
-    <packaging>bundle</packaging>
+    <packaging>jar</packaging>
 
     <build>
         <plugins>
@@ -73,14 +73,12 @@
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.api</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>${pom.groupId}</groupId>
             <artifactId>org.apache.felix.http.base</artifactId>
             <version>${pom.version}</version>
-            <scope>provided</scope>
-        </dependency>        
+        </dependency>
     </dependencies>
 
 </project>