pom.xml
author Jaroslav Tulach <jaroslav.tulach@netbeans.org>
Tue, 21 Jan 2014 08:54:02 +0100
branchpreprocess
changeset 475 57857c9eec5b
parent 467 6d3613b454ab
parent 471 14e1ef348d1a
child 484 72dc0325111c
permissions -rw-r--r--
Merging jdk6 branch to preprocess, so the changes are 1:1
     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>0.8-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>RELEASE73</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>ko-archetype</module>
    26     <module>ko-archetype-test</module>
    27     <module>ko4j</module>
    28     <module>sound</module>
    29     <module>context</module>
    30     <module>boot</module>
    31     <module>boot-fx</module>
    32     <module>geo</module>
    33     <module>ko-ws-tyrus</module>
    34     <module>html4j-maven-plugin</module>
    35     <module>ko-osgi-test</module>
    36     <module>equinox-agentclass-hook</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>ko-archetype/src/main/resources/**</exclude>
    99                        <exclude>ko4j/src/main/resources/org/netbeans/html/ko4j/knockout*.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       </plugins>
   114       <pluginManagement>
   115           <plugins>
   116               <plugin>
   117                 <groupId>org.apache.maven.plugins</groupId>
   118                 <artifactId>maven-surefire-plugin</artifactId>
   119                 <version>2.13</version>
   120               </plugin>
   121               <plugin>
   122                 <groupId>org.apache.maven.plugins</groupId>
   123                 <artifactId>maven-javadoc-plugin</artifactId>
   124                 <version>2.9</version>
   125                 <configuration>
   126                     <subpackages>${publicPackages}</subpackages>
   127                     <skip>false</skip>
   128                 </configuration>
   129               </plugin>
   130             <plugin>
   131                 <groupId>org.apache.felix</groupId>
   132                 <artifactId>maven-bundle-plugin</artifactId>
   133                 <version>2.4.0</version>
   134                 <extensions>true</extensions>
   135                 <configuration>
   136                     <instructions>
   137                         <Export-Package>${publicPackages},META-INF.services.*</Export-Package>
   138                         <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
   139                     </instructions>
   140                 </configuration>
   141             </plugin>
   142           </plugins>
   143       </pluginManagement>
   144   </build>
   145   <dependencyManagement>
   146       <dependencies>
   147         <dependency>
   148           <groupId>org.testng</groupId>
   149           <artifactId>testng</artifactId>
   150           <version>6.7</version>
   151           <scope>test</scope>
   152           <exclusions>
   153             <exclusion>
   154               <artifactId>junit</artifactId>
   155               <groupId>junit</groupId>
   156             </exclusion>
   157           </exclusions>
   158         </dependency>
   159         <dependency>
   160             <groupId>de.twentyeleven.skysail</groupId>
   161             <artifactId>org.json-osgi</artifactId>
   162             <version>20080701</version>
   163         </dependency>
   164         <dependency>
   165           <groupId>org.netbeans.api</groupId>
   166           <artifactId>org-netbeans-modules-classfile</artifactId>
   167           <version>${netbeans.version}</version>
   168           <type>jar</type>
   169         </dependency>
   170         <dependency>
   171           <groupId>org.netbeans.api</groupId>
   172           <artifactId>org-openide-util-lookup</artifactId>
   173           <version>${netbeans.version}</version>
   174           <scope>compile</scope>
   175           <type>jar</type>
   176         </dependency>
   177         <dependency>
   178             <groupId>org.netbeans.api</groupId>
   179             <artifactId>org-netbeans-api-annotations-common</artifactId>
   180             <version>${netbeans.version}</version>
   181         </dependency>
   182         <dependency>
   183             <groupId>org.netbeans.api</groupId>
   184             <artifactId>org-netbeans-modules-java-source</artifactId>
   185             <version>${netbeans.version}</version>
   186         </dependency>
   187         <dependency>
   188             <groupId>org.netbeans.api</groupId>
   189             <artifactId>org-netbeans-libs-javacapi</artifactId>
   190             <version>${netbeans.version}</version>
   191         </dependency>
   192         <dependency>
   193             <groupId>org.netbeans.api</groupId>
   194             <artifactId>org-netbeans-spi-java-hints</artifactId>
   195             <version>${netbeans.version}</version>
   196         </dependency>
   197         <dependency>
   198             <groupId>org.netbeans.api</groupId>
   199             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   200             <version>${netbeans.version}</version>
   201         </dependency>
   202         <dependency>
   203             <groupId>org.netbeans.api</groupId>
   204             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   205             <version>${netbeans.version}</version>
   206         </dependency>
   207         <dependency>
   208             <groupId>org.netbeans.api</groupId>
   209             <artifactId>org-openide-util</artifactId>
   210             <version>${netbeans.version}</version>
   211         </dependency>
   212         <dependency>
   213             <groupId>org.netbeans.api</groupId>
   214             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   215             <version>${netbeans.version}</version>
   216         </dependency>
   217         <dependency>
   218             <groupId>org.netbeans.api</groupId>
   219             <artifactId>org-netbeans-modules-lexer</artifactId>
   220             <version>${netbeans.version}</version>
   221         </dependency>
   222         <dependency>
   223             <groupId>org.netbeans.api</groupId>
   224             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   225             <version>${netbeans.version}</version>
   226         </dependency>
   227         <dependency>
   228             <groupId>org.netbeans.api</groupId>
   229             <artifactId>org-netbeans-libs-junit4</artifactId>
   230             <version>${netbeans.version}</version>
   231         </dependency>
   232         <dependency>
   233             <groupId>org.netbeans.modules</groupId>
   234             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   235             <version>${netbeans.version}</version>
   236         </dependency>
   237         <dependency> 
   238             <groupId>org.netbeans.modules</groupId>
   239             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   240             <version>${netbeans.version}</version>
   241             <exclusions>
   242                 <exclusion>
   243                     <artifactId>org-netbeans-core</artifactId>
   244                     <groupId>org.netbeans.modules</groupId>
   245                 </exclusion>
   246                 <exclusion>
   247                     <artifactId>org-netbeans-core-multiview</artifactId>
   248                     <groupId>org.netbeans.api</groupId>
   249                 </exclusion>
   250                 <exclusion>
   251                     <artifactId>org-netbeans-libs-lucene</artifactId>
   252                     <groupId>org.netbeans.api</groupId>
   253                 </exclusion>
   254                 <exclusion>
   255                     <artifactId>org-netbeans-modules-diff</artifactId>
   256                     <groupId>org.netbeans.api</groupId>
   257                 </exclusion>
   258                 <exclusion>
   259                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   260                     <groupId>org.netbeans.api</groupId>
   261                 </exclusion>
   262                 <exclusion>
   263                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   264                     <groupId>org.netbeans.api</groupId>
   265                 </exclusion>
   266             </exclusions>
   267         </dependency>
   268         <dependency>
   269             <artifactId>org-netbeans-modules-projectapi</artifactId>
   270             <groupId>org.netbeans.api</groupId>
   271             <type>jar</type>
   272             <version>${netbeans.version}</version>
   273         </dependency>
   274       </dependencies>
   275   </dependencyManagement>
   276   <profiles>
   277       <profile>
   278           <id>jdk8</id>
   279           <activation>
   280               <file>
   281                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   282               </file>
   283           </activation>
   284           <properties>
   285             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   286           </properties>
   287       </profile>
   288       <profile>
   289           <id>jdk7</id>
   290           <activation>
   291               <file>
   292                   <exists>${java.home}/lib/jfxrt.jar</exists>
   293               </file>
   294           </activation>
   295           <properties>
   296             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   297           </properties>
   298       </profile>
   299   </profiles>
   300 </project>