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