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