pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 29 Apr 2014 15:08:02 +0200
branchclosure
changeset 1507 afd9c9a7ef2d
parent 1499 f8850d0650d6
child 1513 ba912ef24b27
permissions -rw-r--r--
Switching to newer version of NetBeans that can run on JDK8
     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.8-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       <netbeans.compile.on.save>none</netbeans.compile.on.save>
    19   </properties>
    20   <modules>
    21     <module>dew</module>
    22     <module>javaquery</module>
    23     <module>benchmarks</module>
    24     <module>ide</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/*/src/main/**</exclude>
    89                        <exclude>rt/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeParser.java</exclude>
    90                        <exclude>rt/archetype/src/main/resources/archetype-resources/**</exclude>
    91                        <exclude>rt/emul/*/src/test/resources/**</exclude>
    92                        <exclude>dew/src/main/resources/org/apidesign/bck2brwsr/dew/**</exclude>
    93                        <exclude>javaquery/api/src/main/resources/org/apidesign/bck2brwsr/htmlpage/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.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>${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>