pom.xml
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 22 Nov 2012 00:18:34 +0100
changeset 197 e7bb314eec32
parent 144 b06660b614db
child 218 bbc04118d571
permissions -rw-r--r--
Less verbose. Concentrating all operations into single method. Using string switch to determine what operation to run.
     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</groupId>
     5   <artifactId>bck2brwsr</artifactId>
     6   <version>1.0-SNAPSHOT</version>
     7   <packaging>pom</packaging>
     8   <name>Back 2 Browser</name>
     9   <modules>
    10     <module>vm</module>
    11     <module>emul</module>
    12     <module>core</module>
    13     <module>mojo</module>
    14     <module>javaquery</module>
    15     <module>javap</module>
    16   </modules>
    17   <licenses>
    18       <license>
    19           <name>GPL-2.0</name>
    20           <url>http://opensource.org/licenses/GPL-2.0</url>
    21           <distribution>repo</distribution>
    22       </license>
    23   </licenses>
    24   <organization>
    25       <name>API Design</name>
    26       <url>http://apidesign.org</url>
    27   </organization>
    28   <repositories>
    29       <repository>
    30           <id>netbeans</id>
    31           <name>NetBeans</name>
    32           <url>http://bits.netbeans.org/maven2/</url>
    33       </repository>
    34   </repositories>
    35   <pluginRepositories>
    36       <pluginRepository>
    37           <id>mc-release</id>
    38           <name>Local Maven repository of releases</name>
    39           <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
    40           <snapshots>
    41               <enabled>false</enabled>
    42           </snapshots>
    43           <releases>
    44               <enabled>true</enabled>
    45           </releases>
    46       </pluginRepository>
    47   </pluginRepositories>
    48   <build>
    49       <plugins>
    50          <plugin>
    51               <inherited>false</inherited>
    52               <groupId>com.mycila.maven-license-plugin</groupId>
    53               <artifactId>maven-license-plugin</artifactId>
    54               <version>1.9.0</version>
    55               <executions>
    56                   <execution>
    57                       <id>blah</id>
    58                       <goals>
    59                           <goal>check</goal>
    60                       </goals>
    61                   </execution>
    62               </executions>
    63               <configuration>
    64                   <aggregate>true</aggregate>
    65                   <basedir>${basedir}</basedir>
    66                   <header>COPYING</header>
    67                   <strictCheck>true</strictCheck>
    68                   <excludes>
    69                        <exclude>emul/**</exclude>
    70                        <exclude>javap/**</exclude>
    71                        <exclude>*</exclude>
    72                        <exclude>.*/**</exclude>
    73                   </excludes>
    74               </configuration>
    75           </plugin>
    76       </plugins>
    77   </build>
    78   <dependencyManagement>
    79       <dependencies>
    80         <dependency>
    81           <groupId>org.testng</groupId>
    82           <artifactId>testng</artifactId>
    83           <version>6.7</version>
    84           <scope>test</scope>
    85           <exclusions>
    86             <exclusion>
    87               <artifactId>junit</artifactId>
    88               <groupId>junit</groupId>
    89             </exclusion>
    90           </exclusions>
    91         </dependency>
    92         <dependency>
    93           <groupId>org.netbeans.api</groupId>
    94           <artifactId>org-netbeans-modules-classfile</artifactId>
    95           <version>RELEASE72</version>
    96           <type>jar</type>
    97         </dependency>
    98         <dependency>
    99           <groupId>org.netbeans.api</groupId>
   100           <artifactId>org-openide-util-lookup</artifactId>
   101           <version>RELEASE72</version>
   102           <scope>compile</scope>
   103           <type>jar</type>
   104         </dependency>
   105       </dependencies>
   106   </dependencyManagement>
   107   <properties>
   108       <license>COPYING</license>
   109   </properties>
   110 </project>