pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 10 Jul 2014 08:17:52 +0200
branchjdk8
changeset 1641 2111057af3b2
parent 1629 1e2a0b94b2ce
child 1643 e6ff54a8dff6
permissions -rw-r--r--
Filling in the constant pool
     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>1.0-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.8.2</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/emul/zip/src/main/**</exclude>
    91                        <exclude>rt/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeParser.java</exclude>
    92                        <exclude>rt/archetype/src/main/resources/archetype-resources/**</exclude>
    93                        <exclude>rt/emul/*/src/test/resources/**</exclude>
    94                        <exclude>javaquery/api/src/main/resources/org/apidesign/bck2brwsr/htmlpage/knockout*.js</exclude>
    95                        <exclude>ko/archetype/src/main/resources/archetype-resources/**</exclude>
    96                   </excludes>
    97               </configuration>
    98           </plugin>
    99            <plugin>
   100             <artifactId>maven-release-plugin</artifactId>
   101             <version>2.4</version>
   102             <configuration>
   103               <mavenExecutorId>forked-path</mavenExecutorId>
   104               <useReleaseProfile>false</useReleaseProfile>
   105               <arguments>-Pjvnet-release -Pgpg</arguments>
   106               <tag>release-${releaseVersion}</tag>
   107             </configuration>
   108           </plugin>
   109       </plugins>
   110       <pluginManagement>
   111           <plugins>
   112               <plugin>
   113                 <groupId>org.apache.maven.plugins</groupId>
   114                 <artifactId>maven-surefire-plugin</artifactId>
   115                 <version>2.13</version>
   116               </plugin>
   117               <plugin>
   118                 <groupId>org.apache.maven.plugins</groupId>
   119                 <artifactId>maven-javadoc-plugin</artifactId>
   120                 <version>2.9</version>
   121                 <configuration>
   122                     <skip>true</skip>
   123                 </configuration>
   124               </plugin>
   125             <plugin>
   126                 <groupId>org.apache.maven.plugins</groupId>
   127                 <artifactId>maven-compiler-plugin</artifactId>
   128                 <version>2.3.2</version>
   129                 <configuration>
   130                     <source>1.7</source>
   131                     <target>1.7</target>
   132                 </configuration>
   133             </plugin>
   134           </plugins>
   135       </pluginManagement>
   136   </build>
   137   <dependencyManagement>
   138       <dependencies>
   139         <dependency>
   140           <groupId>org.testng</groupId>
   141           <artifactId>testng</artifactId>
   142           <version>6.7</version>
   143           <scope>test</scope>
   144           <exclusions>
   145             <exclusion>
   146               <artifactId>junit</artifactId>
   147               <groupId>junit</groupId>
   148             </exclusion>
   149           </exclusions>
   150         </dependency>
   151         <dependency>
   152           <groupId>org.netbeans.api</groupId>
   153           <artifactId>org-netbeans-modules-classfile</artifactId>
   154           <version>${netbeans.version}</version>
   155           <type>jar</type>
   156         </dependency>
   157         <dependency>
   158           <groupId>org.netbeans.api</groupId>
   159           <artifactId>org-openide-util-lookup</artifactId>
   160           <version>${netbeans.version}</version>
   161           <scope>compile</scope>
   162           <type>jar</type>
   163         </dependency>
   164         <dependency>
   165             <groupId>org.netbeans.api</groupId>
   166             <artifactId>org-netbeans-api-annotations-common</artifactId>
   167             <version>${netbeans.version}</version>
   168         </dependency>
   169         <dependency>
   170             <groupId>org.netbeans.api</groupId>
   171             <artifactId>org-netbeans-modules-java-source</artifactId>
   172             <version>${netbeans.version}</version>
   173         </dependency>
   174         <dependency>
   175             <groupId>org.netbeans.api</groupId>
   176             <artifactId>org-netbeans-libs-javacapi</artifactId>
   177             <version>${netbeans.version}</version>
   178         </dependency>
   179         <dependency>
   180             <groupId>org.netbeans.api</groupId>
   181             <artifactId>org-netbeans-spi-java-hints</artifactId>
   182             <version>${netbeans.version}</version>
   183         </dependency>
   184         <dependency>
   185             <groupId>org.netbeans.api</groupId>
   186             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   187             <version>${netbeans.version}</version>
   188         </dependency>
   189         <dependency>
   190             <groupId>org.netbeans.api</groupId>
   191             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   192             <version>${netbeans.version}</version>
   193         </dependency>
   194         <dependency>
   195             <groupId>org.netbeans.api</groupId>
   196             <artifactId>org-openide-util</artifactId>
   197             <version>${netbeans.version}</version>
   198         </dependency>
   199         <dependency>
   200             <groupId>org.netbeans.api</groupId>
   201             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   202             <version>${netbeans.version}</version>
   203         </dependency>
   204         <dependency>
   205             <groupId>org.netbeans.api</groupId>
   206             <artifactId>org-netbeans-modules-lexer</artifactId>
   207             <version>${netbeans.version}</version>
   208         </dependency>
   209         <dependency>
   210             <groupId>org.netbeans.api</groupId>
   211             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   212             <version>${netbeans.version}</version>
   213         </dependency>
   214         <dependency>
   215             <groupId>org.netbeans.api</groupId>
   216             <artifactId>org-netbeans-libs-junit4</artifactId>
   217             <version>${netbeans.version}</version>
   218         </dependency>
   219         <dependency>
   220             <groupId>org.netbeans.modules</groupId>
   221             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   222             <version>${netbeans.version}</version>
   223         </dependency>
   224         <dependency> 
   225             <groupId>org.netbeans.modules</groupId>
   226             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   227             <version>${netbeans.version}</version>
   228             <exclusions>
   229                 <exclusion>
   230                     <artifactId>org-netbeans-core</artifactId>
   231                     <groupId>org.netbeans.modules</groupId>
   232                 </exclusion>
   233                 <exclusion>
   234                     <artifactId>org-netbeans-core-multiview</artifactId>
   235                     <groupId>org.netbeans.api</groupId>
   236                 </exclusion>
   237                 <exclusion>
   238                     <artifactId>org-netbeans-libs-lucene</artifactId>
   239                     <groupId>org.netbeans.api</groupId>
   240                 </exclusion>
   241                 <exclusion>
   242                     <artifactId>org-netbeans-modules-diff</artifactId>
   243                     <groupId>org.netbeans.api</groupId>
   244                 </exclusion>
   245                 <exclusion>
   246                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   247                     <groupId>org.netbeans.api</groupId>
   248                 </exclusion>
   249                 <exclusion>
   250                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   251                     <groupId>org.netbeans.api</groupId>
   252                 </exclusion>
   253             </exclusions>
   254         </dependency>
   255         <dependency>
   256             <artifactId>org-netbeans-modules-projectapi</artifactId>
   257             <groupId>org.netbeans.api</groupId>
   258             <type>jar</type>
   259             <version>${netbeans.version}</version>
   260         </dependency>
   261       </dependencies>
   262   </dependencyManagement>
   263   <profiles>
   264       <profile>
   265           <id>jdk8</id>
   266           <activation>
   267               <file>
   268                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   269               </file>
   270           </activation>
   271           <properties>
   272             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   273           </properties>
   274       </profile>
   275       <profile>
   276           <id>jdk7</id>
   277           <activation>
   278               <file>
   279                   <exists>${java.home}/lib/jfxrt.jar</exists>
   280               </file>
   281           </activation>
   282           <properties>
   283             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   284           </properties>
   285       </profile>
   286   </profiles>
   287 </project>