chat/client-android/pom.xml
branchNewChat
changeset 238 a0f15cb8c730
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/chat/client-android/pom.xml	Fri Apr 22 05:56:47 2016 +0200
     1.3 @@ -0,0 +1,204 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     1.6 +         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     1.7 +    <modelVersion>4.0.0</modelVersion>
     1.8 +
     1.9 +    <parent>
    1.10 +        <groupId>org.apidesign.demo</groupId>
    1.11 +        <artifactId>chat-pom</artifactId>
    1.12 +        <version>1.0-SNAPSHOT</version>
    1.13 +    </parent>
    1.14 +    
    1.15 +    <groupId>org.apidesign.demo</groupId>
    1.16 +    <artifactId>chat-android</artifactId>
    1.17 +    <version>1.0-SNAPSHOT</version>
    1.18 +    <packaging>apk</packaging>
    1.19 +
    1.20 +    <name>chat Client for Android</name>
    1.21 +
    1.22 +    <properties>
    1.23 +        <platform.version>4.1.1.4</platform.version>
    1.24 +        <android.plugin.version>4.2.0</android.plugin.version>
    1.25 +        <android.platform.version>19</android.platform.version>
    1.26 +        <debug>false</debug>
    1.27 +    </properties>
    1.28 +    <build>
    1.29 +        <plugins>
    1.30 +            <plugin>
    1.31 +                <groupId>org.netbeans.html</groupId>
    1.32 +                <artifactId>html4j-maven-plugin</artifactId>
    1.33 +                <version>${net.java.html.version}</version>
    1.34 +                <executions>
    1.35 +                    <execution>
    1.36 +                        <id>js-classes</id>
    1.37 +                        <goals>
    1.38 +                            <goal>process-js-annotations</goal>
    1.39 +                        </goals>
    1.40 +                    </execution>
    1.41 +                </executions>
    1.42 +            </plugin>          
    1.43 +            <plugin>
    1.44 +                <groupId>org.apache.maven.plugins</groupId>
    1.45 +                <artifactId>maven-compiler-plugin</artifactId>
    1.46 +                <version>2.3.2</version>
    1.47 +                <configuration>
    1.48 +                    <source>1.7</source>
    1.49 +                    <target>1.7</target>
    1.50 +                </configuration>
    1.51 +            </plugin>
    1.52 +            <plugin>
    1.53 +                <groupId>org.apache.maven.plugins</groupId>
    1.54 +                <artifactId>maven-jar-plugin</artifactId>
    1.55 +                <version>2.4</version>
    1.56 +            </plugin>
    1.57 +            <plugin>
    1.58 +                <groupId>org.apache.maven.plugins</groupId>
    1.59 +                <artifactId>maven-dependency-plugin</artifactId>
    1.60 +                <version>2.9</version>
    1.61 +                <executions>
    1.62 +                    <execution>
    1.63 +                        <id>unpack</id>
    1.64 +                        <phase>process-resources</phase>
    1.65 +                        <goals>
    1.66 +                            <goal>unpack-dependencies</goal>
    1.67 +                        </goals>
    1.68 +                    </execution>
    1.69 +                </executions>
    1.70 +                <configuration>
    1.71 +                    <type>zip</type>
    1.72 +                    <classifier>webpages</classifier>
    1.73 +                    <overWrite>true</overWrite>
    1.74 +                    <outputDirectory>target/generated-sources/combined-assets/pages</outputDirectory>
    1.75 +                    <includes>*/**</includes>
    1.76 +                </configuration>
    1.77 +            </plugin>            
    1.78 +            <plugin>
    1.79 +                <groupId>com.filmon.maven</groupId>
    1.80 +                <artifactId>image-maven-plugin</artifactId>
    1.81 +                <version>1.1</version>
    1.82 +                <executions>
    1.83 +                    <execution>
    1.84 +                        <phase>initialize</phase>
    1.85 +                        <goals>
    1.86 +                            <goal>scale</goal>
    1.87 +                        </goals>
    1.88 +                        <configuration>
    1.89 +                            <outputDirectory>target/res</outputDirectory>
    1.90 +                            <images>
    1.91 +                                <image>
    1.92 +                                    <source>src/main/icons/launcher.png</source>
    1.93 +                                    <destination>drawable-hdpi/ic_launcher.png</destination>
    1.94 +                                    <width>72</width>
    1.95 +                                </image>
    1.96 +                                <image>
    1.97 +                                    <source>src/main/icons/launcher.png</source>
    1.98 +                                    <destination>drawable-mdpi/ic_launcher.png</destination>
    1.99 +                                    <width>48</width>
   1.100 +                                </image>
   1.101 +                                <image>
   1.102 +                                    <source>src/main/icons/launcher.png</source>
   1.103 +                                    <destination>drawable-xhdpi/ic_launcher.png</destination>
   1.104 +                                    <width>96</width>
   1.105 +                                </image>
   1.106 +                                <image>
   1.107 +                                    <source>src/main/icons/launcher.png</source>
   1.108 +                                    <destination>drawable-xxhdpi/ic_launcher.png</destination>
   1.109 +                                    <width>144</width>
   1.110 +                                </image>
   1.111 +                            </images>
   1.112 +                        </configuration>
   1.113 +                    </execution>
   1.114 +                </executions>
   1.115 +            </plugin>
   1.116 +            <plugin>
   1.117 +                <groupId>com.simpligility.maven.plugins</groupId>
   1.118 +                <artifactId>android-maven-plugin</artifactId>
   1.119 +                <version>${android.plugin.version}</version>
   1.120 +                <extensions>true</extensions>
   1.121 +                <configuration>
   1.122 +                    <apkDebug>${debug}</apkDebug>
   1.123 +                    <resourceDirectory>target/res</resourceDirectory>
   1.124 +                    <sdk>
   1.125 +                        <platform>${android.platform.version}</platform>
   1.126 +                    </sdk>
   1.127 +                    <apk>
   1.128 +                        <metaIncludes>
   1.129 +                            <metaInclude>services/org.netbeans.**</metaInclude>
   1.130 +                        </metaIncludes>
   1.131 +                    </apk>
   1.132 +                    <extractDuplicates>true</extractDuplicates>
   1.133 +                </configuration>
   1.134 +                <executions>
   1.135 +                    <execution>
   1.136 +                        <id>apk</id>
   1.137 +                        <goals>
   1.138 +                            <goal>apk</goal>
   1.139 +                            <goal>dex</goal>
   1.140 +                        </goals>
   1.141 +                    </execution>
   1.142 +                </executions>
   1.143 +            </plugin>
   1.144 +        </plugins>
   1.145 +    </build>
   1.146 +    <dependencies>
   1.147 +        <dependency>
   1.148 +            <groupId>org.apidesign.demo</groupId>
   1.149 +            <artifactId>chat</artifactId>
   1.150 +            <version>${project.version}</version>
   1.151 +            <exclusions>
   1.152 +                <exclusion>
   1.153 +                    <groupId>org.netbeans.html</groupId>
   1.154 +                    <artifactId>net.java.html.boot.fx</artifactId>
   1.155 +                </exclusion>
   1.156 +            </exclusions>
   1.157 +        </dependency>
   1.158 +        <dependency>
   1.159 +            <groupId>com.google.android</groupId>
   1.160 +            <artifactId>android</artifactId>
   1.161 +            <version>${platform.version}</version>
   1.162 +            <scope>provided</scope>
   1.163 +        </dependency>
   1.164 +        <dependency>
   1.165 +            <groupId>com.dukescript.presenters</groupId>
   1.166 +            <artifactId>android</artifactId>
   1.167 +            <version>0.9.1</version>
   1.168 +            <type>jar</type> 
   1.169 +            <exclusions>
   1.170 +                <exclusion>
   1.171 +                    <groupId>org.netbeans.html</groupId>
   1.172 +                    <artifactId>net.java.html.boot</artifactId>
   1.173 +                </exclusion>
   1.174 +                <exclusion>
   1.175 +                    <groupId>org.netbeans.html</groupId>
   1.176 +                    <artifactId>net.java.html.sound</artifactId>
   1.177 +                </exclusion>
   1.178 +            </exclusions>
   1.179 +        </dependency>
   1.180 +        <dependency>
   1.181 +            <groupId>org.netbeans.html</groupId>
   1.182 +            <artifactId>ko4j</artifactId>
   1.183 +            <version>${net.java.html.version}</version>
   1.184 +        </dependency>
   1.185 +        <dependency>
   1.186 +            <groupId>org.netbeans.html</groupId>
   1.187 +            <artifactId>net.java.html.boot</artifactId>
   1.188 +            <version>${net.java.html.version}</version>
   1.189 +        </dependency>
   1.190 +        <dependency>
   1.191 +            <groupId>org.netbeans.html</groupId>
   1.192 +            <artifactId>net.java.html.sound</artifactId>
   1.193 +            <version>${net.java.html.version}</version>
   1.194 +        </dependency>
   1.195 +        <dependency>
   1.196 +            <groupId>org.netbeans.html</groupId>
   1.197 +            <artifactId>ko-ws-tyrus</artifactId>
   1.198 +            <version>${net.java.html.version}</version>
   1.199 +            <exclusions>
   1.200 +                <exclusion>
   1.201 +                    <artifactId>org.json-osgi</artifactId>
   1.202 +                    <groupId>de.twentyeleven.skysail</groupId>
   1.203 +                </exclusion>
   1.204 +            </exclusions>
   1.205 +        </dependency>
   1.206 +    </dependencies>
   1.207 +</project>