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