pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Mon, 14 Dec 2015 05:52:22 +0100
changeset 1031 86218dd9270b
parent 1006 a0f79e32d526
child 1059 c5223a12e761
permissions -rw-r--r--
#257130: Switching to minified version of knockout.js
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <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">
     3   <modelVersion>4.0.0</modelVersion>
     4   <groupId>org.netbeans.html</groupId>
     5   <artifactId>pom</artifactId>
     6   <version>2.0-SNAPSHOT</version>
     7   <packaging>pom</packaging>
     8   <name>HTML APIs via Java</name>
     9   <parent> 
    10     <groupId>net.java</groupId>
    11     <artifactId>jvnet-parent</artifactId>
    12      <version>3</version>
    13   </parent>  
    14   <properties>
    15       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    16       <netbeans.version>RELEASE80</netbeans.version>
    17       <grizzly.version>2.3.8</grizzly.version>
    18       <license>COPYING</license>
    19       <publicPackages />
    20       <bundleSymbolicName>${project.artifactId}</bundleSymbolicName>
    21       <netbeans.compile.on.save>none</netbeans.compile.on.save>
    22   </properties>
    23   <modules>
    24     <module>json</module>
    25     <module>json-tck</module>
    26     <module>ko4j</module>
    27     <module>sound</module>
    28     <module>context</module>
    29     <module>boot</module>
    30     <module>boot-fx</module>
    31     <module>geo</module>
    32     <module>ko-ws-tyrus</module>
    33     <module>html4j-maven-plugin</module>
    34     <module>ko-felix-test</module>
    35     <module>ko-osgi-test</module>
    36     <module>equinox-agentclass-hook</module>
    37     <module>boot-script</module>
    38     <module>boot-agent-test</module>
    39   </modules>
    40   <licenses>
    41       <license>
    42           <name>GPL-2.0wCPexc+CDDL</name>
    43           <url>http://www.netbeans.org/cddl-gplv2.html</url>
    44           <distribution>repo</distribution>
    45       </license>
    46   </licenses>
    47   <organization>
    48       <name>NetBeans</name>
    49       <url>http://netbeans.org</url>
    50   </organization>
    51   <scm>
    52       <connection>scm:hg:https://hg.netbeans.org/html4j</connection>
    53       <developerConnection>scm:hg:https://hg.netbeans.org/html4j</developerConnection>
    54       <url>https://hg.netbeans.org/html4j</url>
    55       <tag>default</tag>
    56   </scm>
    57   <repositories>
    58       <repository>
    59           <id>netbeans</id>
    60           <name>NetBeans</name>
    61           <url>http://bits.netbeans.org/maven2/</url>
    62       </repository>
    63   </repositories>
    64   <pluginRepositories>
    65       <pluginRepository>
    66           <id>mc-release</id>
    67           <name>Local Maven repository of releases</name>
    68           <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    69           <snapshots>
    70               <enabled>false</enabled>
    71           </snapshots>
    72           <releases>
    73               <enabled>true</enabled>
    74           </releases>
    75       </pluginRepository>
    76   </pluginRepositories>
    77   <build>
    78       <plugins>
    79          <plugin>
    80               <inherited>false</inherited>
    81               <groupId>com.mycila.maven-license-plugin</groupId>
    82               <artifactId>maven-license-plugin</artifactId>
    83               <version>1.9.0</version>
    84               <executions>
    85                   <execution>
    86                       <id>blah</id>
    87                       <goals>
    88                           <goal>check</goal>
    89                       </goals>
    90                   </execution>
    91               </executions>
    92               <configuration>
    93                   <aggregate>true</aggregate>
    94                   <basedir>${basedir}</basedir>
    95                   <header>COPYING</header>
    96                   <strictCheck>true</strictCheck>
    97                   <excludes>
    98                        <exclude>*</exclude>
    99                        <exclude>.*/**</exclude>
   100                        <exclude>*/nb-configuration.xml</exclude>
   101                        <exclude>ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.4.0.js</exclude>
   102                        <exclude>boot-script/src/test/resources/net/java/html/boot/script/ko4j/env.nashorn.1.2-debug.js</exclude>
   103                        <exclude>src/main/javadoc/resources/teavm.js</exclude>
   104                   </excludes>
   105               </configuration>
   106           </plugin>
   107            <plugin>
   108             <artifactId>maven-release-plugin</artifactId>
   109             <version>2.4</version>
   110             <configuration>
   111               <mavenExecutorId>forked-path</mavenExecutorId>
   112               <useReleaseProfile>false</useReleaseProfile>
   113               <arguments>-Pjvnet-release -Pgpg</arguments>
   114               <tag>release-${releaseVersion}</tag>
   115             </configuration>
   116           </plugin>
   117             <plugin>
   118               <groupId>org.apache.maven.plugins</groupId>
   119               <artifactId>maven-javadoc-plugin</artifactId>
   120               <version>2.9</version>
   121               <configuration>
   122                   <docfilessubdirs>true</docfilessubdirs>
   123                   <subpackages>${publicPackages}</subpackages>
   124                   <skip>false</skip>
   125                   <excludePackageNames>
   126 org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.impl:org.netbeans.html.equinox.*:org.netbeans.html.geo.impl:org.netbeans.html.json.impl:org.netbeans.html.sound.impl:org.netbeans.html.ko.*:org.netbeans.html.ko4j:org.netbeans.html.mojo:org.netbeans.html.wstyrus:net.java.html.js.tests:net.java.html.json.tests
   127                   </excludePackageNames>
   128                 <groups>
   129                   <group>
   130                     <title>JSON for Java</title>
   131                     <packages>net.java.html.json</packages>
   132                   </group>
   133                   <group>
   134                     <title>Core Client APIs</title>
   135                     <packages>net.java.html.boot*:net.java.html.js:net.java.html</packages>
   136                   </group>
   137                   <group>
   138                     <title>Geolocation API</title>
   139                     <packages>net.java.html.geo</packages>
   140                   </group>
   141                   <group>
   142                     <title>Sound API</title>
   143                     <packages>net.java.html.sound</packages>
   144                   </group>
   145                   <group>
   146                     <title>Testing and Headless API</title>
   147                     <packages>net.java.html.boot.script</packages>
   148                   </group>
   149                   <group>
   150                     <title>Service Provider APIs (not commonly interesting)</title>
   151                     <packages>org.netbeans.html.*</packages>
   152                   </group>
   153                 </groups>   
   154                 <links>
   155                     <link>http://testng.org/javadocs/</link>
   156                     <link>http://bits.netbeans.org/8.0/javadoc/org-openide-util-lookup/</link>
   157                     <link>http://docs.oracle.com/javase/8/javafx/api/</link>
   158                 </links>              
   159               </configuration>
   160             </plugin>
   161       </plugins>
   162       <pluginManagement>
   163           <plugins>
   164               <plugin>
   165                 <groupId>org.apache.maven.plugins</groupId>
   166                 <artifactId>maven-surefire-plugin</artifactId>
   167                 <version>2.13</version>
   168                 <configuration>
   169                     <systemPropertyVariables>
   170                         <fxpresenter.headless>true</fxpresenter.headless>
   171                     </systemPropertyVariables>
   172                 </configuration>
   173               </plugin>
   174               <plugin>
   175                 <groupId>org.apache.maven.plugins</groupId>
   176                 <artifactId>maven-failsafe-plugin</artifactId>
   177                 <version>2.18.1</version>
   178                 <configuration>
   179                     <systemPropertyVariables>
   180                         <fxpresenter.headless>true</fxpresenter.headless>
   181                     </systemPropertyVariables>
   182                 </configuration>
   183               </plugin>
   184               <plugin>
   185                 <groupId>org.apache.maven.plugins</groupId>
   186                 <artifactId>maven-deploy-plugin</artifactId>
   187                 <version>2.8.1</version>
   188               </plugin>
   189               <plugin>
   190                 <groupId>org.apache.maven.plugins</groupId>
   191                 <artifactId>maven-compiler-plugin</artifactId>
   192                 <version>3.1</version>
   193                 <configuration>
   194                     <source>1.6</source>
   195                     <target>1.6</target>
   196                 </configuration>
   197               </plugin>
   198               <plugin>
   199                 <groupId>org.apache.maven.plugins</groupId>
   200                 <artifactId>maven-javadoc-plugin</artifactId>
   201                 <version>2.9</version>
   202                 <configuration>
   203                     <subpackages>${publicPackages}</subpackages>
   204                     <skip>false</skip>
   205                 </configuration>
   206               </plugin>
   207             <plugin>
   208                 <groupId>org.apache.felix</groupId>
   209                 <artifactId>maven-bundle-plugin</artifactId>
   210                 <version>2.4.0</version>
   211                 <extensions>true</extensions>
   212                 <configuration>
   213                     <instructions>
   214                         <Export-Package>${publicPackages},META-INF.services.*;-noimport:=true;-split-package:=first</Export-Package>
   215                         <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
   216                     </instructions>
   217                 </configuration>
   218             </plugin>
   219             <plugin>
   220                 <groupId>org.netbeans.html</groupId>
   221                 <artifactId>html4j-maven-plugin</artifactId>
   222                 <version>${project.version}</version>
   223                 <executions>
   224                     <execution>
   225                         <id>classes</id>
   226                         <goals>
   227                             <goal>process-js-annotations</goal>
   228                         </goals>
   229                     </execution>
   230                     <execution>
   231                         <id>test-classes</id>
   232                         <phase>process-test-classes</phase>
   233                         <goals>
   234                             <goal>process-js-annotations</goal>
   235                         </goals>
   236                         <configuration>
   237                             <classes>${project.build.directory}/test-classes</classes>
   238                         </configuration>
   239                     </execution>
   240                 </executions>
   241             </plugin>
   242           </plugins>
   243       </pluginManagement>
   244   </build>
   245   <dependencyManagement>
   246       <dependencies>
   247         <dependency>
   248           <groupId>org.testng</groupId>
   249           <artifactId>testng</artifactId>
   250           <version>6.7</version>
   251           <scope>test</scope>
   252           <exclusions>
   253             <exclusion>
   254               <artifactId>junit</artifactId>
   255               <groupId>junit</groupId>
   256             </exclusion>
   257           </exclusions>
   258         </dependency>
   259         <dependency>
   260             <groupId>de.twentyeleven.skysail</groupId>
   261             <artifactId>org.json-osgi</artifactId>
   262             <version>20080701</version>
   263         </dependency>
   264         <dependency>
   265             <groupId>org.ow2.asm</groupId>
   266             <artifactId>asm</artifactId>
   267             <version>5.0</version>
   268         </dependency>
   269         <dependency>
   270           <groupId>org.netbeans.api</groupId>
   271           <artifactId>org-netbeans-modules-classfile</artifactId>
   272           <version>${netbeans.version}</version>
   273           <type>jar</type>
   274         </dependency>
   275         <dependency>
   276           <groupId>org.netbeans.api</groupId>
   277           <artifactId>org-openide-util-lookup</artifactId>
   278           <version>${netbeans.version}</version>
   279           <scope>compile</scope>
   280           <type>jar</type>
   281         </dependency>
   282         <dependency>
   283             <groupId>org.netbeans.api</groupId>
   284             <artifactId>org-netbeans-api-annotations-common</artifactId>
   285             <version>${netbeans.version}</version>
   286         </dependency>
   287         <dependency>
   288             <groupId>org.netbeans.api</groupId>
   289             <artifactId>org-netbeans-modules-java-source</artifactId>
   290             <version>${netbeans.version}</version>
   291         </dependency>
   292         <dependency>
   293             <groupId>org.netbeans.api</groupId>
   294             <artifactId>org-netbeans-libs-javacapi</artifactId>
   295             <version>${netbeans.version}</version>
   296         </dependency>
   297         <dependency>
   298             <groupId>org.netbeans.api</groupId>
   299             <artifactId>org-netbeans-spi-java-hints</artifactId>
   300             <version>${netbeans.version}</version>
   301         </dependency>
   302         <dependency>
   303             <groupId>org.netbeans.api</groupId>
   304             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   305             <version>${netbeans.version}</version>
   306         </dependency>
   307         <dependency>
   308             <groupId>org.netbeans.api</groupId>
   309             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   310             <version>${netbeans.version}</version>
   311         </dependency>
   312         <dependency>
   313             <groupId>org.netbeans.api</groupId>
   314             <artifactId>org-openide-util</artifactId>
   315             <version>${netbeans.version}</version>
   316         </dependency>
   317         <dependency>
   318             <groupId>org.netbeans.api</groupId>
   319             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   320             <version>${netbeans.version}</version>
   321         </dependency>
   322         <dependency>
   323             <groupId>org.netbeans.api</groupId>
   324             <artifactId>org-netbeans-modules-lexer</artifactId>
   325             <version>${netbeans.version}</version>
   326         </dependency>
   327         <dependency>
   328             <groupId>org.netbeans.api</groupId>
   329             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   330             <version>${netbeans.version}</version>
   331         </dependency>
   332         <dependency>
   333             <groupId>org.netbeans.api</groupId>
   334             <artifactId>org-netbeans-libs-junit4</artifactId>
   335             <version>${netbeans.version}</version>
   336         </dependency>
   337         <dependency>
   338             <groupId>org.netbeans.modules</groupId>
   339             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   340             <version>${netbeans.version}</version>
   341         </dependency>
   342         <dependency>
   343             <groupId>org.apache.felix</groupId>
   344             <artifactId>org.apache.felix.framework</artifactId>
   345             <version>4.2.1</version>
   346         </dependency>
   347       <dependency>
   348             <groupId>javax.servlet</groupId>
   349             <artifactId>javax.servlet-api</artifactId>
   350             <version>3.1.0</version>
   351         </dependency>
   352         <dependency> 
   353             <groupId>org.netbeans.modules</groupId>
   354             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   355             <version>${netbeans.version}</version>
   356             <exclusions>
   357                 <exclusion>
   358                     <artifactId>org-netbeans-core</artifactId>
   359                     <groupId>org.netbeans.modules</groupId>
   360                 </exclusion>
   361                 <exclusion>
   362                     <artifactId>org-netbeans-core-multiview</artifactId>
   363                     <groupId>org.netbeans.api</groupId>
   364                 </exclusion>
   365                 <exclusion>
   366                     <artifactId>org-netbeans-libs-lucene</artifactId>
   367                     <groupId>org.netbeans.api</groupId>
   368                 </exclusion>
   369                 <exclusion>
   370                     <artifactId>org-netbeans-modules-diff</artifactId>
   371                     <groupId>org.netbeans.api</groupId>
   372                 </exclusion>
   373                 <exclusion>
   374                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   375                     <groupId>org.netbeans.api</groupId>
   376                 </exclusion>
   377                 <exclusion>
   378                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   379                     <groupId>org.netbeans.api</groupId>
   380                 </exclusion>
   381             </exclusions>
   382         </dependency>
   383         <dependency>
   384             <artifactId>org-netbeans-modules-projectapi</artifactId>
   385             <groupId>org.netbeans.api</groupId>
   386             <type>jar</type>
   387             <version>${netbeans.version}</version>
   388         </dependency>
   389       </dependencies>
   390   </dependencyManagement>
   391   <profiles>
   392       <profile>
   393           <id>jdk8</id>
   394           <activation>
   395               <file>
   396                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   397               </file>
   398           </activation>
   399           <properties>
   400             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   401           </properties>
   402       </profile>
   403       <profile>
   404           <id>jdk7</id>
   405           <activation>
   406               <file>
   407                   <exists>${java.home}/lib/jfxrt.jar</exists>
   408               </file>
   409           </activation>
   410           <properties>
   411             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   412           </properties>
   413       </profile>
   414   </profiles>
   415 </project>