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