servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1295788 - /servicemix/smx4/bundles/trunk/cometd-java-server-2.1.1/pom.xml
Date Thu, 01 Mar 2012 20:54:30 GMT
Author: jbonofre
Date: Thu Mar  1 20:54:30 2012
New Revision: 1295788

URL: http://svn.apache.org/viewvc?rev=1295788&view=rev
Log:
Upgrade to bundles-pom 8

Modified:
    servicemix/smx4/bundles/trunk/cometd-java-server-2.1.1/pom.xml

Modified: servicemix/smx4/bundles/trunk/cometd-java-server-2.1.1/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/bundles/trunk/cometd-java-server-2.1.1/pom.xml?rev=1295788&r1=1295787&r2=1295788&view=diff
==============================================================================
--- servicemix/smx4/bundles/trunk/cometd-java-server-2.1.1/pom.xml (original)
+++ servicemix/smx4/bundles/trunk/cometd-java-server-2.1.1/pom.xml Thu Mar  1 20:54:30 2012
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 
     <!--
 
@@ -18,23 +18,23 @@
         See the License for the specific language governing permissions and
         limitations under the License.
     -->
-    
+
     <modelVersion>4.0.0</modelVersion>
-    
+
     <parent>
         <groupId>org.apache.servicemix.bundles</groupId>
         <artifactId>bundles-pom</artifactId>
-        <version>6</version>
+        <version>8</version>
         <relativePath>../bundles-pom/pom.xml</relativePath>
     </parent>
-    
+
     <groupId>org.apache.servicemix.bundles</groupId>
     <artifactId>org.apache.servicemix.bundles.cometd-java-server</artifactId>
     <version>2.1.1_2-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
     <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description>
-    
+
     <properties>
         <pkgGroupId>org.cometd.java</pkgGroupId>
         <pkgArtifactId>cometd-java-server</pkgArtifactId>
@@ -48,15 +48,25 @@
             *
         </servicemix.osgi.import.pkg>
     </properties>
-    
+
     <dependencies>
-	   <dependency>
-	       <groupId>${pkgGroupId}</groupId>
-	       <artifactId>${pkgArtifactId}</artifactId>
-	       <version>${pkgVersion}</version>
-	   </dependency>    
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>true</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
     </dependencies>
-    
+
     <build>
         <plugins>
             <plugin>
@@ -76,10 +86,10 @@
                             </artifactSet>
                             <filters>
                                 <filter>
-	                               <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
-	                               <excludes>
-	                                   <exclude>**</exclude>
-	                               </excludes>    
+                                    <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
                                 </filter>
                             </filters>
                             <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
@@ -90,4 +100,5 @@
             </plugin>
         </plugins>
     </build>
+
 </project>



Mime
View raw message