Merge pull request #77 from Shabirmean/master

added the sample connected-cup project as a module into the device-deployer.xml
merge-requests/1/head
Shabir Mohamed 9 years ago
commit 665705eee5

@ -210,12 +210,10 @@
<groupId>org.wso2.carbon.devicemgt-plugins</groupId> <groupId>org.wso2.carbon.devicemgt-plugins</groupId>
<artifactId>org.coffeeking.connectedcup.plugin</artifactId> <artifactId>org.coffeeking.connectedcup.plugin</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.json.wso2</groupId> <groupId>org.json.wso2</groupId>
<artifactId>json</artifactId> <artifactId>json</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>

@ -219,28 +219,6 @@
<checksumPolicy>ignore</checksumPolicy> <checksumPolicy>ignore</checksumPolicy>
</releases> </releases>
</repository> </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>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> </repositories>
@ -248,7 +226,6 @@
<carbon.kernel.version>4.4.2</carbon.kernel.version> <carbon.kernel.version>4.4.2</carbon.kernel.version>
<carbon.device.mgt.version>0.9.2-SNAPSHOT</carbon.device.mgt.version> <carbon.device.mgt.version>0.9.2-SNAPSHOT</carbon.device.mgt.version>
<paho.mqtt.version>0.4.0</paho.mqtt.version> <paho.mqtt.version>0.4.0</paho.mqtt.version>
<smack.wso2.version>3.0.4.wso2v1</smack.wso2.version>
<commons-json.version>3.0.0.wso2v1</commons-json.version> <commons-json.version>3.0.0.wso2v1</commons-json.version>
<eclipse.osgi.version>3.8.1.v20120830-144521</eclipse.osgi.version> <eclipse.osgi.version>3.8.1.v20120830-144521</eclipse.osgi.version>
<carbon.iot.device.mgt.version>1.9.2-SNAPSHOT</carbon.iot.device.mgt.version> <carbon.iot.device.mgt.version>1.9.2-SNAPSHOT</carbon.iot.device.mgt.version>

@ -30,9 +30,14 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Creating custom distribution</name> <name>Creating custom distribution</name>
<url>http://wso2.org</url> <url>http://wso2.org</url>
<modules>
<!-- maven module of your device-type -->
<module>samples/connectedcup</module>
</modules>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.wso2.maven</groupId> <groupId>org.wso2.maven</groupId>
<artifactId>carbon-p2-plugin</artifactId> <artifactId>carbon-p2-plugin</artifactId>
@ -53,7 +58,7 @@
<featureArtifacts> <featureArtifacts>
<featureArtifactDef> <featureArtifactDef>
<!-- STEP#1. ADD YOUR DEVICE TYPE FEATURE HERE --> <!-- STEP#1. ADD YOUR DEVICE TYPE FEATURE HERE "< GROUP_ID:ARTIFACT_ID:VERSION >" -->
org.wso2.carbon.devicemgt-plugins:org.coffeeking.connectedcup.feature:1.9.2-SNAPSHOT org.wso2.carbon.devicemgt-plugins:org.coffeeking.connectedcup.feature:1.9.2-SNAPSHOT
</featureArtifactDef> </featureArtifactDef>
</featureArtifacts> </featureArtifacts>
@ -62,8 +67,6 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.wso2.maven</groupId> <groupId>org.wso2.maven</groupId>
<artifactId>carbon-p2-plugin</artifactId> <artifactId>carbon-p2-plugin</artifactId>
@ -82,7 +85,7 @@
<destination>repository/components</destination> <destination>repository/components</destination>
<deleteOldProfileFiles>true</deleteOldProfileFiles> <deleteOldProfileFiles>true</deleteOldProfileFiles>
<features> <features>
<!-- STEP#2. ADD YOUR DEVICE TYPE FEATURE GROUP HERE --> <!-- STEP#2. ADD YOUR DEVICE TYPE FEATURE GROUP HERE "<ARTIFACT_ID>.group" -->
<feature> <feature>
<id>org.coffeeking.connectedcup.feature.group</id> <id>org.coffeeking.connectedcup.feature.group</id>
<version>1.9.2-SNAPSHOT</version> <version>1.9.2-SNAPSHOT</version>
@ -114,6 +117,7 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<repositories> <repositories>
<repository> <repository>
<id>wso2-nexus</id> <id>wso2-nexus</id>

Loading…
Cancel
Save