chat/client-netbeans/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 22 Apr 2016 05:56:47 +0200
branchNewChat
changeset 238 a0f15cb8c730
permissions -rw-r--r--
Switching to newer version of the libraries
     1 <?xml version="1.0"?>
     2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     4     <modelVersion>4.0.0</modelVersion>
     5 
     6     <parent>
     7         <groupId>org.apidesign.demo</groupId>
     8         <artifactId>chat-pom</artifactId>
     9         <version>1.0-SNAPSHOT</version>
    10     </parent>
    11 
    12     <groupId>org.apidesign.demo</groupId>
    13     <artifactId>chat-nb</artifactId>
    14     <version>1.0-SNAPSHOT</version>
    15     <packaging>nbm-application</packaging>
    16 
    17     <name>chat Client for NetBeans</name>
    18 
    19     <properties>
    20         <netbeans.version>RELEASE81</netbeans.version>
    21         <netbeans.compile.on.save>none</netbeans.compile.on.save>
    22         <project.mainclass>org.apidesign.demo.chat.NbMain</project.mainclass>
    23     </properties>
    24     <repositories>
    25         <repository>
    26             <id>netbeans</id>
    27             <name>NetBeans</name>
    28             <url>http://bits.netbeans.org/maven2/</url>
    29         </repository>
    30         <repository>
    31             <id>dev</id>
    32             <name>NetBeans</name>
    33             <url>http://bits.netbeans.org/nexus/content/repositories/snapshots/</url>
    34             <snapshots>
    35                 <enabled>true</enabled>
    36             </snapshots>
    37         </repository>
    38     </repositories>
    39     <build>
    40         <plugins>
    41             <plugin>
    42                 <groupId>org.netbeans.html</groupId>
    43                 <artifactId>html4j-maven-plugin</artifactId>
    44                 <version>${net.java.html.version}</version>
    45                 <executions>
    46                     <execution>
    47                         <id>js-classes</id>
    48                         <goals>
    49                             <goal>process-js-annotations</goal>
    50                         </goals>
    51                     </execution>
    52                 </executions>
    53             </plugin>
    54             <plugin>
    55                 <groupId>org.apache.maven.plugins</groupId>
    56                 <artifactId>maven-compiler-plugin</artifactId>
    57                 <version>3.3</version>
    58                 <executions>
    59                     <execution>
    60                         <id>default-compile</id>
    61                         <phase>process-sources</phase>
    62                         <goals>
    63                             <goal>compile</goal>
    64                         </goals>
    65                     </execution>
    66                 </executions>
    67                 <configuration>
    68                     <source>1.7</source>
    69                     <target>1.7</target>
    70                 </configuration>
    71             </plugin>
    72             <plugin>
    73                 <groupId>org.apache.maven.plugins</groupId>
    74                 <artifactId>maven-jar-plugin</artifactId>
    75                 <version>2.4</version>
    76                 <executions>
    77                     <execution>
    78                         <id>jar</id>
    79                         <goals>
    80                             <goal>jar</goal>
    81                         </goals>
    82                         <phase>prepare-package</phase>
    83                     </execution>
    84                 </executions>
    85                 <configuration>
    86                     <!-- to have the jar plugin pickup the nbm generated manifest -->
    87                     <useDefaultManifestFile>true</useDefaultManifestFile>
    88                 </configuration>
    89             </plugin>
    90             <plugin>
    91                 <groupId>org.apache.maven.plugins</groupId>
    92                 <artifactId>maven-dependency-plugin</artifactId>
    93                 <version>2.9</version>
    94                 <executions>
    95                     <execution>
    96                         <id>unpack</id>
    97                         <phase>generate-sources</phase>
    98                         <goals>
    99                             <goal>unpack</goal>
   100                         </goals>
   101                     </execution>
   102                 </executions>
   103                 <configuration>
   104                     <artifactItems>
   105                         <artifactItem>
   106                             <groupId>org.apidesign.demo</groupId>
   107                             <artifactId>chat</artifactId>
   108                             <version>${project.version}</version>
   109                             <type>zip</type>
   110                             <classifier>webpages</classifier>
   111                             <overWrite>true</overWrite>
   112                             <outputDirectory>${project.build.directory}/classes/org/apidesign/demo/chat</outputDirectory>
   113                         </artifactItem>
   114                     </artifactItems>
   115                 </configuration>
   116             </plugin>
   117             <plugin>
   118                 <groupId>org.codehaus.mojo</groupId>
   119                 <artifactId>nbm-maven-plugin</artifactId>
   120                 <version>3.14.1</version>
   121                 <extensions>true</extensions>
   122                 <executions>
   123                     <execution>
   124                         <id>default-manifest</id>
   125                         <phase>process-classes</phase>
   126                         <goals>
   127                             <goal>manifest</goal>
   128                         </goals>
   129                         <configuration>
   130                             <useOSGiDependencies>true</useOSGiDependencies>
   131                             <brandingToken>chat</brandingToken>
   132                             <cluster>chat</cluster>
   133                             <verifyIntegrity>false</verifyIntegrity>
   134                         </configuration>
   135                     </execution>
   136                     <execution>
   137                         <id>default-nbm</id>
   138                         <phase>package</phase>
   139                         <goals>
   140                             <goal>nbm</goal>
   141                         </goals>
   142                         <configuration>
   143                             <useOSGiDependencies>true</useOSGiDependencies>
   144                             <cluster>extra</cluster>
   145                             <verifyIntegrity>false</verifyIntegrity>
   146                         </configuration>
   147                     </execution>
   148                 </executions>
   149                 <configuration>
   150                     <useOSGiDependencies>true</useOSGiDependencies>
   151                     <brandingToken>netbeans</brandingToken>
   152                     <cluster>chat</cluster>
   153                     <verifyIntegrity>false</verifyIntegrity>
   154                     <nbmBuildDir>${project.build.directory}</nbmBuildDir>
   155                 </configuration>
   156             </plugin>
   157             <plugin>
   158                 <groupId>com.filmon.maven</groupId>
   159                 <artifactId>image-maven-plugin</artifactId>
   160                 <version>1.1</version>
   161                 <executions>
   162                     <execution>
   163                         <goals>
   164                             <goal>scale</goal>
   165                         </goals>
   166                         <configuration>
   167                             <outputDirectory>target/classes/org/apidesign/demo/chat</outputDirectory>
   168                             <images>
   169                                 <image>
   170                                     <source>src/main/icons/launcher.png</source>
   171                                     <destination>icon.png</destination>
   172                                     <width>16</width>
   173                                 </image>
   174                                 <image>
   175                                     <source>src/main/icons/launcher.png</source>
   176                                     <destination>icon24.png</destination>
   177                                     <width>24</width>
   178                                 </image>
   179                             </images>
   180                         </configuration>
   181                     </execution>
   182                 </executions>
   183             </plugin>
   184         </plugins>
   185     </build>
   186     <dependencies>
   187         <dependency>
   188             <groupId>org.apidesign.demo</groupId>
   189             <artifactId>chat</artifactId>
   190             <version>${project.version}</version>
   191             <exclusions>
   192                 <exclusion>
   193                     <groupId>org.netbeans.html</groupId>
   194                     <artifactId>net.java.html.boot.fx</artifactId>
   195                 </exclusion>
   196             </exclusions>
   197         </dependency>
   198         <dependency>
   199             <groupId>org.netbeans.html</groupId>
   200             <artifactId>net.java.html.boot</artifactId>
   201             <version>${net.java.html.version}</version>
   202         </dependency>
   203         <dependency>
   204             <groupId>org.netbeans.html</groupId>
   205             <artifactId>net.java.html.boot.fx</artifactId>
   206             <version>${net.java.html.version}</version>
   207             <scope>runtime</scope>
   208         </dependency>
   209         <dependency>
   210             <groupId>org.netbeans.api</groupId>
   211             <artifactId>org-netbeans-api-htmlui</artifactId>
   212             <version>${netbeans.version}</version>
   213         </dependency>
   214         <dependency>
   215             <groupId>org.netbeans.cluster</groupId>
   216             <artifactId>platform</artifactId>
   217             <version>${netbeans.version}</version>
   218             <type>pom</type>
   219         </dependency>
   220     </dependencies>
   221 </project>