pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 28 Jun 2015 06:27:44 +0200
changeset 234 29c53842c02a
parent 226 40acb3267711
child 236 b157a20a6945
permissions -rw-r--r--
Remembering reference to the model
     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.apidesign.html</groupId>
     5   <artifactId>demo</artifactId>
     6   <version>1.0-SNAPSHOT</version>
     7   <packaging>pom</packaging>
     8   <name>Demo of HTML APIs</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       <net.java.html.version>1.1</net.java.html.version>
    17       <jersey.version>2.13</jersey.version>
    18       <grizzly.version>2.3.16</grizzly.version>
    19       <nb.html.version>1.0</nb.html.version>
    20       <bck2brwsr.version>0.12</bck2brwsr.version>
    21       <teavm.version>0.2.1</teavm.version>
    22       <license>COPYING</license>
    23   </properties>
    24   <modules>
    25     <module>chat</module>
    26     <module>chess</module>
    27     <module>minesweeper</module>
    28     <module>spinningcube</module>
    29     <module>words</module>
    30   </modules>
    31   <licenses>
    32       <license>
    33           <name>MIT</name>
    34           <url>http://opensource.org/licenses/mit-license.php</url>
    35           <distribution>repo</distribution>
    36       </license>
    37   </licenses>
    38   <organization>
    39       <name>API Design</name>
    40       <url>http://apidesign.org</url>
    41   </organization>
    42   <scm>
    43       <connection>scm:hg:https://hg.java.net/hg/html~demo</connection>
    44       <developerConnection>scm:hg:https://hg.java.net/hg/html~demo</developerConnection>
    45       <url>https://hg.java.net/hg/html~demo</url>
    46       <tag>default</tag>
    47   </scm>
    48   <build>
    49       <plugins>
    50           <plugin>
    51               <groupId>org.apache.maven.plugins</groupId>
    52               <artifactId>maven-enforcer-plugin</artifactId>
    53               <version>1.3.1</version>
    54               <executions>
    55                   <execution>
    56                       <id>enforce-versions</id>
    57                       <goals>
    58                           <goal>enforce</goal>
    59                       </goals>
    60                       <configuration>
    61                           <rules>
    62                               <DependencyConvergence/>
    63                               <requireJavaVersion>
    64                                   <version>1.7</version>
    65                               </requireJavaVersion>
    66                           </rules>
    67                       </configuration>
    68                   </execution>
    69               </executions>              
    70           </plugin>
    71          <plugin>
    72               <inherited>false</inherited>
    73               <groupId>com.mycila.maven-license-plugin</groupId>
    74               <artifactId>maven-license-plugin</artifactId>
    75               <version>1.9.0</version>
    76               <executions>
    77                   <execution>
    78                       <id>blah</id>
    79                       <goals>
    80                           <goal>check</goal>
    81                       </goals>
    82                   </execution>
    83               </executions>
    84               <configuration>
    85                   <aggregate>true</aggregate>
    86                   <basedir>${basedir}</basedir>
    87                   <header>COPYING</header>
    88                   <strictCheck>true</strictCheck>
    89                   <excludes>
    90                        <exclude>*</exclude>
    91                        <exclude>.*/**</exclude>
    92                   </excludes>
    93               </configuration>
    94           </plugin>
    95       </plugins>
    96   </build>
    97 </project>