pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 26 Mar 2013 11:42:21 +0100
changeset 895 850b213f47db
parent 870 448bed1f6d5a
child 896 30e9ac29654f
permissions -rw-r--r--
Hopefully managed to convince the release plugin to read GPG key from settings.xml
     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>bck2brwsr</artifactId>
     6   <version>0.5-SNAPSHOT</version>
     7   <packaging>pom</packaging>
     8   <name>Back 2 Browser</name>
     9   <parent>
    10     <groupId>net.java</groupId>
    11     <artifactId>jvnet-parent</artifactId>
    12     <version>3</version>
    13   </parent>  
    14   <modules>
    15     <module>dew</module>
    16     <module>javaquery</module>
    17     <module>benchmarks</module>
    18     <module>ide</module>
    19     <module>rt</module>
    20   </modules>
    21   <licenses>
    22       <license>
    23           <name>GPL-2.0</name>
    24           <url>http://opensource.org/licenses/GPL-2.0</url>
    25           <distribution>repo</distribution>
    26       </license>
    27   </licenses>
    28   <organization>
    29       <name>API Design</name>
    30       <url>http://apidesign.org</url>
    31   </organization>
    32   <scm>
    33       <connection>scm:hg:http://source.apidesign.org/hg/bck2brwsr</connection>
    34       <developerConnection>scm:hg:https://source.apidesign.org/hg/bck2brwsr</developerConnection>
    35       <url>http://source.apidesign.org/hg/bck2brwsr</url>
    36     <tag>HEAD</tag>
    37   </scm>
    38   <repositories>
    39       <repository>
    40           <id>netbeans</id>
    41           <name>NetBeans</name>
    42           <url>http://bits.netbeans.org/maven2/</url>
    43       </repository>
    44   </repositories>
    45   <pluginRepositories>
    46       <pluginRepository>
    47           <id>mc-release</id>
    48           <name>Local Maven repository of releases</name>
    49           <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    50           <snapshots>
    51               <enabled>false</enabled>
    52           </snapshots>
    53           <releases>
    54               <enabled>true</enabled>
    55           </releases>
    56       </pluginRepository>
    57   </pluginRepositories>
    58   <build>
    59       <plugins>
    60          <plugin>
    61               <inherited>false</inherited>
    62               <groupId>com.mycila.maven-license-plugin</groupId>
    63               <artifactId>maven-license-plugin</artifactId>
    64               <version>1.9.0</version>
    65               <executions>
    66                   <execution>
    67                       <id>blah</id>
    68                       <goals>
    69                           <goal>check</goal>
    70                       </goals>
    71                   </execution>
    72               </executions>
    73               <configuration>
    74                   <aggregate>true</aggregate>
    75                   <basedir>${basedir}</basedir>
    76                   <header>COPYING</header>
    77                   <strictCheck>true</strictCheck>
    78                   <excludes>
    79                        <exclude>*</exclude>
    80                        <exclude>.*/**</exclude>
    81                        <exclude>rt/emul/*/src/main/**</exclude>
    82                        <exclude>rt/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeParser.java</exclude>
    83                        <exclude>rt/archetype/src/main/resources/archetype-resources/**</exclude>
    84                        <exclude>rt/vmtest/src/test/resources/**</exclude>
    85                        <exclude>dew/src/main/resources/org/apidesign/bck2brwsr/dew/**</exclude>
    86                        <exclude>javaquery/api/src/main/resources/org/apidesign/bck2brwsr/htmlpage/knockout*.js</exclude>
    87                   </excludes>
    88               </configuration>
    89           </plugin>
    90           <plugin>
    91               <groupId>org.apache.maven.plugins</groupId>
    92               <artifactId>maven-release-plugin</artifactId>
    93               <version>2.4</version>
    94               <configuration>
    95                   <tag>release-${releaseVersion}</tag>
    96               </configuration>
    97           </plugin>      
    98            <plugin>
    99             <artifactId>maven-release-plugin</artifactId>
   100             <version>2.1</version>
   101             <configuration>
   102               <mavenExecutorId>forked-path</mavenExecutorId>
   103               <useReleaseProfile>false</useReleaseProfile>
   104               <arguments>-Pjvnet-release -Pgpg</arguments>
   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.7</source>
   129                     <target>1.7</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>RELEASE73</version>
   153           <type>jar</type>
   154         </dependency>
   155         <dependency>
   156           <groupId>org.netbeans.api</groupId>
   157           <artifactId>org-openide-util-lookup</artifactId>
   158           <version>RELEASE73</version>
   159           <scope>compile</scope>
   160           <type>jar</type>
   161         </dependency>
   162       </dependencies>
   163   </dependencyManagement>
   164   <properties>
   165       <license>COPYING</license>
   166   </properties>
   167 </project>