added the sample connected-cup project as a module into the device-deployer.xml

application-manager-new
Shabirmean 9 years ago
parent 5f8c04243b
commit 7b5496d4db

@ -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>

@ -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