pom.xml
author Jaroslav Tulach <jaroslav.tulach@netbeans.org>
Tue, 21 Jan 2014 09:05:01 +0100
changeset 473 4f02ac8ef70a
parent 472 c6f161bedc70
child 477 460881c12fdd
permissions -rw-r--r--
[maven-release-plugin] prepare release release-0.7.1
     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.7.1</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>ko-osgi-test</module>
    35     <module>equinox-agentclass-hook</module>
    36   </modules>
    37   <licenses>
    38       <license>
    39           <name>GPL-2.0wCPexc+CDDL</name>
    40           <url>http://www.netbeans.org/cddl-gplv2.html</url>
    41           <distribution>repo</distribution>
    42       </license>
    43   </licenses>
    44   <organization>
    45       <name>NetBeans</name>
    46       <url>http://netbeans.org</url>
    47   </organization>
    48   <scm>
    49       <connection>scm:hg:https://hg.netbeans.org/html4j</connection>
    50       <developerConnection>scm:hg:https://hg.netbeans.org/html4j</developerConnection>
    51       <url>https://hg.netbeans.org/html4j</url>
    52       <tag>release-0.7.1</tag>
    53   </scm>
    54   <repositories>
    55       <repository>
    56           <id>netbeans</id>
    57           <name>NetBeans</name>
    58           <url>http://bits.netbeans.org/maven2/</url>
    59       </repository>
    60   </repositories>
    61   <pluginRepositories>
    62       <pluginRepository>
    63           <id>mc-release</id>
    64           <name>Local Maven repository of releases</name>
    65           <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    66           <snapshots>
    67               <enabled>false</enabled>
    68           </snapshots>
    69           <releases>
    70               <enabled>true</enabled>
    71           </releases>
    72       </pluginRepository>
    73   </pluginRepositories>
    74   <build>
    75       <plugins>
    76          <plugin>
    77               <inherited>false</inherited>
    78               <groupId>com.mycila.maven-license-plugin</groupId>
    79               <artifactId>maven-license-plugin</artifactId>
    80               <version>1.9.0</version>
    81               <executions>
    82                   <execution>
    83                       <id>blah</id>
    84                       <goals>
    85                           <goal>check</goal>
    86                       </goals>
    87                   </execution>
    88               </executions>
    89               <configuration>
    90                   <aggregate>true</aggregate>
    91                   <basedir>${basedir}</basedir>
    92                   <header>COPYING</header>
    93                   <strictCheck>true</strictCheck>
    94                   <excludes>
    95                        <exclude>*</exclude>
    96                        <exclude>.*/**</exclude>
    97                        <exclude>ko-archetype/src/main/resources/**</exclude>
    98                        <exclude>ko4j/src/main/resources/org/netbeans/html/ko4j/knockout*.js</exclude>
    99                   </excludes>
   100               </configuration>
   101           </plugin>
   102            <plugin>
   103             <artifactId>maven-release-plugin</artifactId>
   104             <version>2.4</version>
   105             <configuration>
   106               <mavenExecutorId>forked-path</mavenExecutorId>
   107               <useReleaseProfile>false</useReleaseProfile>
   108               <arguments>-Pjvnet-release -Pgpg</arguments>
   109               <tag>release-${releaseVersion}</tag>
   110             </configuration>
   111           </plugin>
   112       </plugins>
   113       <pluginManagement>
   114           <plugins>
   115               <plugin>
   116                 <groupId>org.apache.maven.plugins</groupId>
   117                 <artifactId>maven-surefire-plugin</artifactId>
   118                 <version>2.13</version>
   119               </plugin>
   120               <plugin>
   121                 <groupId>org.apache.maven.plugins</groupId>
   122                 <artifactId>maven-javadoc-plugin</artifactId>
   123                 <version>2.9</version>
   124                 <configuration>
   125                     <subpackages>${publicPackages}</subpackages>
   126                     <skip>false</skip>
   127                 </configuration>
   128               </plugin>
   129             <plugin>
   130                 <groupId>org.apache.felix</groupId>
   131                 <artifactId>maven-bundle-plugin</artifactId>
   132                 <version>2.4.0</version>
   133                 <extensions>true</extensions>
   134                 <configuration>
   135                     <instructions>
   136                         <Export-Package>${publicPackages},META-INF.services.*</Export-Package>
   137                         <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
   138                     </instructions>
   139                 </configuration>
   140             </plugin>
   141           </plugins>
   142       </pluginManagement>
   143   </build>
   144   <dependencyManagement>
   145       <dependencies>
   146         <dependency>
   147           <groupId>org.testng</groupId>
   148           <artifactId>testng</artifactId>
   149           <version>6.7</version>
   150           <scope>test</scope>
   151           <exclusions>
   152             <exclusion>
   153               <artifactId>junit</artifactId>
   154               <groupId>junit</groupId>
   155             </exclusion>
   156           </exclusions>
   157         </dependency>
   158         <dependency>
   159             <groupId>de.twentyeleven.skysail</groupId>
   160             <artifactId>org.json-osgi</artifactId>
   161             <version>20080701</version>
   162         </dependency>
   163         <dependency>
   164           <groupId>org.netbeans.api</groupId>
   165           <artifactId>org-netbeans-modules-classfile</artifactId>
   166           <version>${netbeans.version}</version>
   167           <type>jar</type>
   168         </dependency>
   169         <dependency>
   170           <groupId>org.netbeans.api</groupId>
   171           <artifactId>org-openide-util-lookup</artifactId>
   172           <version>${netbeans.version}</version>
   173           <scope>compile</scope>
   174           <type>jar</type>
   175         </dependency>
   176         <dependency>
   177             <groupId>org.netbeans.api</groupId>
   178             <artifactId>org-netbeans-api-annotations-common</artifactId>
   179             <version>${netbeans.version}</version>
   180         </dependency>
   181         <dependency>
   182             <groupId>org.netbeans.api</groupId>
   183             <artifactId>org-netbeans-modules-java-source</artifactId>
   184             <version>${netbeans.version}</version>
   185         </dependency>
   186         <dependency>
   187             <groupId>org.netbeans.api</groupId>
   188             <artifactId>org-netbeans-libs-javacapi</artifactId>
   189             <version>${netbeans.version}</version>
   190         </dependency>
   191         <dependency>
   192             <groupId>org.netbeans.api</groupId>
   193             <artifactId>org-netbeans-spi-java-hints</artifactId>
   194             <version>${netbeans.version}</version>
   195         </dependency>
   196         <dependency>
   197             <groupId>org.netbeans.api</groupId>
   198             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   199             <version>${netbeans.version}</version>
   200         </dependency>
   201         <dependency>
   202             <groupId>org.netbeans.api</groupId>
   203             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   204             <version>${netbeans.version}</version>
   205         </dependency>
   206         <dependency>
   207             <groupId>org.netbeans.api</groupId>
   208             <artifactId>org-openide-util</artifactId>
   209             <version>${netbeans.version}</version>
   210         </dependency>
   211         <dependency>
   212             <groupId>org.netbeans.api</groupId>
   213             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   214             <version>${netbeans.version}</version>
   215         </dependency>
   216         <dependency>
   217             <groupId>org.netbeans.api</groupId>
   218             <artifactId>org-netbeans-modules-lexer</artifactId>
   219             <version>${netbeans.version}</version>
   220         </dependency>
   221         <dependency>
   222             <groupId>org.netbeans.api</groupId>
   223             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   224             <version>${netbeans.version}</version>
   225         </dependency>
   226         <dependency>
   227             <groupId>org.netbeans.api</groupId>
   228             <artifactId>org-netbeans-libs-junit4</artifactId>
   229             <version>${netbeans.version}</version>
   230         </dependency>
   231         <dependency>
   232             <groupId>org.netbeans.modules</groupId>
   233             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   234             <version>${netbeans.version}</version>
   235         </dependency>
   236         <dependency> 
   237             <groupId>org.netbeans.modules</groupId>
   238             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   239             <version>${netbeans.version}</version>
   240             <exclusions>
   241                 <exclusion>
   242                     <artifactId>org-netbeans-core</artifactId>
   243                     <groupId>org.netbeans.modules</groupId>
   244                 </exclusion>
   245                 <exclusion>
   246                     <artifactId>org-netbeans-core-multiview</artifactId>
   247                     <groupId>org.netbeans.api</groupId>
   248                 </exclusion>
   249                 <exclusion>
   250                     <artifactId>org-netbeans-libs-lucene</artifactId>
   251                     <groupId>org.netbeans.api</groupId>
   252                 </exclusion>
   253                 <exclusion>
   254                     <artifactId>org-netbeans-modules-diff</artifactId>
   255                     <groupId>org.netbeans.api</groupId>
   256                 </exclusion>
   257                 <exclusion>
   258                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   259                     <groupId>org.netbeans.api</groupId>
   260                 </exclusion>
   261                 <exclusion>
   262                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   263                     <groupId>org.netbeans.api</groupId>
   264                 </exclusion>
   265             </exclusions>
   266         </dependency>
   267         <dependency>
   268             <artifactId>org-netbeans-modules-projectapi</artifactId>
   269             <groupId>org.netbeans.api</groupId>
   270             <type>jar</type>
   271             <version>${netbeans.version}</version>
   272         </dependency>
   273       </dependencies>
   274   </dependencyManagement>
   275   <profiles>
   276       <profile>
   277           <id>jdk8</id>
   278           <activation>
   279               <file>
   280                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   281               </file>
   282           </activation>
   283           <properties>
   284             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   285           </properties>
   286       </profile>
   287       <profile>
   288           <id>jdk7</id>
   289           <activation>
   290               <file>
   291                   <exists>${java.home}/lib/jfxrt.jar</exists>
   292               </file>
   293           </activation>
   294           <properties>
   295             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   296           </properties>
   297       </profile>
   298   </profiles>
   299 </project>