Android studio maven pom.xml

通用pom.xml文件模板及其注释:

  
<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/maven-v4_0_0.xsd">  

      
    <modelVersion>4.0.0modelVersion>  

      
    <groupId>org.hellogroupId>  

      
    <artifactId>gs-maven-androidartifactId>  

     
    <version>0.1.0version>  

  

     
    <packaging>apkpackaging>  


    <properties>  
          
        <project.build.sourceEncoding>UTF-8project.build.sourceEncoding>  
        <project.reporting.outputEncoding>UTF-8project.reporting.outputEncoding>  
    properties>  

     
    <dependencies>  
        <dependency>  
            <groupId>com.google.androidgroupId>  
            <artifactId>androidartifactId>  
            <version>4.1.1.4version>  
             
            <scope>providedscope>  
        dependency>  
    dependencies>  


     
    <build>  
        <plugins>  
            <plugin>  
                <groupId>com.jayway.maven.plugins.android.generation2groupId>  
                <artifactId>android-maven-pluginartifactId>  
                <version>3.9.0-rc.1version>  
                <configuration>  
                    <sdk>  
                        <platform>19platform>  
                    sdk>  
                    <deleteConflictingFiles>truedeleteConflictingFiles>  
                    <undeployBeforeDeploy>trueundeployBeforeDeploy>  
                configuration>  
              
            <extensions>trueextensions>  
        plugin>  
        <plugin>  
            <artifactId>maven-compiler-pluginartifactId>  
            <version>3.1version>  
            <configuration>  
                <source>1.6source>  
                <target>1.6target>  
            configuration>  
        plugin>  
    plugins>  
build>  
project>  

你可能感兴趣的:(android)