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