pom.xml
author Jaroslav Tulach <jaroslav.tulach@netbeans.org>
Tue, 07 Jan 2014 08:21:57 +0100
branchpreprocess
changeset 421 66d823ed2f87
parent 331 72dda6af599b
parent 393 8b025bcde7bb
child 467 6d3613b454ab
permissions -rw-r--r--
Merging with most recent changes on the default branch. Including switch to org.netbeans.html namespace.
     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.7-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       <license>COPYING</license>
    18       <publicPackages></publicPackages>
    19       <bundleSymbolicName>${project.artifactId}</bundleSymbolicName>
    20   </properties>
    21   <modules>
    22     <module>json</module>
    23     <module>json-tck</module>
    24     <module>ko-archetype</module>
    25     <module>ko-archetype-test</module>
    26     <module>ko-fx</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-osgi-test</module>
    35     <module>equinox-agentclass-hook</module>
    36   </modules>
    37   <licenses>
    38       <license>
    39           <name>GPL-2.0wCPexc+CDDL</name>
    40           <url>http://www.netbeans.org/cddl-gplv2.html</url>
    41           <distribution>repo</distribution>
    42       </license>
    43   </licenses>
    44   <organization>
    45       <name>NetBeans</name>
    46       <url>http://netbeans.org</url>
    47   </organization>
    48   <scm>
    49       <connection>scm:hg:https://hg.apidesign.org/hg/html~html4j</connection>
    50       <developerConnection>scm:hg:https://hg.apidesign.org/hg/html~html4j</developerConnection>
    51       <url>https://hg.apidesign.org/hg/html~html4j</url>
    52       <tag>default</tag>
    53   </scm>
    54   <repositories>
    55       <repository>
    56           <id>netbeans</id>
    57           <name>NetBeans</name>
    58           <url>http://bits.netbeans.org/maven2/</url>
    59       </repository>
    60   </repositories>
    61   <pluginRepositories>
    62       <pluginRepository>
    63           <id>mc-release</id>
    64           <name>Local Maven repository of releases</name>
    65           <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    66           <snapshots>
    67               <enabled>false</enabled>
    68           </snapshots>
    69           <releases>
    70               <enabled>true</enabled>
    71           </releases>
    72       </pluginRepository>
    73   </pluginRepositories>
    74   <build>
    75       <plugins>
    76          <plugin>
    77               <inherited>false</inherited>
    78               <groupId>com.mycila.maven-license-plugin</groupId>
    79               <artifactId>maven-license-plugin</artifactId>
    80               <version>1.9.0</version>
    81               <executions>
    82                   <execution>
    83                       <id>blah</id>
    84                       <goals>
    85                           <goal>check</goal>
    86                       </goals>
    87                   </execution>
    88               </executions>
    89               <configuration>
    90                   <aggregate>true</aggregate>
    91                   <basedir>${basedir}</basedir>
    92                   <header>COPYING</header>
    93                   <strictCheck>true</strictCheck>
    94                   <excludes>
    95                        <exclude>*</exclude>
    96                        <exclude>.*/**</exclude>
    97                        <exclude>ko-archetype/src/main/resources/**</exclude>
    98                        <exclude>ko-fx/src/main/resources/org/netbeans/html/kofx/knockout*.js</exclude>
    99                   </excludes>
   100               </configuration>
   101           </plugin>
   102            <plugin>
   103             <artifactId>maven-release-plugin</artifactId>
   104             <version>2.4</version>
   105             <configuration>
   106               <mavenExecutorId>forked-path</mavenExecutorId>
   107               <useReleaseProfile>false</useReleaseProfile>
   108               <arguments>-Pjvnet-release -Pgpg</arguments>
   109               <tag>release-${releaseVersion}</tag>
   110             </configuration>
   111           </plugin>
   112       </plugins>
   113       <pluginManagement>
   114           <plugins>
   115               <plugin>
   116                 <groupId>org.apache.maven.plugins</groupId>
   117                 <artifactId>maven-surefire-plugin</artifactId>
   118                 <version>2.13</version>
   119               </plugin>
   120               <plugin>
   121                 <groupId>org.apache.maven.plugins</groupId>
   122                 <artifactId>maven-javadoc-plugin</artifactId>
   123                 <version>2.9</version>
   124                 <configuration>
   125                     <subpackages>${publicPackages}</subpackages>
   126                     <skip>false</skip>
   127                 </configuration>
   128               </plugin>
   129             <plugin>
   130                 <groupId>org.apache.maven.plugins</groupId>
   131                 <artifactId>maven-compiler-plugin</artifactId>
   132                 <version>2.3.2</version>
   133                 <configuration>
   134                     <source>1.6</source>
   135                     <target>1.6</target>
   136                 </configuration>
   137             </plugin>
   138             <plugin>
   139                 <groupId>org.apache.felix</groupId>
   140                 <artifactId>maven-bundle-plugin</artifactId>
   141                 <version>2.4.0</version>
   142                 <extensions>true</extensions>
   143                 <configuration>
   144                     <instructions>
   145                         <Export-Package>${publicPackages},META-INF.services.*</Export-Package>
   146                         <Bundle-SymbolicName>${bundleSymbolicName}</Bundle-SymbolicName>
   147                     </instructions>
   148                 </configuration>
   149             </plugin>
   150           </plugins>
   151       </pluginManagement>
   152   </build>
   153   <dependencyManagement>
   154       <dependencies>
   155         <dependency>
   156           <groupId>org.testng</groupId>
   157           <artifactId>testng</artifactId>
   158           <version>6.7</version>
   159           <scope>test</scope>
   160           <exclusions>
   161             <exclusion>
   162               <artifactId>junit</artifactId>
   163               <groupId>junit</groupId>
   164             </exclusion>
   165           </exclusions>
   166         </dependency>
   167         <dependency>
   168             <groupId>de.twentyeleven.skysail</groupId>
   169             <artifactId>org.json-osgi</artifactId>
   170             <version>20080701</version>
   171         </dependency>
   172         <dependency>
   173           <groupId>org.netbeans.api</groupId>
   174           <artifactId>org-netbeans-modules-classfile</artifactId>
   175           <version>${netbeans.version}</version>
   176           <type>jar</type>
   177         </dependency>
   178         <dependency>
   179           <groupId>org.netbeans.api</groupId>
   180           <artifactId>org-openide-util-lookup</artifactId>
   181           <version>${netbeans.version}</version>
   182           <scope>compile</scope>
   183           <type>jar</type>
   184         </dependency>
   185         <dependency>
   186             <groupId>org.netbeans.api</groupId>
   187             <artifactId>org-netbeans-api-annotations-common</artifactId>
   188             <version>${netbeans.version}</version>
   189         </dependency>
   190         <dependency>
   191             <groupId>org.netbeans.api</groupId>
   192             <artifactId>org-netbeans-modules-java-source</artifactId>
   193             <version>${netbeans.version}</version>
   194         </dependency>
   195         <dependency>
   196             <groupId>org.netbeans.api</groupId>
   197             <artifactId>org-netbeans-libs-javacapi</artifactId>
   198             <version>${netbeans.version}</version>
   199         </dependency>
   200         <dependency>
   201             <groupId>org.netbeans.api</groupId>
   202             <artifactId>org-netbeans-spi-java-hints</artifactId>
   203             <version>${netbeans.version}</version>
   204         </dependency>
   205         <dependency>
   206             <groupId>org.netbeans.api</groupId>
   207             <artifactId>org-netbeans-modules-parsing-api</artifactId>
   208             <version>${netbeans.version}</version>
   209         </dependency>
   210         <dependency>
   211             <groupId>org.netbeans.api</groupId>
   212             <artifactId>org-netbeans-spi-editor-hints</artifactId>
   213             <version>${netbeans.version}</version>
   214         </dependency>
   215         <dependency>
   216             <groupId>org.netbeans.api</groupId>
   217             <artifactId>org-openide-util</artifactId>
   218             <version>${netbeans.version}</version>
   219         </dependency>
   220         <dependency>
   221             <groupId>org.netbeans.api</groupId>
   222             <artifactId>org-netbeans-modules-java-lexer</artifactId>
   223             <version>${netbeans.version}</version>
   224         </dependency>
   225         <dependency>
   226             <groupId>org.netbeans.api</groupId>
   227             <artifactId>org-netbeans-modules-lexer</artifactId>
   228             <version>${netbeans.version}</version>
   229         </dependency>
   230         <dependency>
   231             <groupId>org.netbeans.api</groupId>
   232             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
   233             <version>${netbeans.version}</version>
   234         </dependency>
   235         <dependency>
   236             <groupId>org.netbeans.api</groupId>
   237             <artifactId>org-netbeans-libs-junit4</artifactId>
   238             <version>${netbeans.version}</version>
   239         </dependency>
   240         <dependency>
   241             <groupId>org.netbeans.modules</groupId>
   242             <artifactId>org-netbeans-lib-nbjavac</artifactId>
   243             <version>${netbeans.version}</version>
   244         </dependency>
   245         <dependency> 
   246             <groupId>org.netbeans.modules</groupId>
   247             <artifactId>org-netbeans-modules-web-browser-api</artifactId>
   248             <version>${netbeans.version}</version>
   249             <exclusions>
   250                 <exclusion>
   251                     <artifactId>org-netbeans-core</artifactId>
   252                     <groupId>org.netbeans.modules</groupId>
   253                 </exclusion>
   254                 <exclusion>
   255                     <artifactId>org-netbeans-core-multiview</artifactId>
   256                     <groupId>org.netbeans.api</groupId>
   257                 </exclusion>
   258                 <exclusion>
   259                     <artifactId>org-netbeans-libs-lucene</artifactId>
   260                     <groupId>org.netbeans.api</groupId>
   261                 </exclusion>
   262                 <exclusion>
   263                     <artifactId>org-netbeans-modules-diff</artifactId>
   264                     <groupId>org.netbeans.api</groupId>
   265                 </exclusion>
   266                 <exclusion>
   267                     <artifactId>org-netbeans-modules-editor-fold</artifactId>
   268                     <groupId>org.netbeans.api</groupId>
   269                 </exclusion>
   270                 <exclusion>
   271                     <artifactId>org-netbeans-modules-editor-guards</artifactId>
   272                     <groupId>org.netbeans.api</groupId>
   273                 </exclusion>
   274             </exclusions>
   275         </dependency>
   276         <dependency>
   277             <artifactId>org-netbeans-modules-projectapi</artifactId>
   278             <groupId>org.netbeans.api</groupId>
   279             <type>jar</type>
   280             <version>${netbeans.version}</version>
   281         </dependency>
   282       </dependencies>
   283   </dependencyManagement>
   284   <profiles>
   285       <profile>
   286           <id>jdk8</id>
   287           <activation>
   288               <file>
   289                   <exists>${java.home}/lib/ext/jfxrt.jar</exists>
   290               </file>
   291           </activation>
   292           <properties>
   293             <jfxrt.jar>${java.home}/lib/ext/jfxrt.jar</jfxrt.jar>
   294           </properties>
   295       </profile>
   296       <profile>
   297           <id>jdk7</id>
   298           <activation>
   299               <file>
   300                   <exists>${java.home}/lib/jfxrt.jar</exists>
   301               </file>
   302           </activation>
   303           <properties>
   304             <jfxrt.jar>${java.home}/lib/jfxrt.jar</jfxrt.jar>
   305           </properties>
   306       </profile>
   307   </profiles>
   308 </project>