rt/archetype/src/main/resources/archetype-resources/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 14 Apr 2013 22:17:34 +0200
changeset 983 8e4750fcee4a
parent 902 97cf8624710c
child 1008 ad7b9ae807a1
permissions -rw-r--r--
Getting ready for 0.6 release
     1 <?xml version="1.0"?>
     2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     4   <modelVersion>4.0.0</modelVersion>
     5 
     6   <groupId>${groupId}</groupId>
     7   <artifactId>${artifactId}</artifactId>
     8   <version>${version}</version>
     9   <packaging>jar</packaging>
    10 
    11   <name>${artifactId}</name>
    12 
    13   <repositories>
    14       <repository>
    15           <id>java.net</id>
    16           <name>Java.net</name>
    17           <url>https://maven.java.net/content/repositories/releases/</url>
    18           <snapshots>
    19               <enabled>true</enabled>
    20           </snapshots>
    21       </repository>
    22       <repository>
    23           <id>netbeans</id>
    24           <name>NetBeans</name>
    25           <url>http://bits.netbeans.org/maven2/</url>
    26       </repository>
    27   </repositories>
    28   <pluginRepositories>
    29       <pluginRepository>
    30           <id>java.net</id>
    31           <name>Java.net</name>
    32           <url>https://maven.java.net/content/repositories/releases/</url>
    33           <snapshots>
    34               <enabled>true</enabled>
    35           </snapshots>
    36       </pluginRepository>
    37   </pluginRepositories>
    38 
    39   <properties>
    40     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    41   </properties>
    42   <build>
    43       <plugins>
    44             <plugin>
    45                 <groupId>org.apidesign.bck2brwsr</groupId>
    46                 <artifactId>mojo</artifactId>
    47                 <version>0.6</version>
    48                 <executions>
    49                     <execution>
    50                         <goals>
    51                             <goal>brwsr</goal>
    52                         </goals>
    53                     </execution>
    54                 </executions>
    55                 <configuration>
    56                     <startpage>${package.replace('.','/')}/index.html</startpage>
    57                 </configuration>
    58             </plugin>
    59          <plugin>
    60             <groupId>org.apache.maven.plugins</groupId>
    61             <artifactId>maven-compiler-plugin</artifactId>
    62             <version>2.3.2</version>
    63             <configuration>
    64                <source>1.7</source>
    65                <target>1.7</target>
    66             </configuration>
    67          </plugin>
    68          <plugin>
    69              <groupId>org.apache.maven.plugins</groupId>
    70              <artifactId>maven-jar-plugin</artifactId>
    71              <version>2.4</version>
    72              <configuration>
    73                  <archive>
    74                      <manifest>
    75                          <addClasspath>true</addClasspath>
    76                          <classpathPrefix>lib/</classpathPrefix>
    77                      </manifest>
    78                  </archive>
    79              </configuration>
    80          </plugin>
    81          <plugin>
    82              <artifactId>maven-assembly-plugin</artifactId>
    83              <version>2.4</version>
    84              <executions>
    85                  <execution>
    86                      <id>distro-assembly</id>
    87                      <phase>package</phase>
    88                      <goals>
    89                          <goal>single</goal>
    90                      </goals>
    91                      <configuration>
    92                          <descriptors>
    93                              <descriptor>bck2brwsr-assembly.xml</descriptor>
    94                          </descriptors>
    95                      </configuration>
    96                  </execution>
    97              </executions>                
    98          </plugin>      
    99       </plugins>
   100   </build>
   101 
   102   <dependencies>
   103     <dependency>
   104       <groupId>org.apidesign.bck2brwsr</groupId>
   105       <artifactId>emul</artifactId>
   106       <version>0.6</version>
   107       <classifier>rt</classifier>
   108     </dependency>
   109     <dependency>
   110       <groupId>org.apidesign.bck2brwsr</groupId>
   111       <artifactId>javaquery.api</artifactId>
   112       <version>0.6</version>
   113     </dependency>
   114     <dependency>
   115       <groupId>org.testng</groupId>
   116       <artifactId>testng</artifactId>
   117       <version>6.5.2</version>
   118       <scope>test</scope>
   119     </dependency>
   120     <dependency>
   121       <groupId>org.apidesign.bck2brwsr</groupId>
   122       <artifactId>vm4brwsr</artifactId>
   123       <classifier>js</classifier>
   124       <type>zip</type>
   125       <version>0.6</version>
   126       <scope>provided</scope>
   127     </dependency>
   128     <dependency>
   129       <groupId>org.apidesign.bck2brwsr</groupId>
   130       <artifactId>vmtest</artifactId>
   131       <version>0.6</version>
   132       <scope>test</scope>
   133     </dependency>
   134   </dependencies>
   135 </project>