pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Mon, 29 Feb 2016 05:25:31 +0100
branchxhr4j
changeset 1057 b547f8f663f5
parent 992 6f1a8b251b7d
child 1059 c5223a12e761
permissions -rw-r--r--
#257849: xhr4j module uses java.net package to handle @OnReceive requests to workaround CORS limitations
     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>1.2.3</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     <module>xhr4j</module>
    40   </modules>
    41   <licenses>
    42       <license>
    43           <name>GPL-2.0wCPexc+CDDL</name>
    44           <url>http://www.netbeans.org/cddl-gplv2.html</url>
    45           <distribution>repo</distribution>
    46       </license>
    47   </licenses>
    48   <organization>
    49       <name>NetBeans</name>
    50       <url>http://netbeans.org</url>
    51   </organization>
    52   <scm>
    53       <connection>scm:hg:https://hg.netbeans.org/html4j</connection>
    54       <developerConnection>scm:hg:https://hg.netbeans.org/html4j</developerConnection>
    55       <url>https://hg.netbeans.org/html4j</url>
    56       <tag>release-1.2.3</tag>
    57   </scm>
    58   <repositories>
    59       <repository>
    60           <id>netbeans</id>
    61           <name>NetBeans</name>
    62           <url>http://bits.netbeans.org/maven2/</url>
    63       </repository>
    64   </repositories>
    65   <pluginRepositories>
    66       <pluginRepository>
    67           <id>mc-release</id>
    68           <name>Local Maven repository of releases</name>
    69           <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    70           <snapshots>
    71               <enabled>false</enabled>
    72           </snapshots>
    73           <releases>
    74               <enabled>true</enabled>
    75           </releases>
    76       </pluginRepository>
    77   </pluginRepositories>
    78   <build>
    79       <plugins>
    80          <plugin>
    81               <inherited>false</inherited>
    82               <groupId>com.mycila.maven-license-plugin</groupId>
    83               <artifactId>maven-license-plugin</artifactId>
    84               <version>1.9.0</version>
    85               <executions>
    86                   <execution>
    87                       <id>blah</id>
    88                       <goals>
    89                           <goal>check</goal>
    90                       </goals>
    91                   </execution>
    92               </executions>
    93               <configuration>
    94                   <aggregate>true</aggregate>
    95                   <basedir>${basedir}</basedir>
    96                   <header>COPYING</header>
    97                   <strictCheck>true</strictCheck>
    98                   <excludes>
    99                        <exclude>*</exclude>
   100                        <exclude>.*/**</exclude>
   101                        <exclude>*/nb-configuration.xml</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               </plugin>
   169               <plugin>
   170                 <groupId>org.apache.maven.plugins</groupId>
   171                 <artifactId>maven-deploy-plugin</artifactId>
   172                 <version>2.8.1</version>
   173               </plugin>
   174               <plugin>
   175                 <groupId>org.apache.maven.plugins</groupId>
   176                 <artifactId>maven-compiler-plugin</artifactId>
   177                 <version>3.1</version>
   178                 <configuration>
   179                     <source>1.6</source>
   180                     <target>1.6</target>
   181                 </configuration>
   182               </plugin>
   183               <plugin>
   184                 <groupId>org.apache.maven.plugins</groupId>
   185                 <artifactId>maven-javadoc-plugin</artifactId>
   186                 <version>2.9</version>
   187                 <configuration>
   188                     <subpackages>${publicPackages}</subpackages>
   189                     <skip>false</skip>
   190                 </configuration>
   191               </plugin>
   192             <plugin>
   193                 <groupId>org.apache.felix</groupId>
   194                 <artifactId>maven-bundle-plugin</artifactId>
   195                 <version>2.4.0</version>
   196                 <extensions>true</extensions>
   197                 <configuration>
   198                     <instructions>
   199                         <Export-Package>${publicPackages},META-INF.services.*;-noimport:=true;-split-package:=first</Export-Package>
   200                         <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
   201                     </instructions>
   202                 </configuration>
   203             </plugin>
   204             <plugin>
   205                 <groupId>org.netbeans.html</groupId>
   206                 <artifactId>html4j-maven-plugin</artifactId>
   207                 <version>${project.version}</version>
   208                 <executions>
   209                     <execution>
   210                         <id>classes</id>
   211                         <goals>
   212                             <goal>process-js-annotations</goal>
   213                         </goals>
   214                     </execution>
   215                     <execution>
   216                         <id>test-classes</id>
   217                         <phase>process-test-classes</phase>
   218                         <goals>
   219                             <goal>process-js-annotations</goal>
   220                         </goals>
   221                         <configuration>
   222                             <classes>${project.build.directory}/test-classes</classes>
   223                         </configuration>
   224                     </execution>
   225                 </executions>
   226             </plugin>
   227           </plugins>
   228       </pluginManagement>
   229   </build>
   230   <dependencyManagement>
   231       <dependencies>
   232         <dependency>
   233           <groupId>org.testng</groupId>
   234           <artifactId>testng</artifactId>
   235           <version>6.7</version>
   236           <scope>test</scope>
   237           <exclusions>
   238             <exclusion>
   239               <artifactId>junit</artifactId>
   240               <groupId>junit</groupId>
   241             </exclusion>
   242           </exclusions>
   243         </dependency>
   244         <dependency>
   245             <groupId>de.twentyeleven.skysail</groupId>
   246             <artifactId>org.json-osgi</artifactId>
   247             <version>20080701</version>
   248         </dependency>
   249         <dependency>
   250             <groupId>org.ow2.asm</groupId>
   251             <artifactId>asm</artifactId>
   252             <version>5.0</version>
   253         </dependency>
   254         <dependency>
   255           <groupId>org.netbeans.api</groupId>
   256           <artifactId>org-netbeans-modules-classfile</artifactId>
   257           <version>${netbeans.version}</version>
   258           <type>jar</type>
   259         </dependency>
   260         <dependency>
   261           <groupId>org.netbeans.api</groupId>
   262           <artifactId>org-openide-util-lookup</artifactId>
   263           <version>${netbeans.version}</version>
   264           <scope>compile</scope>
   265           <type>jar</type>
   266         </dependency>
   267         <dependency>
   268             <groupId>org.netbeans.api</groupId>
   269             <artifactId>org-netbeans-api-annotations-common</artifactId>
   270             <version>${netbeans.version}</version>
   271         </dependency>
   272         <dependency>
   273             <groupId>org.netbeans.api</groupId>
   274             <artifactId>org-netbeans-modules-java-source</artifactId>
   275             <version>${netbeans.version}</version>
   276         </dependency>
   277         <dependency>
   278             <groupId>org.netbeans.api</groupId>
   279             <artifactId>org-netbeans-libs-javacapi</artifactId>
   280             <version>${netbeans.version}</version>
   281         </dependency>
   282         <dependency>
   283             <groupId>org.netbeans.api</groupId>
   284             <artifactId>org-netbeans-spi-java-hints</artifactId>
   285             <version>${netbeans.version}</version>
   286         </dependency>
   287         <dependency>
   288             <groupId>org.netbeans.api</groupId>
   289             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   290             <version>${netbeans.version}</version>
   291         </dependency>
   292         <dependency>
   293             <groupId>org.netbeans.api</groupId>
   294             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   295             <version>${netbeans.version}</version>
   296         </dependency>
   297         <dependency>
   298             <groupId>org.netbeans.api</groupId>
   299             <artifactId>org-openide-util</artifactId>
   300             <version>${netbeans.version}</version>
   301         </dependency>
   302         <dependency>
   303             <groupId>org.netbeans.api</groupId>
   304             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   305             <version>${netbeans.version}</version>
   306         </dependency>
   307         <dependency>
   308             <groupId>org.netbeans.api</groupId>
   309             <artifactId>org-netbeans-modules-lexer</artifactId>
   310             <version>${netbeans.version}</version>
   311         </dependency>
   312         <dependency>
   313             <groupId>org.netbeans.api</groupId>
   314             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   315             <version>${netbeans.version}</version>
   316         </dependency>
   317         <dependency>
   318             <groupId>org.netbeans.api</groupId>
   319             <artifactId>org-netbeans-libs-junit4</artifactId>
   320             <version>${netbeans.version}</version>
   321         </dependency>
   322         <dependency>
   323             <groupId>org.netbeans.modules</groupId>
   324             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   325             <version>${netbeans.version}</version>
   326         </dependency>
   327         <dependency>
   328             <groupId>org.apache.felix</groupId>
   329             <artifactId>org.apache.felix.framework</artifactId>
   330             <version>4.2.1</version>
   331         </dependency>
   332       <dependency>
   333             <groupId>javax.servlet</groupId>
   334             <artifactId>javax.servlet-api</artifactId>
   335             <version>3.1.0</version>
   336         </dependency>
   337         <dependency> 
   338             <groupId>org.netbeans.modules</groupId>
   339             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   340             <version>${netbeans.version}</version>
   341             <exclusions>
   342                 <exclusion>
   343                     <artifactId>org-netbeans-core</artifactId>
   344                     <groupId>org.netbeans.modules</groupId>
   345                 </exclusion>
   346                 <exclusion>
   347                     <artifactId>org-netbeans-core-multiview</artifactId>
   348                     <groupId>org.netbeans.api</groupId>
   349                 </exclusion>
   350                 <exclusion>
   351                     <artifactId>org-netbeans-libs-lucene</artifactId>
   352                     <groupId>org.netbeans.api</groupId>
   353                 </exclusion>
   354                 <exclusion>
   355                     <artifactId>org-netbeans-modules-diff</artifactId>
   356                     <groupId>org.netbeans.api</groupId>
   357                 </exclusion>
   358                 <exclusion>
   359                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   360                     <groupId>org.netbeans.api</groupId>
   361                 </exclusion>
   362                 <exclusion>
   363                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   364                     <groupId>org.netbeans.api</groupId>
   365                 </exclusion>
   366             </exclusions>
   367         </dependency>
   368         <dependency>
   369             <artifactId>org-netbeans-modules-projectapi</artifactId>
   370             <groupId>org.netbeans.api</groupId>
   371             <type>jar</type>
   372             <version>${netbeans.version}</version>
   373         </dependency>
   374       </dependencies>
   375   </dependencyManagement>
   376   <profiles>
   377       <profile>
   378           <id>jdk8</id>
   379           <activation>
   380               <file>
   381                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   382               </file>
   383           </activation>
   384           <properties>
   385             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   386           </properties>
   387       </profile>
   388       <profile>
   389           <id>jdk7</id>
   390           <activation>
   391               <file>
   392                   <exists>${java.home}/lib/jfxrt.jar</exists>
   393               </file>
   394           </activation>
   395           <properties>
   396             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   397           </properties>
   398       </profile>
   399   </profiles>
   400 </project>