From 2ea8aafee82dbdf42198f2fdce43f1a661726480 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Sun, 15 Jan 2017 03:37:40 +0530 Subject: [PATCH] Adding [basedir] on dist.xml --- modules/distribution/src/assembly/dist.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/modules/distribution/src/assembly/dist.xml b/modules/distribution/src/assembly/dist.xml index ad2b2fb7..fdd91e0f 100644 --- a/modules/distribution/src/assembly/dist.xml +++ b/modules/distribution/src/assembly/dist.xml @@ -25,21 +25,21 @@ - target/wso2iot-core-${product.iot.version}/ + ${basedir}/target/wso2iot-core-${product.iot.version}/ wso2iot-${product.iot.version}/core */** - target/wso2iot-analytics-${product.iot.version} + ${basedir}/target/wso2iot-analytics-${product.iot.version} wso2iot-${product.iot.version}/analytics */** - target/wso2iot-broker-${product.iot.version} + ${basedir}/target/wso2iot-broker-${product.iot.version} wso2iot-${product.iot.version}/broker */** @@ -54,7 +54,7 @@ - src/resources/plugins + ${basedir}/src/resources/plugins wso2iot-${product.iot.version}/plugins */** @@ -63,18 +63,22 @@ true - src/resources/samples + ${basedir}/src/resources/samples wso2iot-${product.iot.version}/samples */** + + **/*samples-deployer.xml + **/*connectedcup/pom.xml + 644 - src/resources/samples/samples-deployer.xml + ${basedir}/src/resources/samples/samples-deployer.xml wso2iot-${product.iot.version}/samples/ true @@ -82,7 +86,7 @@ - src/resources/samples/connectedcup/pom.xml + ${basedir}/src/resources/samples/connectedcup/pom.xml wso2iot-${product.iot.version}/samples/connectedcup true