chat/client-netbeans/pom.xml
branchNewChat
changeset 238 a0f15cb8c730
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/chat/client-netbeans/pom.xml	Fri Apr 22 05:56:47 2016 +0200
     1.3 @@ -0,0 +1,221 @@
     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-nb</artifactId>
    1.17 +    <version>1.0-SNAPSHOT</version>
    1.18 +    <packaging>nbm-application</packaging>
    1.19 +
    1.20 +    <name>chat Client for NetBeans</name>
    1.21 +
    1.22 +    <properties>
    1.23 +        <netbeans.version>RELEASE81</netbeans.version>
    1.24 +        <netbeans.compile.on.save>none</netbeans.compile.on.save>
    1.25 +        <project.mainclass>org.apidesign.demo.chat.NbMain</project.mainclass>
    1.26 +    </properties>
    1.27 +    <repositories>
    1.28 +        <repository>
    1.29 +            <id>netbeans</id>
    1.30 +            <name>NetBeans</name>
    1.31 +            <url>http://bits.netbeans.org/maven2/</url>
    1.32 +        </repository>
    1.33 +        <repository>
    1.34 +            <id>dev</id>
    1.35 +            <name>NetBeans</name>
    1.36 +            <url>http://bits.netbeans.org/nexus/content/repositories/snapshots/</url>
    1.37 +            <snapshots>
    1.38 +                <enabled>true</enabled>
    1.39 +            </snapshots>
    1.40 +        </repository>
    1.41 +    </repositories>
    1.42 +    <build>
    1.43 +        <plugins>
    1.44 +            <plugin>
    1.45 +                <groupId>org.netbeans.html</groupId>
    1.46 +                <artifactId>html4j-maven-plugin</artifactId>
    1.47 +                <version>${net.java.html.version}</version>
    1.48 +                <executions>
    1.49 +                    <execution>
    1.50 +                        <id>js-classes</id>
    1.51 +                        <goals>
    1.52 +                            <goal>process-js-annotations</goal>
    1.53 +                        </goals>
    1.54 +                    </execution>
    1.55 +                </executions>
    1.56 +            </plugin>
    1.57 +            <plugin>
    1.58 +                <groupId>org.apache.maven.plugins</groupId>
    1.59 +                <artifactId>maven-compiler-plugin</artifactId>
    1.60 +                <version>3.3</version>
    1.61 +                <executions>
    1.62 +                    <execution>
    1.63 +                        <id>default-compile</id>
    1.64 +                        <phase>process-sources</phase>
    1.65 +                        <goals>
    1.66 +                            <goal>compile</goal>
    1.67 +                        </goals>
    1.68 +                    </execution>
    1.69 +                </executions>
    1.70 +                <configuration>
    1.71 +                    <source>1.7</source>
    1.72 +                    <target>1.7</target>
    1.73 +                </configuration>
    1.74 +            </plugin>
    1.75 +            <plugin>
    1.76 +                <groupId>org.apache.maven.plugins</groupId>
    1.77 +                <artifactId>maven-jar-plugin</artifactId>
    1.78 +                <version>2.4</version>
    1.79 +                <executions>
    1.80 +                    <execution>
    1.81 +                        <id>jar</id>
    1.82 +                        <goals>
    1.83 +                            <goal>jar</goal>
    1.84 +                        </goals>
    1.85 +                        <phase>prepare-package</phase>
    1.86 +                    </execution>
    1.87 +                </executions>
    1.88 +                <configuration>
    1.89 +                    <!-- to have the jar plugin pickup the nbm generated manifest -->
    1.90 +                    <useDefaultManifestFile>true</useDefaultManifestFile>
    1.91 +                </configuration>
    1.92 +            </plugin>
    1.93 +            <plugin>
    1.94 +                <groupId>org.apache.maven.plugins</groupId>
    1.95 +                <artifactId>maven-dependency-plugin</artifactId>
    1.96 +                <version>2.9</version>
    1.97 +                <executions>
    1.98 +                    <execution>
    1.99 +                        <id>unpack</id>
   1.100 +                        <phase>generate-sources</phase>
   1.101 +                        <goals>
   1.102 +                            <goal>unpack</goal>
   1.103 +                        </goals>
   1.104 +                    </execution>
   1.105 +                </executions>
   1.106 +                <configuration>
   1.107 +                    <artifactItems>
   1.108 +                        <artifactItem>
   1.109 +                            <groupId>org.apidesign.demo</groupId>
   1.110 +                            <artifactId>chat</artifactId>
   1.111 +                            <version>${project.version}</version>
   1.112 +                            <type>zip</type>
   1.113 +                            <classifier>webpages</classifier>
   1.114 +                            <overWrite>true</overWrite>
   1.115 +                            <outputDirectory>${project.build.directory}/classes/org/apidesign/demo/chat</outputDirectory>
   1.116 +                        </artifactItem>
   1.117 +                    </artifactItems>
   1.118 +                </configuration>
   1.119 +            </plugin>
   1.120 +            <plugin>
   1.121 +                <groupId>org.codehaus.mojo</groupId>
   1.122 +                <artifactId>nbm-maven-plugin</artifactId>
   1.123 +                <version>3.14.1</version>
   1.124 +                <extensions>true</extensions>
   1.125 +                <executions>
   1.126 +                    <execution>
   1.127 +                        <id>default-manifest</id>
   1.128 +                        <phase>process-classes</phase>
   1.129 +                        <goals>
   1.130 +                            <goal>manifest</goal>
   1.131 +                        </goals>
   1.132 +                        <configuration>
   1.133 +                            <useOSGiDependencies>true</useOSGiDependencies>
   1.134 +                            <brandingToken>chat</brandingToken>
   1.135 +                            <cluster>chat</cluster>
   1.136 +                            <verifyIntegrity>false</verifyIntegrity>
   1.137 +                        </configuration>
   1.138 +                    </execution>
   1.139 +                    <execution>
   1.140 +                        <id>default-nbm</id>
   1.141 +                        <phase>package</phase>
   1.142 +                        <goals>
   1.143 +                            <goal>nbm</goal>
   1.144 +                        </goals>
   1.145 +                        <configuration>
   1.146 +                            <useOSGiDependencies>true</useOSGiDependencies>
   1.147 +                            <cluster>extra</cluster>
   1.148 +                            <verifyIntegrity>false</verifyIntegrity>
   1.149 +                        </configuration>
   1.150 +                    </execution>
   1.151 +                </executions>
   1.152 +                <configuration>
   1.153 +                    <useOSGiDependencies>true</useOSGiDependencies>
   1.154 +                    <brandingToken>netbeans</brandingToken>
   1.155 +                    <cluster>chat</cluster>
   1.156 +                    <verifyIntegrity>false</verifyIntegrity>
   1.157 +                    <nbmBuildDir>${project.build.directory}</nbmBuildDir>
   1.158 +                </configuration>
   1.159 +            </plugin>
   1.160 +            <plugin>
   1.161 +                <groupId>com.filmon.maven</groupId>
   1.162 +                <artifactId>image-maven-plugin</artifactId>
   1.163 +                <version>1.1</version>
   1.164 +                <executions>
   1.165 +                    <execution>
   1.166 +                        <goals>
   1.167 +                            <goal>scale</goal>
   1.168 +                        </goals>
   1.169 +                        <configuration>
   1.170 +                            <outputDirectory>target/classes/org/apidesign/demo/chat</outputDirectory>
   1.171 +                            <images>
   1.172 +                                <image>
   1.173 +                                    <source>src/main/icons/launcher.png</source>
   1.174 +                                    <destination>icon.png</destination>
   1.175 +                                    <width>16</width>
   1.176 +                                </image>
   1.177 +                                <image>
   1.178 +                                    <source>src/main/icons/launcher.png</source>
   1.179 +                                    <destination>icon24.png</destination>
   1.180 +                                    <width>24</width>
   1.181 +                                </image>
   1.182 +                            </images>
   1.183 +                        </configuration>
   1.184 +                    </execution>
   1.185 +                </executions>
   1.186 +            </plugin>
   1.187 +        </plugins>
   1.188 +    </build>
   1.189 +    <dependencies>
   1.190 +        <dependency>
   1.191 +            <groupId>org.apidesign.demo</groupId>
   1.192 +            <artifactId>chat</artifactId>
   1.193 +            <version>${project.version}</version>
   1.194 +            <exclusions>
   1.195 +                <exclusion>
   1.196 +                    <groupId>org.netbeans.html</groupId>
   1.197 +                    <artifactId>net.java.html.boot.fx</artifactId>
   1.198 +                </exclusion>
   1.199 +            </exclusions>
   1.200 +        </dependency>
   1.201 +        <dependency>
   1.202 +            <groupId>org.netbeans.html</groupId>
   1.203 +            <artifactId>net.java.html.boot</artifactId>
   1.204 +            <version>${net.java.html.version}</version>
   1.205 +        </dependency>
   1.206 +        <dependency>
   1.207 +            <groupId>org.netbeans.html</groupId>
   1.208 +            <artifactId>net.java.html.boot.fx</artifactId>
   1.209 +            <version>${net.java.html.version}</version>
   1.210 +            <scope>runtime</scope>
   1.211 +        </dependency>
   1.212 +        <dependency>
   1.213 +            <groupId>org.netbeans.api</groupId>
   1.214 +            <artifactId>org-netbeans-api-htmlui</artifactId>
   1.215 +            <version>${netbeans.version}</version>
   1.216 +        </dependency>
   1.217 +        <dependency>
   1.218 +            <groupId>org.netbeans.cluster</groupId>
   1.219 +            <artifactId>platform</artifactId>
   1.220 +            <version>${netbeans.version}</version>
   1.221 +            <type>pom</type>
   1.222 +        </dependency>
   1.223 +    </dependencies>
   1.224 +</project>