pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Fri, 01 Jul 2016 23:34:06 +0200
branchTruffle
changeset 1094 47cd2110ed8d
parent 1075 8583ce1a062b
child 1103 d8f27be84171
permissions -rw-r--r--
Implementation of Fn.Presenter using Truffle's PolyglotEngine
     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.netbeans.html</groupId>
     5   <artifactId>pom</artifactId>
     6   <version>2.0-SNAPSHOT</version>
     7   <packaging>pom</packaging>
     8   <name>HTML APIs via Java</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       <grizzly.version>2.3.8</grizzly.version>
    18       <license>COPYING</license>
    19       <publicPackages />
    20       <bundleSymbolicName>${project.artifactId}</bundleSymbolicName>
    21       <netbeans.compile.on.save>none</netbeans.compile.on.save>
    22   </properties>
    23   <modules>
    24     <module>json</module>
    25     <module>json-tck</module>
    26     <module>ko4j</module>
    27     <module>sound</module>
    28     <module>context</module>
    29     <module>boot</module>
    30     <module>boot-fx</module>
    31     <module>geo</module>
    32     <module>ko-ws-tyrus</module>
    33     <module>html4j-maven-plugin</module>
    34     <module>ko-felix-test</module>
    35     <module>ko-osgi-test</module>
    36     <module>equinox-agentclass-hook</module>
    37     <module>boot-script</module>
    38     <module>boot-truffle</module>
    39     <module>boot-agent-test</module>
    40     <module>xhr4j</module>
    41   </modules>
    42   <licenses>
    43       <license>
    44           <name>GPL-2.0wCPexc+CDDL</name>
    45           <url>http://www.netbeans.org/cddl-gplv2.html</url>
    46           <distribution>repo</distribution>
    47       </license>
    48   </licenses>
    49   <organization>
    50       <name>NetBeans</name>
    51       <url>http://netbeans.org</url>
    52   </organization>
    53   <scm>
    54       <connection>scm:hg:https://hg.netbeans.org/html4j</connection>
    55       <developerConnection>scm:hg:https://hg.netbeans.org/html4j</developerConnection>
    56       <url>https://hg.netbeans.org/html4j</url>
    57       <tag>default</tag>
    58   </scm>
    59   <repositories>
    60       <repository>
    61           <id>netbeans</id>
    62           <name>NetBeans</name>
    63           <url>http://bits.netbeans.org/maven2/</url>
    64       </repository>
    65   </repositories>
    66   <pluginRepositories>
    67       <pluginRepository>
    68           <id>mc-release</id>
    69           <name>Local Maven repository of releases</name>
    70           <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    71           <snapshots>
    72               <enabled>false</enabled>
    73           </snapshots>
    74           <releases>
    75               <enabled>true</enabled>
    76           </releases>
    77       </pluginRepository>
    78   </pluginRepositories>
    79   <build>
    80       <plugins>
    81          <plugin>
    82               <inherited>false</inherited>
    83               <groupId>com.mycila.maven-license-plugin</groupId>
    84               <artifactId>maven-license-plugin</artifactId>
    85               <version>1.9.0</version>
    86               <executions>
    87                   <execution>
    88                       <id>blah</id>
    89                       <goals>
    90                           <goal>check</goal>
    91                       </goals>
    92                   </execution>
    93               </executions>
    94               <configuration>
    95                   <aggregate>true</aggregate>
    96                   <basedir>${basedir}</basedir>
    97                   <header>COPYING</header>
    98                   <strictCheck>true</strictCheck>
    99                   <excludes>
   100                        <exclude>*</exclude>
   101                        <exclude>.*/**</exclude>
   102                        <exclude>*/nb-configuration.xml</exclude>
   103                        <exclude>ko4j/src/main/resources/org/netbeans/html/ko4j/knockout-3.4.0.js</exclude>
   104                        <exclude>boot-script/src/test/resources/net/java/html/boot/script/ko4j/env.nashorn.1.2-debug.js</exclude>
   105                        <exclude>src/main/javadoc/resources/teavm.js</exclude>
   106                   </excludes>
   107               </configuration>
   108           </plugin>
   109            <plugin>
   110             <artifactId>maven-release-plugin</artifactId>
   111             <version>2.4</version>
   112             <configuration>
   113               <mavenExecutorId>forked-path</mavenExecutorId>
   114               <useReleaseProfile>false</useReleaseProfile>
   115               <arguments>-Pjvnet-release -Pgpg</arguments>
   116               <tag>release-${releaseVersion}</tag>
   117             </configuration>
   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                   <docfilessubdirs>true</docfilessubdirs>
   125                   <subpackages>${publicPackages}</subpackages>
   126                   <skip>false</skip>
   127                   <excludePackageNames>
   128 org.netbeans.html.boot.impl:org.netbeans.html.boot.fx:org.netbeans.html.context.impl:org.netbeans.html.equinox.*:org.netbeans.html.geo.impl:org.netbeans.html.json.impl:org.netbeans.html.sound.impl:org.netbeans.html.ko.*:org.netbeans.html.ko4j:org.netbeans.html.mojo:org.netbeans.html.wstyrus:net.java.html.js.tests:net.java.html.json.tests:org.netbeans.html.xhr4j
   129                   </excludePackageNames>
   130                 <groups>
   131                   <group>
   132                     <title>JSON for Java</title>
   133                     <packages>net.java.html.json</packages>
   134                   </group>
   135                   <group>
   136                     <title>Core Client APIs</title>
   137                     <packages>net.java.html.boot*:net.java.html.js:net.java.html</packages>
   138                   </group>
   139                   <group>
   140                     <title>Geolocation API</title>
   141                     <packages>net.java.html.geo</packages>
   142                   </group>
   143                   <group>
   144                     <title>Sound API</title>
   145                     <packages>net.java.html.sound</packages>
   146                   </group>
   147                   <group>
   148                     <title>Testing and Headless API</title>
   149                     <packages>net.java.html.boot.script</packages>
   150                   </group>
   151                   <group>
   152                     <title>Service Provider APIs (not commonly interesting)</title>
   153                     <packages>org.netbeans.html.*</packages>
   154                   </group>
   155                 </groups>   
   156                 <links>
   157                     <link>http://testng.org/javadocs/</link>
   158                     <link>http://bits.netbeans.org/8.0/javadoc/org-openide-util-lookup/</link>
   159                     <link>http://docs.oracle.com/javase/8/javafx/api/</link>
   160                 </links>              
   161               </configuration>
   162             </plugin>
   163       </plugins>
   164       <pluginManagement>
   165           <plugins>
   166               <plugin>
   167                 <groupId>org.apache.maven.plugins</groupId>
   168                 <artifactId>maven-surefire-plugin</artifactId>
   169                 <version>2.13</version>
   170                 <configuration>
   171                     <systemPropertyVariables>
   172                         <fxpresenter.headless>true</fxpresenter.headless>
   173                     </systemPropertyVariables>
   174                 </configuration>
   175               </plugin>
   176               <plugin>
   177                 <groupId>org.apache.maven.plugins</groupId>
   178                 <artifactId>maven-failsafe-plugin</artifactId>
   179                 <version>2.18.1</version>
   180                 <configuration>
   181                     <systemPropertyVariables>
   182                         <fxpresenter.headless>true</fxpresenter.headless>
   183                     </systemPropertyVariables>
   184                 </configuration>
   185               </plugin>
   186               <plugin>
   187                 <groupId>org.apache.maven.plugins</groupId>
   188                 <artifactId>maven-deploy-plugin</artifactId>
   189                 <version>2.8.1</version>
   190               </plugin>
   191               <plugin>
   192                 <groupId>org.apache.maven.plugins</groupId>
   193                 <artifactId>maven-compiler-plugin</artifactId>
   194                 <version>3.1</version>
   195                 <configuration>
   196                     <source>1.6</source>
   197                     <target>1.6</target>
   198                 </configuration>
   199               </plugin>
   200               <plugin>
   201                 <groupId>org.apache.maven.plugins</groupId>
   202                 <artifactId>maven-javadoc-plugin</artifactId>
   203                 <version>2.9</version>
   204                 <configuration>
   205                     <subpackages>${publicPackages}</subpackages>
   206                     <skip>false</skip>
   207                 </configuration>
   208               </plugin>
   209             <plugin>
   210                 <groupId>org.apache.felix</groupId>
   211                 <artifactId>maven-bundle-plugin</artifactId>
   212                 <version>2.4.0</version>
   213                 <extensions>true</extensions>
   214                 <configuration>
   215                     <instructions>
   216                         <Export-Package>${publicPackages},META-INF.services.*;-noimport:=true;-split-package:=first</Export-Package>
   217                         <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
   218                     </instructions>
   219                 </configuration>
   220             </plugin>
   221             <plugin>
   222                 <groupId>org.netbeans.html</groupId>
   223                 <artifactId>html4j-maven-plugin</artifactId>
   224                 <version>${project.version}</version>
   225                 <executions>
   226                     <execution>
   227                         <id>classes</id>
   228                         <goals>
   229                             <goal>process-js-annotations</goal>
   230                         </goals>
   231                     </execution>
   232                     <execution>
   233                         <id>test-classes</id>
   234                         <phase>process-test-classes</phase>
   235                         <goals>
   236                             <goal>process-js-annotations</goal>
   237                         </goals>
   238                         <configuration>
   239                             <classes>${project.build.directory}/test-classes</classes>
   240                         </configuration>
   241                     </execution>
   242                 </executions>
   243             </plugin>
   244           </plugins>
   245       </pluginManagement>
   246   </build>
   247   <dependencyManagement>
   248       <dependencies>
   249         <dependency>
   250           <groupId>org.testng</groupId>
   251           <artifactId>testng</artifactId>
   252           <version>6.7</version>
   253           <scope>test</scope>
   254           <exclusions>
   255             <exclusion>
   256               <artifactId>junit</artifactId>
   257               <groupId>junit</groupId>
   258             </exclusion>
   259           </exclusions>
   260         </dependency>
   261         <dependency>
   262             <groupId>de.twentyeleven.skysail</groupId>
   263             <artifactId>org.json-osgi</artifactId>
   264             <version>20080701</version>
   265         </dependency>
   266         <dependency>
   267             <groupId>org.ow2.asm</groupId>
   268             <artifactId>asm</artifactId>
   269             <version>5.0</version>
   270         </dependency>
   271         <dependency>
   272           <groupId>org.netbeans.api</groupId>
   273           <artifactId>org-netbeans-modules-classfile</artifactId>
   274           <version>${netbeans.version}</version>
   275           <type>jar</type>
   276         </dependency>
   277         <dependency>
   278           <groupId>org.netbeans.api</groupId>
   279           <artifactId>org-openide-util-lookup</artifactId>
   280           <version>${netbeans.version}</version>
   281           <scope>compile</scope>
   282           <type>jar</type>
   283         </dependency>
   284         <dependency>
   285             <groupId>org.netbeans.api</groupId>
   286             <artifactId>org-netbeans-api-annotations-common</artifactId>
   287             <version>${netbeans.version}</version>
   288         </dependency>
   289         <dependency>
   290             <groupId>org.netbeans.api</groupId>
   291             <artifactId>org-netbeans-modules-java-source</artifactId>
   292             <version>${netbeans.version}</version>
   293         </dependency>
   294         <dependency>
   295             <groupId>org.netbeans.api</groupId>
   296             <artifactId>org-netbeans-libs-javacapi</artifactId>
   297             <version>${netbeans.version}</version>
   298         </dependency>
   299         <dependency>
   300             <groupId>org.netbeans.api</groupId>
   301             <artifactId>org-netbeans-spi-java-hints</artifactId>
   302             <version>${netbeans.version}</version>
   303         </dependency>
   304         <dependency>
   305             <groupId>org.netbeans.api</groupId>
   306             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   307             <version>${netbeans.version}</version>
   308         </dependency>
   309         <dependency>
   310             <groupId>org.netbeans.api</groupId>
   311             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   312             <version>${netbeans.version}</version>
   313         </dependency>
   314         <dependency>
   315             <groupId>org.netbeans.api</groupId>
   316             <artifactId>org-openide-util</artifactId>
   317             <version>${netbeans.version}</version>
   318         </dependency>
   319         <dependency>
   320             <groupId>org.netbeans.api</groupId>
   321             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   322             <version>${netbeans.version}</version>
   323         </dependency>
   324         <dependency>
   325             <groupId>org.netbeans.api</groupId>
   326             <artifactId>org-netbeans-modules-lexer</artifactId>
   327             <version>${netbeans.version}</version>
   328         </dependency>
   329         <dependency>
   330             <groupId>org.netbeans.api</groupId>
   331             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   332             <version>${netbeans.version}</version>
   333         </dependency>
   334         <dependency>
   335             <groupId>org.netbeans.api</groupId>
   336             <artifactId>org-netbeans-libs-junit4</artifactId>
   337             <version>${netbeans.version}</version>
   338         </dependency>
   339         <dependency>
   340             <groupId>org.netbeans.modules</groupId>
   341             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   342             <version>${netbeans.version}</version>
   343         </dependency>
   344         <dependency>
   345             <groupId>org.apache.felix</groupId>
   346             <artifactId>org.apache.felix.framework</artifactId>
   347             <version>4.2.1</version>
   348         </dependency>
   349       <dependency>
   350             <groupId>javax.servlet</groupId>
   351             <artifactId>javax.servlet-api</artifactId>
   352             <version>3.1.0</version>
   353         </dependency>
   354         <dependency> 
   355             <groupId>org.netbeans.modules</groupId>
   356             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   357             <version>${netbeans.version}</version>
   358             <exclusions>
   359                 <exclusion>
   360                     <artifactId>org-netbeans-core</artifactId>
   361                     <groupId>org.netbeans.modules</groupId>
   362                 </exclusion>
   363                 <exclusion>
   364                     <artifactId>org-netbeans-core-multiview</artifactId>
   365                     <groupId>org.netbeans.api</groupId>
   366                 </exclusion>
   367                 <exclusion>
   368                     <artifactId>org-netbeans-libs-lucene</artifactId>
   369                     <groupId>org.netbeans.api</groupId>
   370                 </exclusion>
   371                 <exclusion>
   372                     <artifactId>org-netbeans-modules-diff</artifactId>
   373                     <groupId>org.netbeans.api</groupId>
   374                 </exclusion>
   375                 <exclusion>
   376                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   377                     <groupId>org.netbeans.api</groupId>
   378                 </exclusion>
   379                 <exclusion>
   380                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   381                     <groupId>org.netbeans.api</groupId>
   382                 </exclusion>
   383             </exclusions>
   384         </dependency>
   385         <dependency>
   386             <artifactId>org-netbeans-modules-projectapi</artifactId>
   387             <groupId>org.netbeans.api</groupId>
   388             <type>jar</type>
   389             <version>${netbeans.version}</version>
   390         </dependency>
   391       </dependencies>
   392   </dependencyManagement>
   393   <profiles>
   394       <profile>
   395           <id>jdk8</id>
   396           <activation>
   397               <file>
   398                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   399               </file>
   400           </activation>
   401           <properties>
   402             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   403           </properties>
   404       </profile>
   405       <profile>
   406           <id>jdk7</id>
   407           <activation>
   408               <file>
   409                   <exists>${java.home}/lib/jfxrt.jar</exists>
   410               </file>
   411           </activation>
   412           <properties>
   413             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   414           </properties>
   415       </profile>
   416   </profiles>
   417 </project>