From 0aa0401d982af1df5e30472d20cba63ee3e4bdbf Mon Sep 17 00:00:00 2001 From: lasantha Date: Fri, 15 Dec 2017 10:16:06 +0530 Subject: [PATCH] removing feature created for new apis and added those into existing api feature --- .../pom.xml | 23 ++++ .../src/main/resources/p2.inf | 3 +- .../pom.xml | 23 ++++ .../src/main/resources/p2.inf | 3 +- .../pom.xml | 123 ------------------ .../src/main/resources/build.properties | 1 - .../src/main/resources/p2.inf | 2 - .../pom.xml | 2 +- .../pom.xml | 123 ------------------ .../src/main/resources/build.properties | 1 - .../src/main/resources/p2.inf | 2 - features/certificate-mgt/pom.xml | 2 - .../pom.xml | 23 ++++ .../src/main/resources/p2.inf | 3 +- .../pom.xml | 8 -- .../pom.xml | 122 ----------------- .../src/main/resources/build.properties | 1 - .../src/main/resources/p2.inf | 3 - features/device-mgt/pom.xml | 1 - 19 files changed, 76 insertions(+), 393 deletions(-) delete mode 100644 features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/pom.xml delete mode 100644 features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/src/main/resources/build.properties delete mode 100644 features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/src/main/resources/p2.inf delete mode 100644 features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/pom.xml delete mode 100644 features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/src/main/resources/build.properties delete mode 100644 features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/src/main/resources/p2.inf delete mode 100644 features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/pom.xml delete mode 100644 features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/src/main/resources/build.properties delete mode 100644 features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/src/main/resources/p2.inf diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.api.feature/pom.xml b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.api.feature/pom.xml index ebf23286c99..029a279ce9b 100644 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.api.feature/pom.xml +++ b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.api.feature/pom.xml @@ -62,6 +62,29 @@ + + copy v09 api + package + + copy + + + + + org.wso2.carbon.devicemgt + org.wso2.carbon.certificate.mgt.v09.api + + ${project.version} + war + true + + ${project.build.directory}/maven-shared-archive-resources/webapps + + api#scep-mgt#v0.9.war + + + + diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.api.feature/src/main/resources/p2.inf b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.api.feature/src/main/resources/p2.inf index 0c0b0d046e4..032bdc18aa2 100644 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.api.feature/src/main/resources/p2.inf +++ b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.api.feature/src/main/resources/p2.inf @@ -1,2 +1,3 @@ instructions.configure = \ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.certificate.mgt.api_${feature.version}/webapps/api#scep-mgt#v1.0.war,target:${installFolder}/../../deployment/server/webapps/api#scep-mgt#v1.0.war,overwrite:true);\ \ No newline at end of file +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.certificate.mgt.api_${feature.version}/webapps/api#scep-mgt#v1.0.war,target:${installFolder}/../../deployment/server/webapps/api#scep-mgt#v1.0.war,overwrite:true);\ +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.certificate.mgt.api_${feature.version}/webapps/api#scep-mgt#v0.9.war,target:${installFolder}/../../deployment/server/webapps/api#scep-mgt#v0.9.war,overwrite:true);\ \ No newline at end of file diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api.feature/pom.xml b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api.feature/pom.xml index 653f467f376..f53ede9aa41 100644 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api.feature/pom.xml +++ b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api.feature/pom.xml @@ -62,6 +62,29 @@ + + copy v09 api + package + + copy + + + + + org.wso2.carbon.devicemgt + org.wso2.carbon.certificate.mgt.cert.admin.v09.api + + ${project.version} + war + true + + ${project.build.directory}/maven-shared-archive-resources/webapps + + api#certificate-mgt#v0.9.war + + + + diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api.feature/src/main/resources/p2.inf b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api.feature/src/main/resources/p2.inf index b9e7e512bcc..f74151bd017 100644 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api.feature/src/main/resources/p2.inf +++ b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api.feature/src/main/resources/p2.inf @@ -1,2 +1,3 @@ instructions.configure = \ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.certificate.mgt.cert.admin.api_${feature.version}/webapps/api#certificate-mgt#v1.0.war,target:${installFolder}/../../deployment/server/webapps/api#certificate-mgt#v1.0.war,overwrite:true);\ \ No newline at end of file +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.certificate.mgt.cert.admin.api_${feature.version}/webapps/api#certificate-mgt#v1.0.war,target:${installFolder}/../../deployment/server/webapps/api#certificate-mgt#v1.0.war,overwrite:true);\ +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.certificate.mgt.cert.admin.api_${feature.version}/webapps/api#certificate-mgt#v0.9.war,target:${installFolder}/../../deployment/server/webapps/api#certificate-mgt#v0.9.war,overwrite:true);\ \ No newline at end of file diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/pom.xml b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/pom.xml deleted file mode 100644 index f8d317e945f..00000000000 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/pom.xml +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - org.wso2.carbon.devicemgt - certificate-mgt-feature - 3.0.185-SNAPSHOT - ../pom.xml - - - 4.0.0 - org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature - pom - WSO2 Carbon - Admin Certificate Management v0.9 API Feature - http://wso2.org - This feature contains the v0.9 APIs required for Admin Certificate Management. - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy - package - - copy - - - - - org.wso2.carbon.devicemgt - org.wso2.carbon.certificate.mgt.cert.admin.v09.api - - ${project.version} - war - true - - ${project.build.directory}/maven-shared-archive-resources/webapps - - api#certificate-mgt#v0.9.war - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - copy-resources - generate-resources - - copy-resources - - - src/main/resources - - - resources - - build.properties - p2.inf - - - - - - - - - org.wso2.maven - carbon-p2-plugin - - - p2-feature-generation - package - - p2-feature-gen - - - org.wso2.carbon.certificate.mgt.cert.admin.v09.api - ../../../features/etc/feature.properties - - - - org.wso2.carbon.p2.category.type:server - - org.eclipse.equinox.p2.type.group:false - - - - - - - - - - - diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/src/main/resources/build.properties b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/src/main/resources/build.properties deleted file mode 100644 index 9c86577d768..00000000000 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/src/main/resources/build.properties +++ /dev/null @@ -1 +0,0 @@ -custom = true diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/src/main/resources/p2.inf b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/src/main/resources/p2.inf deleted file mode 100644 index 702771b5ec0..00000000000 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature/src/main/resources/p2.inf +++ /dev/null @@ -1,2 +0,0 @@ -instructions.configure = \ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.certificate.mgt.cert.admin.v09.api_${feature.version}/webapps/api#certificate-mgt#v0.9.war,target:${installFolder}/../../deployment/server/webapps/api#certificate-mgt#v0.9.war,overwrite:true);\ \ No newline at end of file diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.server.feature/pom.xml b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.server.feature/pom.xml index 017fb345617..5b3fcd66c03 100644 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.server.feature/pom.xml +++ b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.server.feature/pom.xml @@ -9,7 +9,7 @@ ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ - ~ Unless required by applicable law or agreed to in writing, + ~ Unless required by mciapplicable 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 diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/pom.xml b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/pom.xml deleted file mode 100644 index 4985c884c8e..00000000000 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/pom.xml +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - org.wso2.carbon.devicemgt - certificate-mgt-feature - 3.0.185-SNAPSHOT - ../pom.xml - - - 4.0.0 - org.wso2.carbon.certificate.mgt.v09.api.feature - pom - WSO2 Carbon - Certificate Management v0.9 API Feature - http://wso2.org - This feature contains the v0.9 APIs required for Certificate Management. - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy - package - - copy - - - - - org.wso2.carbon.devicemgt - org.wso2.carbon.certificate.mgt.v09.api - - ${project.version} - war - true - - ${project.build.directory}/maven-shared-archive-resources/webapps - - api#scep-mgt#v0.9.war - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - copy-resources - generate-resources - - copy-resources - - - src/main/resources - - - resources - - build.properties - p2.inf - - - - - - - - - org.wso2.maven - carbon-p2-plugin - - - p2-feature-generation - package - - p2-feature-gen - - - org.wso2.carbon.certificate.mgt.v09.api - ../../../features/etc/feature.properties - - - - org.wso2.carbon.p2.category.type:server - - org.eclipse.equinox.p2.type.group:false - - - - - - - - - - - diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/src/main/resources/build.properties b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/src/main/resources/build.properties deleted file mode 100644 index 9c86577d768..00000000000 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/src/main/resources/build.properties +++ /dev/null @@ -1 +0,0 @@ -custom = true diff --git a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/src/main/resources/p2.inf b/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/src/main/resources/p2.inf deleted file mode 100644 index cf6df690506..00000000000 --- a/features/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api.feature/src/main/resources/p2.inf +++ /dev/null @@ -1,2 +0,0 @@ -instructions.configure = \ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.certificate.mgt.v09.api_${feature.version}/webapps/api#scep-mgt#v0.9.war,target:${installFolder}/../../deployment/server/webapps/api#scep-mgt#v0.9.war,overwrite:true);\ \ No newline at end of file diff --git a/features/certificate-mgt/pom.xml b/features/certificate-mgt/pom.xml index c3c27c3769c..304fabed8f9 100644 --- a/features/certificate-mgt/pom.xml +++ b/features/certificate-mgt/pom.xml @@ -37,9 +37,7 @@ org.wso2.carbon.certificate.mgt.server.feature org.wso2.carbon.certificate.mgt.api.feature - org.wso2.carbon.certificate.mgt.v09.api.feature org.wso2.carbon.certificate.mgt.cert.admin.api.feature - org.wso2.carbon.certificate.mgt.cert.admin.v09.api.feature diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.api.feature/pom.xml b/features/device-mgt/org.wso2.carbon.device.mgt.api.feature/pom.xml index eec9f780662..44d78979fba 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.api.feature/pom.xml +++ b/features/device-mgt/org.wso2.carbon.device.mgt.api.feature/pom.xml @@ -62,6 +62,29 @@ + + copy v09 api + package + + copy + + + + + org.wso2.carbon.devicemgt + org.wso2.carbon.device.mgt.v09.api + + ${project.version} + war + true + + ${project.build.directory}/maven-shared-archive-resources/webapps + + api#device-mgt#v0.9.war + + + + diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.api.feature/src/main/resources/p2.inf b/features/device-mgt/org.wso2.carbon.device.mgt.api.feature/src/main/resources/p2.inf index e0423d3cc3c..fea8965f736 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.api.feature/src/main/resources/p2.inf +++ b/features/device-mgt/org.wso2.carbon.device.mgt.api.feature/src/main/resources/p2.inf @@ -1,3 +1,4 @@ instructions.configure = \ org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/webapps/);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.api_${feature.version}/webapps/api#device-mgt#v1.0.war,target:${installFolder}/../../deployment/server/webapps/api#device-mgt#v1.0.war,overwrite:true);\ \ No newline at end of file +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.api_${feature.version}/webapps/api#device-mgt#v1.0.war,target:${installFolder}/../../deployment/server/webapps/api#device-mgt#v1.0.war,overwrite:true);\ +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.api_${feature.version}/webapps/api#device-mgt#v0.9.war,target:${installFolder}/../../deployment/server/webapps/api#device-mgt#v0.9.war,overwrite:true);\ \ No newline at end of file diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/pom.xml b/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/pom.xml index 3a71520fbf2..37431501527 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/pom.xml +++ b/features/device-mgt/org.wso2.carbon.device.mgt.server.feature/pom.xml @@ -45,11 +45,6 @@ org.wso2.carbon.device.mgt.api.feature zip - - org.wso2.carbon.devicemgt - org.wso2.carbon.device.mgt.v09.api.feature - zip - org.wso2.carbon.devicemgt org.wso2.carbon.device.mgt.url.printer @@ -118,9 +113,6 @@ org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.api.feature:${carbon.device.mgt.version} - - org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.v09.api.feature:${carbon.device.mgt.version} - diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/pom.xml b/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/pom.xml deleted file mode 100644 index 02c4046c8b1..00000000000 --- a/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/pom.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - org.wso2.carbon.devicemgt - device-mgt-feature - 3.0.185-SNAPSHOT - ../pom.xml - - - 4.0.0 - org.wso2.carbon.device.mgt.v09.api.feature - pom - WSO2 Carbon - Device Management v0.9 API Feature - http://wso2.org - This feature contains the v0.9 APIs required for Device Management console UI - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy - package - - copy - - - - - org.wso2.carbon.devicemgt - org.wso2.carbon.device.mgt.v09.api - - ${project.version} - war - true - - ${project.build.directory}/maven-shared-archive-resources/webapps - - api#device-mgt#v0.9.war - - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - copy-resources - generate-resources - - copy-resources - - - src/main/resources - - - resources - - build.properties - p2.inf - - - - - - - - - org.wso2.maven - carbon-p2-plugin - - - p2-feature-generation - package - - p2-feature-gen - - - org.wso2.carbon.device.mgt.v09.api - ../../../features/etc/feature.properties - - - - org.wso2.carbon.p2.category.type:server - - org.eclipse.equinox.p2.type.group:false - - - - - - - - - - diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/src/main/resources/build.properties b/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/src/main/resources/build.properties deleted file mode 100644 index 9c86577d768..00000000000 --- a/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/src/main/resources/build.properties +++ /dev/null @@ -1 +0,0 @@ -custom = true diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/src/main/resources/p2.inf b/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/src/main/resources/p2.inf deleted file mode 100644 index ada11f03678..00000000000 --- a/features/device-mgt/org.wso2.carbon.device.mgt.v09.api.feature/src/main/resources/p2.inf +++ /dev/null @@ -1,3 +0,0 @@ -instructions.configure = \ -org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/webapps/);\ -org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.v09.api_${feature.version}/webapps/api#device-mgt#v0.9.war,target:${installFolder}/../../deployment/server/webapps/api#device-mgt#v0.9.war,overwrite:true);\ \ No newline at end of file diff --git a/features/device-mgt/pom.xml b/features/device-mgt/pom.xml index 8bb7d840d8a..951a74fe3ac 100644 --- a/features/device-mgt/pom.xml +++ b/features/device-mgt/pom.xml @@ -37,7 +37,6 @@ org.wso2.carbon.device.mgt.server.feature org.wso2.carbon.device.mgt.ui.feature org.wso2.carbon.device.mgt.api.feature - org.wso2.carbon.device.mgt.v09.api.feature org.wso2.carbon.device.mgt.feature org.wso2.carbon.device.mgt.extensions.feature org.wso2.carbon.device.mgt.analytics.data.publisher.feature