camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1407401 - in /camel/trunk/components/camel-xmlrpc: pom.xml src/main/java/org/apache/camel/component/xmlrpc/XmlRpcEndpoint.java
Date Fri, 09 Nov 2012 09:45:10 GMT
Author: ningjiang
Date: Fri Nov  9 09:45:09 2012
New Revision: 1407401

URL: http://svn.apache.org/viewvc?rev=1407401&view=rev
Log:
CAMEL-5778 update the pom.xml and fix the build with maven

Modified:
    camel/trunk/components/camel-xmlrpc/pom.xml
    camel/trunk/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/XmlRpcEndpoint.java

Modified: camel/trunk/components/camel-xmlrpc/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-xmlrpc/pom.xml?rev=1407401&r1=1407400&r2=1407401&view=diff
==============================================================================
--- camel/trunk/components/camel-xmlrpc/pom.xml (original)
+++ camel/trunk/components/camel-xmlrpc/pom.xml Fri Nov  9 09:45:09 2012
@@ -11,14 +11,15 @@
 
   <groupId>org.apache.camel.component</groupId>
   <artifactId>camel-xmlrpc</artifactId>
-  <packaging>jar</packaging>
+  <packaging>bundle</packaging>
+   <name>Camel :: XML RPC</name>
+   <description>Camel XML RPC support</description>
+
+   <properties>
+       <camel.osgi.export.pkg>org.apache.camel.component.xmlrpc.*</camel.osgi.export.pkg>
+       <xmlrpc.version>3.1.3</xmlrpc.version>
+   </properties>
 
-  
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-  </properties>
 
   <dependencies>
     <dependency>
@@ -29,7 +30,7 @@
     <dependency>
 	  <groupId>org.apache.xmlrpc</groupId>
 	  <artifactId>xmlrpc-client</artifactId>
-	  <version>3.1.3</version>
+	  <version>${xmlrpc.version}</version>
     </dependency>
 
     <!-- logging -->
@@ -55,22 +56,11 @@
       <artifactId>camel-test</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.apache.camel</groupId>
+      <artifactId>camel-jetty</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
-  <build>
-    <defaultGoal>install</defaultGoal>
-
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <version>2.5.1</version>
-        <configuration>
-          <source>1.6</source>
-          <target>1.6</target>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
 </project>

Modified: camel/trunk/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/XmlRpcEndpoint.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/XmlRpcEndpoint.java?rev=1407401&r1=1407400&r2=1407401&view=diff
==============================================================================
--- camel/trunk/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/XmlRpcEndpoint.java
(original)
+++ camel/trunk/components/camel-xmlrpc/src/main/java/org/apache/camel/component/xmlrpc/XmlRpcEndpoint.java
Fri Nov  9 09:45:09 2012
@@ -25,7 +25,6 @@ import org.apache.camel.Producer;
 import org.apache.camel.impl.DefaultEndpoint;
 import org.apache.camel.impl.SynchronousDelegateProducer;
 import org.apache.xmlrpc.client.XmlRpcClient;
-import org.apache.xmlrpc.client.XmlRpcClientConfig;
 import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
 
 /**



Mime
View raw message