From 7bd44f44997cb51383a9851faf5702fd5f46b765 Mon Sep 17 00:00:00 2001 From: GPrathap Date: Fri, 22 Jan 2016 14:40:46 +0530 Subject: [PATCH] removed auto generated device-deployer.xml --- .../tools/cdmf-devicetype-archetype/README.md | 10 +- .../META-INF/maven/archetype-metadata.xml | 8 - .../installer/device-deployer.xml | 139 ------------------ 3 files changed, 7 insertions(+), 150 deletions(-) delete mode 100644 modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/installer/device-deployer.xml diff --git a/modules/tools/cdmf-devicetype-archetype/README.md b/modules/tools/cdmf-devicetype-archetype/README.md index e9e81d48..2e653ad7 100644 --- a/modules/tools/cdmf-devicetype-archetype/README.md +++ b/modules/tools/cdmf-devicetype-archetype/README.md @@ -5,19 +5,23 @@ To create new project mvn archetype:generate -DarchetypeCatalog=local -Then select the cdmf.devicetype:cdmf-devicetype-archetype as new archetype. Then you need to provide groupId, artifactId, version and packaging as shown bellow. +Then select the cdmf.devicetype:cdmf-devicetype-archetype as new archetype. Then you need to provide groupId, artifactId, +version, packaging and name of your device type as shown bellow. - Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 3 + Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): : 12 Define value for property 'groupId': : org.coffeeking Define value for property 'artifactId': : connectedcup Define value for property 'version': 1.0-SNAPSHOT: : 1.0.0-SNAPSHOT Define value for property 'package': org.coffeeking: : + Define value for property 'deviceType': : connectedCup Confirm properties configuration: groupId: org.coffeeking artifactId: connectedcup version: 1.0.0-SNAPSHOT package: org.coffeeking - Y: : Y + deviceType: connectedCup + Y: : + diff --git a/modules/tools/cdmf-devicetype-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/modules/tools/cdmf-devicetype-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 41220ebb..c91df1b3 100644 --- a/modules/tools/cdmf-devicetype-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/modules/tools/cdmf-devicetype-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -19,14 +19,6 @@ - - - installer - - **/*.xml - - - diff --git a/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/installer/device-deployer.xml b/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/installer/device-deployer.xml deleted file mode 100644 index aec0d951..00000000 --- a/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/installer/device-deployer.xml +++ /dev/null @@ -1,139 +0,0 @@ - - - - - org.wso2 - wso2 - 1 - - 4.0.0 - ${groupId} - devicetype-feature-installation - ${version} - pom - Creating custom distribution - http://wso2.org - - - samples/${rootArtifactId} - - - - - org.wso2.maven - carbon-p2-plugin - 1.5.3 - - - - 2-p2-repo-generation - package - - p2-repo-gen - - - file:${basedir}/samples/p2-repo - file:${basedir}/samples/p2-repo - true - true - - - - - ${groupId}:${groupId}.${rootArtifactId}.feature:${version} - - - - - - - - - org.wso2.maven - carbon-p2-plugin - 1.5.3 - - - feature-install - package - - p2-profile-gen - - - default - file:${basedir}/samples/p2-repo - file:${basedir}/samples/p2-repo - repository/components - true - - - - ${groupId}.${rootArtifactId}.feature.group - ${version} - - - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.1 - - - package - - - - - - - - - run - - - - - - - - - wso2-nexus - WSO2 internal Repository - http://maven.wso2.org/nexus/content/groups/wso2-public/ - - true - daily - ignore - - - - - - wso2-maven2-repository - http://dist.wso2.org/maven2 - - - wso2-maven2-snapshot-repository - http://dist.wso2.org/snapshots/maven2 - - - \ No newline at end of file