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