|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<artifactId>wso2iot</artifactId>
|
|
|
|
|
<artifactId>wso2iots</artifactId>
|
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<name>WSO2 IoT Server - Distribution</name>
|
|
|
|
@ -205,18 +205,18 @@
|
|
|
|
|
<!--<property name="shindig.version" value="2.5.0-beta5" />-->
|
|
|
|
|
|
|
|
|
|
<mkdir dir="${tempdir}"/>
|
|
|
|
|
<mkdir dir="${tempdir}/wso2iot-${project.version}/repository/components"/>
|
|
|
|
|
<mkdir dir="${tempdir}/wso2iot-${project.version}/repository/deployment/server"/>
|
|
|
|
|
<mkdir dir="${tempdir}/wso2iot-${project.version}/repository/deployment/server/webapps"/>
|
|
|
|
|
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/components"/>
|
|
|
|
|
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/deployment/server"/>
|
|
|
|
|
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/deployment/server/webapps"/>
|
|
|
|
|
<unzip dest="${tempdir}">
|
|
|
|
|
<fileset dir="target">
|
|
|
|
|
<include name="wso2iot-${project.version}.zip"/>
|
|
|
|
|
<include name="${project.artifactId}-${project.version}.zip"/>
|
|
|
|
|
</fileset>
|
|
|
|
|
</unzip>
|
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components"
|
|
|
|
|
overwrite="true">
|
|
|
|
|
<fileset
|
|
|
|
|
dir="${tempdir}/wso2iot-${project.version}/repository/components"/>
|
|
|
|
|
dir="${tempdir}/${project.artifactId}-${project.version}/repository/components"/>
|
|
|
|
|
</copy>
|
|
|
|
|
<!--testing -->
|
|
|
|
|
<!--<unzip src="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" dest="${jardir}/shindig-common-${shindig.version}">
|
|
|
|
@ -237,7 +237,7 @@ d <exclude name="**/shindig.properties" /
|
|
|
|
|
og4j.logger.net.sf.ehcache=ERROR
|
|
|
|
|
</concat>
|
|
|
|
|
|
|
|
|
|
<delete file="target/wso2iot-${project.version}.zip"/>
|
|
|
|
|
<delete file="target/${project.artifactId}-${project.version}.zip"/>
|
|
|
|
|
<delete dir="${tempdir}"/>
|
|
|
|
|
</tasks>
|
|
|
|
|
</configuration>
|
|
|
|
@ -301,7 +301,7 @@ d <exclude name="**/shindig.properties" /
|
|
|
|
|
<delete dir="target/maven-archiver"/>
|
|
|
|
|
<delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
|
|
|
|
|
<delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
|
|
|
|
|
<delete file="target/wso2iot-${project.version}.jar"/>
|
|
|
|
|
<delete file="target/${project.artifactId}-${project.version}.jar"/>
|
|
|
|
|
<delete dir="target/sources"/>
|
|
|
|
|
<delete dir="target/site"/>
|
|
|
|
|
<delete dir="target/antrun"/>
|
|
|
|
|