Commits

Arkadi Shishlov committed 30f8698

Reformat pom.xml

  • Participants
  • Parent commits 31a21db

Comments (0)

Files changed (3)

+target
 -->
 <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">
 
-  <modelVersion>4.0.0</modelVersion>
+    <modelVersion>4.0.0</modelVersion>
 
-<!--  <parent>
-    <groupId>org.apache.camel</groupId>
-    <artifactId>components</artifactId>
-    <version>2.9-SNAPSHOT</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>-->
+<!--    <parent>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>components</artifactId>
+        <version>2.9-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>-->
 
     <groupId>org.apache.camel</groupId>
-	<artifactId>camel-sipe</artifactId>
-<!--	<packaging>bundle</packaging>-->
-	<name>Camel :: SIPE</name>
+    <artifactId>camel-sipe</artifactId>
+<!--    <packaging>bundle</packaging>-->
+    <name>Camel :: SIPE</name>
     <version>2.8.3</version>
-	<description>Camel SIP protocol based communication component for proprietary Office Communicator extensions</description>
+    <description>Camel SIP protocol based communication component for proprietary Office Communicator extensions</description>
 
-<!--	<properties>
-		<camel.osgi.export.pkg>
-			org.apache.camel.component.sipe.*
-		</camel.osgi.export.pkg>
-	</properties>-->
+<!--    <properties>
+        <camel.osgi.export.pkg>
+            org.apache.camel.component.sipe.*
+        </camel.osgi.export.pkg>
+    </properties>-->
 
     <properties>
         <camel-version>2.8.3</camel-version>
         </repository>
     </repositories>
 
-  	<dependencies>
-	    <dependency>
-	      	<groupId>org.apache.camel</groupId>
-	      	<artifactId>camel-core</artifactId>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-core</artifactId>
             <version>${camel-version}</version>
-	    </dependency>
+        </dependency>
         <!--
         <dependency>
-	      	<groupId>org.apache.servicemix.specs</groupId>
-	      	<artifactId>org.apache.servicemix.specs.jain-sip-api-1.2</artifactId>
-	      	<version>${servicemix-specs-version}</version>
-	    </dependency>
-	    <dependency>
-	      	<groupId>org.apache.servicemix.bundles</groupId>
-	      	<artifactId>org.apache.servicemix.bundles.jain-sip-ri</artifactId>
-	      	<version>${jain-sip-ri-bundle-version}</version>
+              <groupId>org.apache.servicemix.specs</groupId>
+              <artifactId>org.apache.servicemix.specs.jain-sip-api-1.2</artifactId>
+              <version>${servicemix-specs-version}</version>
+        </dependency>
+        <dependency>
+              <groupId>org.apache.servicemix.bundles</groupId>
+              <artifactId>org.apache.servicemix.bundles.jain-sip-ri</artifactId>
+              <version>${jain-sip-ri-bundle-version}</version>
         </dependency>
         -->
         <dependency>
             <artifactId>jain-sip-ri</artifactId>
             <version>1.2.X-SNAPSHOT</version>
 <!--            <version>1.2.148.9</version>-->
-	    </dependency>
+        </dependency>
         <dependency>
             <groupId>org.samba.jcifs</groupId>
             <artifactId>jcifs</artifactId>
             <version>1.3.17</version>
-	    </dependency>
+        </dependency>
 
-		<!-- testing -->
-		<dependency>
-			<groupId>org.apache.camel</groupId>
-			<artifactId>camel-test</artifactId>
+        <!-- testing -->
+        <dependency>
+            <groupId>org.apache.camel</groupId>
+            <artifactId>camel-test</artifactId>
             <version>${camel-version}</version>
-<!--			<scope>test</scope>-->
-		</dependency>
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
+<!--            <scope>test</scope>-->
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
             <version>4.8.1</version>
-			<scope>test</scope>
-		</dependency>
+            <scope>test</scope>
+        </dependency>
 
-		<!-- logging -->
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>slf4j-log4j12</artifactId>
+        <!-- logging -->
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
             <version>${slf4j-version}</version>
-<!--			<scope>test</scope>-->
-		</dependency>
-		<dependency>
-			<groupId>log4j</groupId>
-			<artifactId>log4j</artifactId>
+<!--            <scope>test</scope>-->
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
             <version>${log4j-version}</version>
-<!--			<scope>test</scope>-->
-		</dependency>
-  	</dependencies>
+<!--            <scope>test</scope>-->
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
 </project>

File src/main/java/org/apache/camel/component/sipe/SipProducerListener.java

         String userAgent = "Camel::SIPE JAIN-SIP/1.2";
         try {
             Properties p = new Properties();
-            p.load(SipProducerListener.class.getResourceAsStream("/META-INF/maven/com.tieto/camel-sipe/pom.properties"));
+            p.load(SipProducerListener.class.getResourceAsStream("/META-INF/maven/org.apache.camel/camel-sipe/pom.properties"));
             String cameSipeVersion = p.getProperty("version");
             p.clear();
             p.load(SipProducerListener.class.getResourceAsStream("/META-INF/maven/javax.sip/jain-sip-ri/pom.properties"));