pom.xml
author Jaroslav Tulach <jaroslav.tulach@netbeans.org>
Thu, 06 Feb 2014 16:30:14 +0100
changeset 544 c5d243718f1c
parent 539 34ac2a0d4879
child 545 abeb3beb9ace
permissions -rw-r--r--
Hint to resolve link to @ServiceProvider Javadoc
     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>0.8-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>RELEASE73</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>ko-archetype</module>
    26     <module>ko-archetype-test</module>
    27     <module>ko4j</module>
    28     <module>sound</module>
    29     <module>context</module>
    30     <module>boot</module>
    31     <module>boot-fx</module>
    32     <module>geo</module>
    33     <module>ko-ws-tyrus</module>
    34     <module>html4j-maven-plugin</module>
    35     <module>ko-osgi-test</module>
    36     <module>equinox-agentclass-hook</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>ko-archetype/src/main/resources/**</exclude>
    99                        <exclude>ko4j/src/main/resources/org/netbeans/html/ko4j/knockout*.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                   <subpackages>${publicPackages}</subpackages>
   119                   <skip>false</skip>
   120                   <excludePackageNames>org.netbeans.html.*:net.java.html.js.tests:net.java.html.json.tests</excludePackageNames>
   121                 <groups>
   122                   <group>
   123                     <title>JSON for Java</title>
   124                     <packages>net.java.html.json</packages>
   125                   </group>
   126                   <group>
   127                     <title>Core Client APIs</title>
   128                     <packages>net.java.html.boot*:net.java.html.js:net.java.html</packages>
   129                   </group>
   130                   <group>
   131                     <title>Geolocation APIs</title>
   132                     <packages>net.java.html.geo</packages>
   133                   </group>
   134                   <group>
   135                     <title>Sound APIs</title>
   136                     <packages>net.java.html.sound</packages>
   137                   </group>
   138                   <group>
   139                     <title>Service Provider APIs (not commonly interesting)</title>
   140                     <packages>org.apidesign.html.*</packages>
   141                   </group>
   142                 </groups>   
   143                 <links>
   144                     <link>http://bits.netbeans.org/7.4/javadoc/org-openide-util-lookup/</link>
   145                 </links>              
   146               </configuration>
   147             </plugin>
   148       </plugins>
   149       <pluginManagement>
   150           <plugins>
   151               <plugin>
   152                 <groupId>org.apache.maven.plugins</groupId>
   153                 <artifactId>maven-surefire-plugin</artifactId>
   154                 <version>2.13</version>
   155               </plugin>
   156               <plugin>
   157                 <groupId>org.apache.maven.plugins</groupId>
   158                 <artifactId>maven-compiler-plugin</artifactId>
   159                 <version>3.1</version>
   160                 <configuration>
   161                     <source>1.6</source>
   162                     <target>1.6</target>
   163                 </configuration>
   164               </plugin>
   165               <plugin>
   166                 <groupId>org.apache.maven.plugins</groupId>
   167                 <artifactId>maven-javadoc-plugin</artifactId>
   168                 <version>2.9</version>
   169                 <configuration>
   170                     <subpackages>${publicPackages}</subpackages>
   171                     <skip>false</skip>
   172                 </configuration>
   173               </plugin>
   174             <plugin>
   175                 <groupId>org.apache.felix</groupId>
   176                 <artifactId>maven-bundle-plugin</artifactId>
   177                 <version>2.4.0</version>
   178                 <extensions>true</extensions>
   179                 <configuration>
   180                     <instructions>
   181                         <Export-Package>${publicPackages},META-INF.services.*;-noimport:=true;-split-package:=first</Export-Package>
   182                         <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
   183                     </instructions>
   184                 </configuration>
   185             </plugin>
   186             <plugin>
   187                 <groupId>org.netbeans.html</groupId>
   188                 <artifactId>html4j-maven-plugin</artifactId>
   189                 <version>${project.version}</version>
   190                 <executions>
   191                     <execution>
   192                         <id>classes</id>
   193                         <goals>
   194                             <goal>process-js-annotations</goal>
   195                         </goals>
   196                     </execution>
   197                     <execution>
   198                         <id>test-classes</id>
   199                         <phase>process-test-classes</phase>
   200                         <goals>
   201                             <goal>process-js-annotations</goal>
   202                         </goals>
   203                         <configuration>
   204                             <classes>${project.build.directory}/test-classes</classes>
   205                         </configuration>
   206                     </execution>
   207                 </executions>
   208             </plugin>
   209           </plugins>
   210       </pluginManagement>
   211   </build>
   212   <dependencyManagement>
   213       <dependencies>
   214         <dependency>
   215           <groupId>org.testng</groupId>
   216           <artifactId>testng</artifactId>
   217           <version>6.7</version>
   218           <scope>test</scope>
   219           <exclusions>
   220             <exclusion>
   221               <artifactId>junit</artifactId>
   222               <groupId>junit</groupId>
   223             </exclusion>
   224           </exclusions>
   225         </dependency>
   226         <dependency>
   227             <groupId>de.twentyeleven.skysail</groupId>
   228             <artifactId>org.json-osgi</artifactId>
   229             <version>20080701</version>
   230         </dependency>
   231         <dependency>
   232             <groupId>org.ow2.asm</groupId>
   233             <artifactId>asm</artifactId>
   234             <version>4.1</version>
   235         </dependency>
   236         <dependency>
   237           <groupId>org.netbeans.api</groupId>
   238           <artifactId>org-netbeans-modules-classfile</artifactId>
   239           <version>${netbeans.version}</version>
   240           <type>jar</type>
   241         </dependency>
   242         <dependency>
   243           <groupId>org.netbeans.api</groupId>
   244           <artifactId>org-openide-util-lookup</artifactId>
   245           <version>${netbeans.version}</version>
   246           <scope>compile</scope>
   247           <type>jar</type>
   248         </dependency>
   249         <dependency>
   250             <groupId>org.netbeans.api</groupId>
   251             <artifactId>org-netbeans-api-annotations-common</artifactId>
   252             <version>${netbeans.version}</version>
   253         </dependency>
   254         <dependency>
   255             <groupId>org.netbeans.api</groupId>
   256             <artifactId>org-netbeans-modules-java-source</artifactId>
   257             <version>${netbeans.version}</version>
   258         </dependency>
   259         <dependency>
   260             <groupId>org.netbeans.api</groupId>
   261             <artifactId>org-netbeans-libs-javacapi</artifactId>
   262             <version>${netbeans.version}</version>
   263         </dependency>
   264         <dependency>
   265             <groupId>org.netbeans.api</groupId>
   266             <artifactId>org-netbeans-spi-java-hints</artifactId>
   267             <version>${netbeans.version}</version>
   268         </dependency>
   269         <dependency>
   270             <groupId>org.netbeans.api</groupId>
   271             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   272             <version>${netbeans.version}</version>
   273         </dependency>
   274         <dependency>
   275             <groupId>org.netbeans.api</groupId>
   276             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   277             <version>${netbeans.version}</version>
   278         </dependency>
   279         <dependency>
   280             <groupId>org.netbeans.api</groupId>
   281             <artifactId>org-openide-util</artifactId>
   282             <version>${netbeans.version}</version>
   283         </dependency>
   284         <dependency>
   285             <groupId>org.netbeans.api</groupId>
   286             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   287             <version>${netbeans.version}</version>
   288         </dependency>
   289         <dependency>
   290             <groupId>org.netbeans.api</groupId>
   291             <artifactId>org-netbeans-modules-lexer</artifactId>
   292             <version>${netbeans.version}</version>
   293         </dependency>
   294         <dependency>
   295             <groupId>org.netbeans.api</groupId>
   296             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   297             <version>${netbeans.version}</version>
   298         </dependency>
   299         <dependency>
   300             <groupId>org.netbeans.api</groupId>
   301             <artifactId>org-netbeans-libs-junit4</artifactId>
   302             <version>${netbeans.version}</version>
   303         </dependency>
   304         <dependency>
   305             <groupId>org.netbeans.modules</groupId>
   306             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   307             <version>${netbeans.version}</version>
   308         </dependency>
   309         <dependency> 
   310             <groupId>org.netbeans.modules</groupId>
   311             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   312             <version>${netbeans.version}</version>
   313             <exclusions>
   314                 <exclusion>
   315                     <artifactId>org-netbeans-core</artifactId>
   316                     <groupId>org.netbeans.modules</groupId>
   317                 </exclusion>
   318                 <exclusion>
   319                     <artifactId>org-netbeans-core-multiview</artifactId>
   320                     <groupId>org.netbeans.api</groupId>
   321                 </exclusion>
   322                 <exclusion>
   323                     <artifactId>org-netbeans-libs-lucene</artifactId>
   324                     <groupId>org.netbeans.api</groupId>
   325                 </exclusion>
   326                 <exclusion>
   327                     <artifactId>org-netbeans-modules-diff</artifactId>
   328                     <groupId>org.netbeans.api</groupId>
   329                 </exclusion>
   330                 <exclusion>
   331                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   332                     <groupId>org.netbeans.api</groupId>
   333                 </exclusion>
   334                 <exclusion>
   335                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   336                     <groupId>org.netbeans.api</groupId>
   337                 </exclusion>
   338             </exclusions>
   339         </dependency>
   340         <dependency>
   341             <artifactId>org-netbeans-modules-projectapi</artifactId>
   342             <groupId>org.netbeans.api</groupId>
   343             <type>jar</type>
   344             <version>${netbeans.version}</version>
   345         </dependency>
   346       </dependencies>
   347   </dependencyManagement>
   348   <profiles>
   349       <profile>
   350           <id>jdk8</id>
   351           <activation>
   352               <file>
   353                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   354               </file>
   355           </activation>
   356           <properties>
   357             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   358           </properties>
   359       </profile>
   360       <profile>
   361           <id>jdk7</id>
   362           <activation>
   363               <file>
   364                   <exists>${java.home}/lib/jfxrt.jar</exists>
   365               </file>
   366           </activation>
   367           <properties>
   368             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   369           </properties>
   370       </profile>
   371   </profiles>
   372 </project>