mirror of
https://repository.entgra.net/community/community-product.git
synced 2025-09-16 23:42:18 +00:00
Merge branch 'wum-final' into 'master'
Change APIM pack download method See merge request entgra/community-product!12
This commit is contained in:
commit
99d4b7fadb
@ -23,7 +23,7 @@
|
||||
<groupId>io.entgra.community</groupId>
|
||||
<artifactId>community-parent</artifactId>
|
||||
<version>5.0.1-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
<relativePath>${basedir}/pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
<groupId>io.entgra.community</groupId>
|
||||
<artifactId>community-parent</artifactId>
|
||||
<version>5.0.1-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
<relativePath>${basedir}/pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
@ -40,6 +40,12 @@
|
||||
<groupId>org.wso2.carbon.devicemgt</groupId>
|
||||
<artifactId>org.wso2.carbon.device.mgt.oauth.extensions</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.wso2.am</groupId>
|
||||
<artifactId>am-parent</artifactId>
|
||||
<version>${wso2am-nexus-artifact-version}</version>
|
||||
<type>zip</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@ -56,19 +62,7 @@
|
||||
</goals>
|
||||
<configuration>
|
||||
<target name="check-pack">
|
||||
<available file="${wso2am}.zip" property="pack.exists" />
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>download-pack</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target name="download-pack" unless="pack.exists">
|
||||
<get src="${wso2am-download-url}" dest="${basedir}" verbose="false" usetimestamp="true" />
|
||||
<available file="${user.home}/.m2/repository/org/wso2/am/am-parent/4.0.0/am-parent-${wso2am-nexus-artifact-version}.zip" property="pack.exists" />
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
@ -80,7 +74,7 @@
|
||||
</goals>
|
||||
<configuration>
|
||||
<target name="extract-pack">
|
||||
<unzip src="${wso2am}.zip" dest="target" overwrite="true" />
|
||||
<unzip src="${user.home}/.m2/repository/org/wso2/am/am-parent/4.0.0/am-parent-${wso2am-nexus-artifact-version}.zip" dest="target" overwrite="true" />
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
<groupId>io.entgra.community</groupId>
|
||||
<artifactId>community-parent</artifactId>
|
||||
<version>5.0.1-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
<relativePath>${basedir}/pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
2
pom.xml
2
pom.xml
@ -106,8 +106,8 @@
|
||||
|
||||
<properties>
|
||||
|
||||
<wso2am-nexus-artifact-version>4.0.0</wso2am-nexus-artifact-version>
|
||||
<wso2am>wso2am-4.0.0</wso2am>
|
||||
<wso2am-download-url>https://github.com/wso2/product-apim/releases/download/v4.0.0/${wso2am}.zip</wso2am-download-url>
|
||||
|
||||
<entgra-iot-core>entgra-iot-core-${project.version}</entgra-iot-core>
|
||||
<entgra-iot-community>entgra-iot-community-${project.version}</entgra-iot-community>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user