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