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