pom.xml
author Jaroslav Tulach <jaroslav.tulach@netbeans.org>
Tue, 14 Jan 2014 14:18:50 +0100
branchpreprocess
changeset 467 6d3613b454ab
parent 421 66d823ed2f87
parent 466 973fc25eb5f8
child 475 57857c9eec5b
permissions -rw-r--r--
Merging in the state just after the 0.7 release
     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.maven.plugins</groupId>
   132                 <artifactId>maven-compiler-plugin</artifactId>
   133                 <version>2.3.2</version>
   134                 <configuration>
   135                     <source>1.6</source>
   136                     <target>1.6</target>
   137                 </configuration>
   138             </plugin>
   139             <plugin>
   140                 <groupId>org.apache.felix</groupId>
   141                 <artifactId>maven-bundle-plugin</artifactId>
   142                 <version>2.4.0</version>
   143                 <extensions>true</extensions>
   144                 <configuration>
   145                     <instructions>
   146                         <Export-Package>${publicPackages},META-INF.services.*</Export-Package>
   147                         <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
   148                     </instructions>
   149                 </configuration>
   150             </plugin>
   151           </plugins>
   152       </pluginManagement>
   153   </build>
   154   <dependencyManagement>
   155       <dependencies>
   156         <dependency>
   157           <groupId>org.testng</groupId>
   158           <artifactId>testng</artifactId>
   159           <version>6.7</version>
   160           <scope>test</scope>
   161           <exclusions>
   162             <exclusion>
   163               <artifactId>junit</artifactId>
   164               <groupId>junit</groupId>
   165             </exclusion>
   166           </exclusions>
   167         </dependency>
   168         <dependency>
   169             <groupId>de.twentyeleven.skysail</groupId>
   170             <artifactId>org.json-osgi</artifactId>
   171             <version>20080701</version>
   172         </dependency>
   173         <dependency>
   174           <groupId>org.netbeans.api</groupId>
   175           <artifactId>org-netbeans-modules-classfile</artifactId>
   176           <version>${netbeans.version}</version>
   177           <type>jar</type>
   178         </dependency>
   179         <dependency>
   180           <groupId>org.netbeans.api</groupId>
   181           <artifactId>org-openide-util-lookup</artifactId>
   182           <version>${netbeans.version}</version>
   183           <scope>compile</scope>
   184           <type>jar</type>
   185         </dependency>
   186         <dependency>
   187             <groupId>org.netbeans.api</groupId>
   188             <artifactId>org-netbeans-api-annotations-common</artifactId>
   189             <version>${netbeans.version}</version>
   190         </dependency>
   191         <dependency>
   192             <groupId>org.netbeans.api</groupId>
   193             <artifactId>org-netbeans-modules-java-source</artifactId>
   194             <version>${netbeans.version}</version>
   195         </dependency>
   196         <dependency>
   197             <groupId>org.netbeans.api</groupId>
   198             <artifactId>org-netbeans-libs-javacapi</artifactId>
   199             <version>${netbeans.version}</version>
   200         </dependency>
   201         <dependency>
   202             <groupId>org.netbeans.api</groupId>
   203             <artifactId>org-netbeans-spi-java-hints</artifactId>
   204             <version>${netbeans.version}</version>
   205         </dependency>
   206         <dependency>
   207             <groupId>org.netbeans.api</groupId>
   208             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   209             <version>${netbeans.version}</version>
   210         </dependency>
   211         <dependency>
   212             <groupId>org.netbeans.api</groupId>
   213             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   214             <version>${netbeans.version}</version>
   215         </dependency>
   216         <dependency>
   217             <groupId>org.netbeans.api</groupId>
   218             <artifactId>org-openide-util</artifactId>
   219             <version>${netbeans.version}</version>
   220         </dependency>
   221         <dependency>
   222             <groupId>org.netbeans.api</groupId>
   223             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   224             <version>${netbeans.version}</version>
   225         </dependency>
   226         <dependency>
   227             <groupId>org.netbeans.api</groupId>
   228             <artifactId>org-netbeans-modules-lexer</artifactId>
   229             <version>${netbeans.version}</version>
   230         </dependency>
   231         <dependency>
   232             <groupId>org.netbeans.api</groupId>
   233             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   234             <version>${netbeans.version}</version>
   235         </dependency>
   236         <dependency>
   237             <groupId>org.netbeans.api</groupId>
   238             <artifactId>org-netbeans-libs-junit4</artifactId>
   239             <version>${netbeans.version}</version>
   240         </dependency>
   241         <dependency>
   242             <groupId>org.netbeans.modules</groupId>
   243             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   244             <version>${netbeans.version}</version>
   245         </dependency>
   246         <dependency> 
   247             <groupId>org.netbeans.modules</groupId>
   248             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   249             <version>${netbeans.version}</version>
   250             <exclusions>
   251                 <exclusion>
   252                     <artifactId>org-netbeans-core</artifactId>
   253                     <groupId>org.netbeans.modules</groupId>
   254                 </exclusion>
   255                 <exclusion>
   256                     <artifactId>org-netbeans-core-multiview</artifactId>
   257                     <groupId>org.netbeans.api</groupId>
   258                 </exclusion>
   259                 <exclusion>
   260                     <artifactId>org-netbeans-libs-lucene</artifactId>
   261                     <groupId>org.netbeans.api</groupId>
   262                 </exclusion>
   263                 <exclusion>
   264                     <artifactId>org-netbeans-modules-diff</artifactId>
   265                     <groupId>org.netbeans.api</groupId>
   266                 </exclusion>
   267                 <exclusion>
   268                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   269                     <groupId>org.netbeans.api</groupId>
   270                 </exclusion>
   271                 <exclusion>
   272                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   273                     <groupId>org.netbeans.api</groupId>
   274                 </exclusion>
   275             </exclusions>
   276         </dependency>
   277         <dependency>
   278             <artifactId>org-netbeans-modules-projectapi</artifactId>
   279             <groupId>org.netbeans.api</groupId>
   280             <type>jar</type>
   281             <version>${netbeans.version}</version>
   282         </dependency>
   283       </dependencies>
   284   </dependencyManagement>
   285   <profiles>
   286       <profile>
   287           <id>jdk8</id>
   288           <activation>
   289               <file>
   290                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   291               </file>
   292           </activation>
   293           <properties>
   294             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   295           </properties>
   296       </profile>
   297       <profile>
   298           <id>jdk7</id>
   299           <activation>
   300               <file>
   301                   <exists>${java.home}/lib/jfxrt.jar</exists>
   302               </file>
   303           </activation>
   304           <properties>
   305             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   306           </properties>
   307       </profile>
   308   </profiles>
   309 </project>