ko-archetype/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 13 May 2013 11:39:33 +0200
changeset 1201 b6fd8b9ccc7a
child 1202 5f04bdbc6ee1
permissions -rw-r--r--
First sketch of the Knockout4J archetype
     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   <parent>
     5     <artifactId>html</artifactId>
     6     <groupId>org.apidesign</groupId>
     7     <version>0.3-SNAPSHOT</version>
     8   </parent>
     9   <groupId>org.apidesign.html</groupId>
    10   <artifactId>knockout4j-archetype</artifactId>
    11   <version>0.3-SNAPSHOT</version>
    12   <packaging>jar</packaging>
    13   <name>Knockout 4 Java Maven Archetype</name>
    14   <description>
    15       HTML page with Knockout.js bindings driven by application model
    16       written in Java. Use your favorite language to code. Use
    17       HTML as a lightweight rendering toolkit. Deploy using JavaFX or 
    18       bck2brwsr virtual machine.
    19   </description>
    20   <build>
    21       <resources>
    22           <resource>
    23             <directory>src/main/resources</directory>
    24             <filtering>true</filtering>
    25             <includes>
    26                 <include>**/pom.xml</include>
    27             </includes>
    28           </resource>
    29           <resource>
    30             <directory>src/main/resources</directory>
    31             <filtering>false</filtering>
    32             <excludes>
    33                 <exclude>**/pom.xml</exclude>
    34             </excludes>
    35           </resource>
    36       </resources>      
    37       <plugins>
    38           <plugin>
    39               <groupId>org.apache.maven.plugins</groupId>
    40               <artifactId>maven-compiler-plugin</artifactId>
    41               <version>2.3.2</version>
    42               <configuration>
    43                   <source>1.6</source>
    44                   <target>1.6</target>
    45               </configuration>
    46           </plugin>
    47           <plugin>
    48               <groupId>org.apache.maven.plugins</groupId>
    49               <artifactId>maven-resources-plugin</artifactId>
    50               <version>2.6</version>
    51               <configuration>
    52                   <escapeString>\</escapeString>
    53                   <target>1.6</target>
    54               </configuration>
    55           </plugin>
    56           <plugin>
    57               <groupId>org.apache.maven.plugins</groupId>
    58               <artifactId>maven-surefire-plugin</artifactId>
    59               <configuration>
    60                   <skipTests>true</skipTests>
    61               </configuration>
    62               <executions>
    63                   <execution>
    64                       <id>test</id>
    65                       <goals>
    66                           <goal>test</goal>
    67                       </goals>
    68                       <phase>integration-test</phase>
    69                       <configuration>
    70                           <additionalClasspathElements>
    71                               <additionalClasspathElement>${project.build.directory}/knockout4j-archetype-${project.version}.jar</additionalClasspathElement>
    72                           </additionalClasspathElements>
    73                           <skipTests>false</skipTests>
    74                       </configuration>
    75                   </execution>
    76                   
    77               </executions>
    78           </plugin>
    79       </plugins>
    80   </build>
    81   <dependencies>
    82       <dependency>
    83           <groupId>org.testng</groupId>
    84           <artifactId>testng</artifactId>
    85           <scope>test</scope>
    86       </dependency>
    87   </dependencies>
    88 </project>