You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
278 lines
12 KiB
278 lines
12 KiB
<!--
|
|
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
~
|
|
~ WSO2 Inc. licenses this file to you under the Apache License,
|
|
~ Version 2.0 (the "License"); you may not use this file except
|
|
~ in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing,
|
|
~ software distributed under the License is distributed on an
|
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
~ KIND, either express or implied. See the License for the
|
|
~ specific language governing permissions and limitations
|
|
~ under the License.
|
|
-->
|
|
|
|
<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">
|
|
|
|
<parent>
|
|
<groupId>org.wso2</groupId>
|
|
<artifactId>wso2</artifactId>
|
|
<version>1</version>
|
|
</parent>
|
|
|
|
<groupId>org.homeautomation</groupId>
|
|
<artifactId>currentsensor</artifactId>
|
|
<version>2.0.4-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<url>http://wso2.com</url>
|
|
|
|
<modules>
|
|
<module>component</module>
|
|
<module>feature</module>
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
<artifactId>org.eclipse.osgi</artifactId>
|
|
<version>${eclipse.osgi.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.equinox</groupId>
|
|
<artifactId>org.eclipse.equinox.common</artifactId>
|
|
<version>${eclipse.equinox.common.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>${testng.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.beanshell</groupId>
|
|
<artifactId>bsh</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
<artifactId>org.eclipse.osgi.services</artifactId>
|
|
<version>3.3.100.v20120522-1822</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon</groupId>
|
|
<artifactId>org.wso2.carbon.logging</artifactId>
|
|
<version>${carbon.kernel.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.log4j.wso2</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.wso2.carbon</groupId>
|
|
<artifactId>org.wso2.carbon.bootstrap</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- CXF dependencies -->
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
<version>${cxf.version}</version>
|
|
<!--<scope>provided</scope>-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
<version>${cxf.version}</version>
|
|
<!--<scope>provided</scope>-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
<version>${cxf.version}</version>
|
|
<!--<scope>provided</scope>-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.paho</groupId>
|
|
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
|
|
<version>${paho.mqtt.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>jackson-jaxrs</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax</groupId>
|
|
<artifactId>javaee-web-api</artifactId>
|
|
<version>6.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>jsr311-api</artifactId>
|
|
<version>${javax.ws.rs.version}</version>
|
|
<!--<scope>provided</scope>-->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpasyncclient</artifactId>
|
|
<version>4.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<properties>
|
|
<carbon.kernel.version>4.4.3</carbon.kernel.version>
|
|
<carbon.device.mgt.version>1.1.0-SNAPSHOT</carbon.device.mgt.version>
|
|
<carbon.device.mgt.jar.version>1.1.0.SNAPSHOT</carbon.device.mgt.jar.version>
|
|
<paho.mqtt.version>1.0.2</paho.mqtt.version>
|
|
<commons-json.version>3.0.0.wso2v1</commons-json.version>
|
|
<eclipse.osgi.version>3.8.1.v20120830-144521</eclipse.osgi.version>
|
|
<carbon.device.mgt.plugin.version>2.0.4-SNAPSHOT</carbon.device.mgt.plugin.version>
|
|
<carbon.iot.device.mgt.jar.version>2.0.4.SNAPSHOT</carbon.iot.device.mgt.jar.version>
|
|
<javax.ws.rs.version>1.1.1</javax.ws.rs.version>
|
|
<commons-io.version>2.4</commons-io.version>
|
|
|
|
<!--XMPP/MQTT Version-->
|
|
<smack.wso2.version>3.0.4.wso2v1</smack.wso2.version>
|
|
<smackx.wso2.version>3.0.4.wso2v1</smackx.wso2.version>
|
|
<cxf.version>2.6.1</cxf.version>
|
|
<jackson.version>1.9.0</jackson.version>
|
|
<commons-httpclient.orbit.version>3.1.0.wso2v2</commons-httpclient.orbit.version>
|
|
<eclipse.equinox.common.version>3.6.100.v20120522-1841</eclipse.equinox.common.version>
|
|
|
|
<wso2.maven.compiler.source>1.7</wso2.maven.compiler.source>
|
|
<wso2.maven.compiler.target>1.7</wso2.maven.compiler.target>
|
|
<project-base-package>org.homeautomation.currentsensor</project-base-package>
|
|
<junit.version>3.8.1</junit.version>
|
|
<org.apache.felix.version>1.4.0</org.apache.felix.version>
|
|
<maven-clean-plugin.version>2.4.1</maven-clean-plugin.version>
|
|
<maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
|
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
|
|
<maven-scr-plugin.version>1.7.2</maven-scr-plugin.version>
|
|
</properties>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>wso2.releases</id>
|
|
<name>WSO2 internal Repository</name>
|
|
<url>http://maven.wso2.org/nexus/content/repositories/releases/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>wso2.snapshots</id>
|
|
<name>Apache Snapshot Repository</name>
|
|
<url>http://maven.wso2.org/nexus/content/repositories/snapshots/</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>wso2-nexus</id>
|
|
<name>WSO2 internal Repository</name>
|
|
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
<repositories>
|
|
<!-- Before adding ANYTHING in here, please start a discussion on the dev list.
|
|
Ideally the Axis2 build should only use Maven central (which is available
|
|
by default) and nothing else. We had troubles with other repositories in
|
|
the past. Therefore configuring additional repositories here should be
|
|
considered very carefully. -->
|
|
<repository>
|
|
<id>wso2-nexus</id>
|
|
<name>WSO2 internal Repository</name>
|
|
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>wso2.releases</id>
|
|
<name>WSO2 internal Repository</name>
|
|
<url>http://maven.wso2.org/nexus/content/repositories/releases/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>wso2.snapshots</id>
|
|
<name>WSO2 Snapshot Repository</name>
|
|
<url>http://maven.wso2.org/nexus/content/repositories/snapshots/</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>gcm-server-repository</id>
|
|
<name>GCM Server repository - GitHub</name>
|
|
<url>https://github.com/slorber/gcm-server-repository/raw/master/releases/</url>
|
|
</repository>
|
|
<repository>
|
|
<id>wso2-staging</id>
|
|
<name>WSO2 internal Repository</name>
|
|
<url>http://maven.wso2.org/nexus/content/repositories/orgwso2carbonapimgt-174/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
</project>
|