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