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