Get agent apks from nexus

merge-requests/46/head
Charitha Goonetilleke 6 years ago
parent 4bc04b7923
commit 32abd77e4a

@ -31,6 +31,9 @@
<zipfileset
dir="target/"
includes="JavaApp.jar" fullpath="JavaApp.jar"/>
<zipfileset
dir="target/"
includes="client-debug.apk" fullpath="resources/client-debug.apk"/>
<zipfileset dir="${src-dir}/" includes="startEmulator.sh" filemode="755"/>
<zipfileset dir="${src-dir}"/>
</zip>

@ -33,6 +33,19 @@
<name>WSO2 Carbon - Mobile Android UI</name>
<packaging>pom</packaging>
<dependencies>
<dependency>
<groupId>io.entgra.emm</groupId>
<artifactId>io.entgra.emm.android.agent.release</artifactId>
<type>apk</type>
</dependency>
<dependency>
<groupId>io.entgra.emm</groupId>
<artifactId>io.entgra.emm.android.agent.debug</artifactId>
<type>apk</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
@ -56,6 +69,24 @@
</outputDirectory>
<destFileName>JavaApp.jar</destFileName>
</artifactItem>
<artifactItem>
<groupId>io.entgra.emm</groupId>
<artifactId>io.entgra.emm.android.agent.release</artifactId>
<type>apk</type>
<version>${android.agent.version}</version>
<overWrite>true</overWrite>
<outputDirectory>${project.basedir}/target/</outputDirectory>
<destFileName>android-agent.apk</destFileName>
</artifactItem>
<artifactItem>
<groupId>io.entgra.emm</groupId>
<artifactId>io.entgra.emm.android.agent.debug</artifactId>
<type>apk</type>
<version>${android.agent.version}</version>
<overWrite>true</overWrite>
<outputDirectory>${project.basedir}/target/</outputDirectory>
<destFileName>client-debug.apk</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>

@ -42,5 +42,13 @@
</outputDirectory>
<fileMode>755</fileMode>
</file>
<file>
<source>
${basedir}/target/android-agent.apk
</source>
<outputDirectory>/devicemgt/app/units/cdmf.unit.device.type.android.type-view/public/assets/
</outputDirectory>
<fileMode>755</fileMode>
</file>
</files>
</assembly>

@ -1186,6 +1186,18 @@
<artifactId>feign-okhttp</artifactId>
<version>${github.openfeign.version}</version>
</dependency>
<dependency>
<groupId>io.entgra.emm</groupId>
<artifactId>io.entgra.emm.android.agent.release</artifactId>
<type>apk</type>
<version>${android.agent.version}</version>
</dependency>
<dependency>
<groupId>io.entgra.emm</groupId>
<artifactId>io.entgra.emm.android.agent.debug</artifactId>
<type>apk</type>
<version>${android.agent.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
@ -1239,6 +1251,9 @@
<!-- Carbon Device Management Plugins -->
<carbon.devicemgt.plugins.version>4.2.6-SNAPSHOT</carbon.devicemgt.plugins.version>
<!-- Android Agent Artifact Version-->
<android.agent.version>3.6.0</android.agent.version>
<!-- Carbon Commons -->
<carbon.commons.version>4.6.21</carbon.commons.version>

Loading…
Cancel
Save