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