From b80c5c40a68623e73623a43374f8a940b6d5acb0 Mon Sep 17 00:00:00 2001 From: Pahansith Gunathilake Date: Mon, 20 Dec 2021 16:41:22 +0530 Subject: [PATCH] Add maven dependency plugin to extract wso2am pack --- iot-core/pom.xml | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/iot-core/pom.xml b/iot-core/pom.xml index 9628a3e..effdd3f 100644 --- a/iot-core/pom.xml +++ b/iot-core/pom.xml @@ -51,32 +51,38 @@ org.apache.maven.plugins - maven-antrun-plugin + maven-dependency-plugin + 3.2.0 - - check-pack - process-resources - - run - - - - - - - extract-pack process-resources - run + unpack - - - + + + org.wso2.am + am-parent + ${wso2am-nexus-artifact-version} + zip + true + ${project.basedir}/target + wso2am-${wso2am-nexus-artifact-version} + + + ${project.basedir}/target + false + true + + + + org.apache.maven.plugins + maven-antrun-plugin + update-dbscripts process-resources @@ -178,7 +184,6 @@ - org.wso2.maven carbon-p2-plugin