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