archetype-resources.pom.xml Maven / Gradle / Ivy
<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"> <modelVersion>4.0.0</modelVersion> <groupId>${groupId}</groupId> <artifactId>${artifactId}-parent</artifactId> <version>${version}</version> <packaging>pom</packaging> <name>${artifactId} - Parent</name> <modules> <module>${rootArtifactId}</module> <module>${rootArtifactId}-samples</module> </modules> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>1.6</java.version> <android.version>4.1.1.4</android.version> <android-support.version>r7</android-support.version> <android.plugin.version>3.8.1</android.plugin.version> <platform.version>4.4.2_r3</platform.version> <compatibility-v4.version>19.1.0</compatibility-v4.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>com.google.android</groupId> <artifactId>android</artifactId> <version>${android.version}</version> <scope>provided</scope> </dependency> <!--<dependency>--> <!--<groupId>android</groupId>--> <!--<artifactId>android</artifactId>--> <!--<version>${platform.version}</version>--> <!--<scope>provided</scope>--> <!--</dependency>--> #if($Integer.parseInt(${minSdkVersion}) le 10) <dependency> <groupId>com.google.android</groupId> <artifactId>support-v4</artifactId> <version>${android-support.version}</version> </dependency> <!--<dependency>--> <!--<groupId>android.support</groupId>--> <!--<artifactId>compatibility-v4</artifactId>--> <!--<version>${compatibility-v4.version}</version>--> <!--</dependency>--> #end </dependencies> </dependencyManagement> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>1.3.1</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <phase>initialize</phase> <configuration> <rules> <requireMavenVersion> <version>[3.1.1,)</version> <message>Check for Maven version >=3.1.1 failed. Upgrade your Maven installation.</message> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>android-maven-plugin</artifactId> <version>${android.plugin.version}</version> <extensions>true</extensions> <configuration> <sdk> <platform>${targetSdkVersion}</platform> </sdk> <undeployBeforeDeploy>true</undeployBeforeDeploy> <manifest> <debuggable>true</debuggable> <versionCodeAutoIncrement>true</versionCodeAutoIncrement> <versionName>${project.version}</versionName> </manifest> </configuration> </plugin> </plugins> </pluginManagement> </build> </project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy