mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Add com.ibm.icu dependency for android project
This commit is contained in:
@@ -1,365 +1,370 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
|
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
|
||||||
<packaging.type>jar</packaging.type>
|
<packaging.type>jar</packaging.type>
|
||||||
<build.min.memory>-Xms128m</build.min.memory>
|
<build.min.memory>-Xms128m</build.min.memory>
|
||||||
<build.max.memory>-Xmx2048m</build.max.memory>
|
<build.max.memory>-Xmx2048m</build.max.memory>
|
||||||
<alpha-version>1.5.24.009</alpha-version>
|
<alpha-version>1.5.24.009</alpha-version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>forge</artifactId>
|
<artifactId>forge</artifactId>
|
||||||
<groupId>forge</groupId>
|
<groupId>forge</groupId>
|
||||||
<version>1.5.24-SNAPSHOT</version>
|
<version>1.5.24-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>forge-gui-android</artifactId>
|
<artifactId>forge-gui-android</artifactId>
|
||||||
<packaging>${packaging.type}</packaging>
|
<packaging>${packaging.type}</packaging>
|
||||||
<name>Forge Android</name>
|
<name>Forge Android</name>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>src</sourceDirectory>
|
<sourceDirectory>src</sourceDirectory>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.7</source>
|
<source>1.7</source>
|
||||||
<target>1.7</target>
|
<target>1.7</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
<finalName>forge-android-${alpha-version}</finalName>
|
<finalName>forge-android-${alpha-version}</finalName>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.android</groupId>
|
<groupId>com.google.android</groupId>
|
||||||
<artifactId>android</artifactId>
|
<artifactId>android</artifactId>
|
||||||
<version>4.1.1.4</version>
|
<version>4.1.1.4</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>forge</groupId>
|
<groupId>forge</groupId>
|
||||||
<artifactId>forge-core</artifactId>
|
<artifactId>forge-core</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>forge</groupId>
|
<groupId>forge</groupId>
|
||||||
<artifactId>forge-game</artifactId>
|
<artifactId>forge-game</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>forge</groupId>
|
<groupId>forge</groupId>
|
||||||
<artifactId>forge-ai</artifactId>
|
<artifactId>forge-ai</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>forge</groupId>
|
<groupId>forge</groupId>
|
||||||
<artifactId>forge-net</artifactId>
|
<artifactId>forge-net</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>forge</groupId>
|
<groupId>forge</groupId>
|
||||||
<artifactId>forge-gui</artifactId>
|
<artifactId>forge-gui</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>forge</groupId>
|
<groupId>forge</groupId>
|
||||||
<artifactId>forge-gui-mobile</artifactId>
|
<artifactId>forge-gui-mobile</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.guava</groupId>
|
<groupId>com.google.guava</groupId>
|
||||||
<artifactId>guava</artifactId>
|
<artifactId>guava</artifactId>
|
||||||
<version>16.0.1</version>
|
<version>16.0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.thoughtworks.xstream</groupId>
|
<groupId>com.thoughtworks.xstream</groupId>
|
||||||
<artifactId>xstream</artifactId>
|
<artifactId>xstream</artifactId>
|
||||||
<version>1.4.7</version>
|
<version>1.4.7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-lang3</artifactId>
|
<artifactId>commons-lang3</artifactId>
|
||||||
<version>3.3</version>
|
<version>3.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>xmlpull</groupId>
|
<groupId>xmlpull</groupId>
|
||||||
<artifactId>xmlpull</artifactId>
|
<artifactId>xmlpull</artifactId>
|
||||||
<version>1.1.3.1</version>
|
<version>1.1.3.1</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.badlogicgames.gdx</groupId>
|
<groupId>com.badlogicgames.gdx</groupId>
|
||||||
<artifactId>gdx-backend-android</artifactId>
|
<artifactId>gdx-backend-android</artifactId>
|
||||||
<version>1.2.0</version>
|
<version>1.2.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
<dependency>
|
||||||
|
<groupId>com.ibm.icu</groupId>
|
||||||
|
<artifactId>icu4j</artifactId>
|
||||||
|
<version>53.1</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>android-debug</id>
|
<id>android-debug</id>
|
||||||
<properties>
|
<properties>
|
||||||
<packaging.type>apk</packaging.type>
|
<packaging.type>apk</packaging.type>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
||||||
<artifactId>android-maven-plugin</artifactId>
|
<artifactId>android-maven-plugin</artifactId>
|
||||||
<version>3.9.0-rc.1</version>
|
<version>3.9.0-rc.1</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sign>
|
<sign>
|
||||||
<debug>true</debug>
|
<debug>true</debug>
|
||||||
</sign>
|
</sign>
|
||||||
<sdk>
|
<sdk>
|
||||||
<platform>19</platform>
|
<platform>19</platform>
|
||||||
</sdk>
|
</sdk>
|
||||||
<dexForceJumbo>true</dexForceJumbo>
|
<dexForceJumbo>true</dexForceJumbo>
|
||||||
<deleteConflictingFiles>true</deleteConflictingFiles>
|
<deleteConflictingFiles>true</deleteConflictingFiles>
|
||||||
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
|
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
|
||||||
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
|
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
|
||||||
<resourceDirectory>${project.basedir}/res</resourceDirectory>
|
<resourceDirectory>${project.basedir}/res</resourceDirectory>
|
||||||
<nativeLibrariesDirectory>${project.basedir}/libs</nativeLibrariesDirectory>
|
<nativeLibrariesDirectory>${project.basedir}/libs</nativeLibrariesDirectory>
|
||||||
<extractDuplicates>true</extractDuplicates>
|
<extractDuplicates>true</extractDuplicates>
|
||||||
<proguard>
|
<proguard>
|
||||||
<config>${project.basedir}/proguard.cfg</config>
|
<config>${project.basedir}/proguard.cfg</config>
|
||||||
</proguard>
|
</proguard>
|
||||||
<release>true</release>
|
<release>true</release>
|
||||||
<dex>
|
<dex>
|
||||||
<jvmArguments>
|
<jvmArguments>
|
||||||
<argument>${build.min.memory}</argument>
|
<argument>${build.min.memory}</argument>
|
||||||
<argument>${build.max.memory}</argument>
|
<argument>${build.max.memory}</argument>
|
||||||
</jvmArguments>
|
</jvmArguments>
|
||||||
</dex>
|
</dex>
|
||||||
<jvmArguments>
|
<jvmArguments>
|
||||||
<argument>${build.min.memory}</argument>
|
<argument>${build.min.memory}</argument>
|
||||||
<argument>${build.max.memory}</argument>
|
<argument>${build.max.memory}</argument>
|
||||||
</jvmArguments>
|
</jvmArguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>android-release-build</id>
|
<id>android-release-build</id>
|
||||||
<properties>
|
<properties>
|
||||||
<packaging.type>apk</packaging.type>
|
<packaging.type>apk</packaging.type>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
||||||
<artifactId>android-maven-plugin</artifactId>
|
<artifactId>android-maven-plugin</artifactId>
|
||||||
<version>3.9.0-rc.1</version>
|
<version>3.9.0-rc.1</version>
|
||||||
<extensions>true</extensions>
|
<extensions>true</extensions>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sign>
|
<sign>
|
||||||
<debug>false</debug>
|
<debug>false</debug>
|
||||||
</sign>
|
</sign>
|
||||||
<sdk>
|
<sdk>
|
||||||
<platform>19</platform>
|
<platform>19</platform>
|
||||||
</sdk>
|
</sdk>
|
||||||
<zipalign>
|
<zipalign>
|
||||||
<verbose>false</verbose>
|
<verbose>false</verbose>
|
||||||
</zipalign>
|
</zipalign>
|
||||||
<dexForceJumbo>true</dexForceJumbo>
|
<dexForceJumbo>true</dexForceJumbo>
|
||||||
<deleteConflictingFiles>true</deleteConflictingFiles>
|
<deleteConflictingFiles>true</deleteConflictingFiles>
|
||||||
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
|
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
|
||||||
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
|
<assetsDirectory>${project.basedir}/assets</assetsDirectory>
|
||||||
<resourceDirectory>${project.basedir}/res</resourceDirectory>
|
<resourceDirectory>${project.basedir}/res</resourceDirectory>
|
||||||
<nativeLibrariesDirectory>${project.basedir}/libs</nativeLibrariesDirectory>
|
<nativeLibrariesDirectory>${project.basedir}/libs</nativeLibrariesDirectory>
|
||||||
<extractDuplicates>true</extractDuplicates>
|
<extractDuplicates>true</extractDuplicates>
|
||||||
<proguard>
|
<proguard>
|
||||||
<config>${project.basedir}/proguard.cfg</config>
|
<config>${project.basedir}/proguard.cfg</config>
|
||||||
</proguard>
|
</proguard>
|
||||||
<release>true</release>
|
<release>true</release>
|
||||||
<dex>
|
<dex>
|
||||||
<jvmArguments>
|
<jvmArguments>
|
||||||
<argument>${build.min.memory}</argument>
|
<argument>${build.min.memory}</argument>
|
||||||
<argument>${build.max.memory}</argument>
|
<argument>${build.max.memory}</argument>
|
||||||
</jvmArguments>
|
</jvmArguments>
|
||||||
</dex>
|
</dex>
|
||||||
<jvmArguments>
|
<jvmArguments>
|
||||||
<argument>${build.min.memory}</argument>
|
<argument>${build.min.memory}</argument>
|
||||||
<argument>${build.max.memory}</argument>
|
<argument>${build.max.memory}</argument>
|
||||||
</jvmArguments>
|
</jvmArguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>android-release-sign</id>
|
<id>android-release-sign</id>
|
||||||
<properties>
|
<properties>
|
||||||
<packaging.type>apk</packaging.type>
|
<packaging.type>apk</packaging.type>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-jarsigner-plugin</artifactId>
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
||||||
<version>1.3.2</version>
|
<version>1.3.2</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>signing</id>
|
<id>signing</id>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>sign</goal>
|
<goal>sign</goal>
|
||||||
<goal>verify</goal>
|
<goal>verify</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
<inherited>true</inherited>
|
<inherited>true</inherited>
|
||||||
<configuration>
|
<configuration>
|
||||||
<removeExistingSignatures>true</removeExistingSignatures>
|
<removeExistingSignatures>true</removeExistingSignatures>
|
||||||
<archiveDirectory />
|
<archiveDirectory />
|
||||||
<includes>
|
<includes>
|
||||||
<include>${project.build.directory}/${project.build.finalName}.apk</include>
|
<include>${project.build.directory}/${project.build.finalName}.apk</include>
|
||||||
</includes>
|
</includes>
|
||||||
<keystore>${sign.keystore}</keystore>
|
<keystore>${sign.keystore}</keystore>
|
||||||
<alias>${sign.alias}</alias>
|
<alias>${sign.alias}</alias>
|
||||||
<storepass>${sign.storepass}</storepass>
|
<storepass>${sign.storepass}</storepass>
|
||||||
<keypass>${sign.keypass}</keypass>
|
<keypass>${sign.keypass}</keypass>
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
<arguments>
|
<arguments>
|
||||||
<argument>-sigalg</argument>
|
<argument>-sigalg</argument>
|
||||||
<argument>MD5withRSA</argument>
|
<argument>MD5withRSA</argument>
|
||||||
<argument>-digestalg</argument>
|
<argument>-digestalg</argument>
|
||||||
<argument>SHA1</argument>
|
<argument>SHA1</argument>
|
||||||
</arguments>
|
</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
||||||
<artifactId>android-maven-plugin</artifactId>
|
<artifactId>android-maven-plugin</artifactId>
|
||||||
<version>3.9.0-rc.1</version>
|
<version>3.9.0-rc.1</version>
|
||||||
<inherited>true</inherited>
|
<inherited>true</inherited>
|
||||||
<configuration>
|
<configuration>
|
||||||
<sign>
|
<sign>
|
||||||
<debug>false</debug>
|
<debug>false</debug>
|
||||||
</sign>
|
</sign>
|
||||||
<zipalign>
|
<zipalign>
|
||||||
<skip>false</skip>
|
<skip>false</skip>
|
||||||
<verbose>true</verbose>
|
<verbose>true</verbose>
|
||||||
<inputApk>${project.build.directory}/${project.build.finalName}.apk</inputApk>
|
<inputApk>${project.build.directory}/${project.build.finalName}.apk</inputApk>
|
||||||
<outputApk>${project.build.directory}/${project.build.finalName}-signed-aligned.apk</outputApk>
|
<outputApk>${project.build.directory}/${project.build.finalName}-signed-aligned.apk</outputApk>
|
||||||
</zipalign>
|
</zipalign>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>android-align</id>
|
<id>android-align</id>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>zipalign</goal>
|
<goal>zipalign</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.7</version>
|
<version>1.7</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.ant</groupId>
|
<groupId>org.apache.ant</groupId>
|
||||||
<artifactId>ant-nodeps</artifactId>
|
<artifactId>ant-nodeps</artifactId>
|
||||||
<version>1.8.1</version>
|
<version>1.8.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>android-release-packaging</id>
|
<id>android-release-packaging</id>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<copy todir="${project.build.directory}/res">
|
<copy todir="${project.build.directory}/res">
|
||||||
<fileset dir="${basedir}/../forge-gui/" includes="LICENSE.txt" />
|
<fileset dir="${basedir}/../forge-gui/" includes="LICENSE.txt" />
|
||||||
<fileset dir="${basedir}/../forge-gui/" includes="README.txt" />
|
<fileset dir="${basedir}/../forge-gui/" includes="README.txt" />
|
||||||
<fileset dir="${basedir}/../forge-gui/" includes="CHANGES.txt" />
|
<fileset dir="${basedir}/../forge-gui/" includes="CHANGES.txt" />
|
||||||
<fileset dir="${basedir}/../forge-gui/">
|
<fileset dir="${basedir}/../forge-gui/">
|
||||||
<include name="res/**" />
|
<include name="res/**" />
|
||||||
<exclude name="res/cardsfolder/**" />
|
<exclude name="res/cardsfolder/**" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<mkdir
|
<mkdir
|
||||||
dir="${project.build.directory}/res/res/cardsfolder" />
|
dir="${project.build.directory}/res/res/cardsfolder" />
|
||||||
<zip
|
<zip
|
||||||
destfile="${project.build.directory}/res/res/cardsfolder/cardsfolder.zip"
|
destfile="${project.build.directory}/res/res/cardsfolder/cardsfolder.zip"
|
||||||
basedir="${basedir}/../forge-gui/res/cardsfolder" level="1" />
|
basedir="${basedir}/../forge-gui/res/cardsfolder" level="1" />
|
||||||
<zip destfile="${project.build.directory}/assets.zip"
|
<zip destfile="${project.build.directory}/assets.zip"
|
||||||
basedir="${project.build.directory}/res" level="1" />
|
basedir="${project.build.directory}/res" level="1" />
|
||||||
<delete dir="${project.build.directory}/res"/>
|
<delete dir="${project.build.directory}/res"/>
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>android-release-upload</id>
|
<id>android-release-upload</id>
|
||||||
<properties>
|
<properties>
|
||||||
<packaging.type>apk</packaging.type>
|
<packaging.type>apk</packaging.type>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.7</version>
|
<version>1.7</version>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.ant</groupId>
|
<groupId>org.apache.ant</groupId>
|
||||||
<artifactId>ant-nodeps</artifactId>
|
<artifactId>ant-nodeps</artifactId>
|
||||||
<version>1.8.1</version>
|
<version>1.8.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-net</groupId>
|
<groupId>commons-net</groupId>
|
||||||
<artifactId>commons-net</artifactId>
|
<artifactId>commons-net</artifactId>
|
||||||
<version>1.4.1</version>
|
<version>1.4.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ant</groupId>
|
<groupId>ant</groupId>
|
||||||
<artifactId>ant-commons-net</artifactId>
|
<artifactId>ant-commons-net</artifactId>
|
||||||
<version>1.6.5</version>
|
<version>1.6.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>android-ftp</id>
|
<id>android-ftp</id>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<ftp action="mkdir" password="${cardforge.pass}" server="ftp.cardforge.org"
|
<ftp action="mkdir" password="${cardforge.pass}" server="ftp.cardforge.org"
|
||||||
userid="${cardforge.user}" passive="true"
|
userid="${cardforge.user}" passive="true"
|
||||||
remotedir="releases/forge/forge-gui-android/${alpha-version}" />
|
remotedir="releases/forge/forge-gui-android/${alpha-version}" />
|
||||||
<ftp password="${cardforge.pass}" server="ftp.cardforge.org"
|
<ftp password="${cardforge.pass}" server="ftp.cardforge.org"
|
||||||
userid="${cardforge.user}" passive="true"
|
userid="${cardforge.user}" passive="true"
|
||||||
remotedir="releases/forge/forge-gui-android/${alpha-version}/">
|
remotedir="releases/forge/forge-gui-android/${alpha-version}/">
|
||||||
<fileset dir="${project.build.directory}">
|
<fileset dir="${project.build.directory}">
|
||||||
<include name="${project.build.finalName}-signed-aligned.apk" />
|
<include name="${project.build.finalName}-signed-aligned.apk" />
|
||||||
<include name="assets.zip" />
|
<include name="assets.zip" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</ftp>
|
</ftp>
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
Reference in New Issue
Block a user