ko-archetype/pom.xml
changeset 1201 b6fd8b9ccc7a
child 1202 5f04bdbc6ee1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ko-archetype/pom.xml	Mon May 13 11:39:33 2013 +0200
     1.3 @@ -0,0 +1,88 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<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">
     1.6 +  <modelVersion>4.0.0</modelVersion>
     1.7 +  <parent>
     1.8 +    <artifactId>html</artifactId>
     1.9 +    <groupId>org.apidesign</groupId>
    1.10 +    <version>0.3-SNAPSHOT</version>
    1.11 +  </parent>
    1.12 +  <groupId>org.apidesign.html</groupId>
    1.13 +  <artifactId>knockout4j-archetype</artifactId>
    1.14 +  <version>0.3-SNAPSHOT</version>
    1.15 +  <packaging>jar</packaging>
    1.16 +  <name>Knockout 4 Java Maven Archetype</name>
    1.17 +  <description>
    1.18 +      HTML page with Knockout.js bindings driven by application model
    1.19 +      written in Java. Use your favorite language to code. Use
    1.20 +      HTML as a lightweight rendering toolkit. Deploy using JavaFX or 
    1.21 +      bck2brwsr virtual machine.
    1.22 +  </description>
    1.23 +  <build>
    1.24 +      <resources>
    1.25 +          <resource>
    1.26 +            <directory>src/main/resources</directory>
    1.27 +            <filtering>true</filtering>
    1.28 +            <includes>
    1.29 +                <include>**/pom.xml</include>
    1.30 +            </includes>
    1.31 +          </resource>
    1.32 +          <resource>
    1.33 +            <directory>src/main/resources</directory>
    1.34 +            <filtering>false</filtering>
    1.35 +            <excludes>
    1.36 +                <exclude>**/pom.xml</exclude>
    1.37 +            </excludes>
    1.38 +          </resource>
    1.39 +      </resources>      
    1.40 +      <plugins>
    1.41 +          <plugin>
    1.42 +              <groupId>org.apache.maven.plugins</groupId>
    1.43 +              <artifactId>maven-compiler-plugin</artifactId>
    1.44 +              <version>2.3.2</version>
    1.45 +              <configuration>
    1.46 +                  <source>1.6</source>
    1.47 +                  <target>1.6</target>
    1.48 +              </configuration>
    1.49 +          </plugin>
    1.50 +          <plugin>
    1.51 +              <groupId>org.apache.maven.plugins</groupId>
    1.52 +              <artifactId>maven-resources-plugin</artifactId>
    1.53 +              <version>2.6</version>
    1.54 +              <configuration>
    1.55 +                  <escapeString>\</escapeString>
    1.56 +                  <target>1.6</target>
    1.57 +              </configuration>
    1.58 +          </plugin>
    1.59 +          <plugin>
    1.60 +              <groupId>org.apache.maven.plugins</groupId>
    1.61 +              <artifactId>maven-surefire-plugin</artifactId>
    1.62 +              <configuration>
    1.63 +                  <skipTests>true</skipTests>
    1.64 +              </configuration>
    1.65 +              <executions>
    1.66 +                  <execution>
    1.67 +                      <id>test</id>
    1.68 +                      <goals>
    1.69 +                          <goal>test</goal>
    1.70 +                      </goals>
    1.71 +                      <phase>integration-test</phase>
    1.72 +                      <configuration>
    1.73 +                          <additionalClasspathElements>
    1.74 +                              <additionalClasspathElement>${project.build.directory}/knockout4j-archetype-${project.version}.jar</additionalClasspathElement>
    1.75 +                          </additionalClasspathElements>
    1.76 +                          <skipTests>false</skipTests>
    1.77 +                      </configuration>
    1.78 +                  </execution>
    1.79 +                  
    1.80 +              </executions>
    1.81 +          </plugin>
    1.82 +      </plugins>
    1.83 +  </build>
    1.84 +  <dependencies>
    1.85 +      <dependency>
    1.86 +          <groupId>org.testng</groupId>
    1.87 +          <artifactId>testng</artifactId>
    1.88 +          <scope>test</scope>
    1.89 +      </dependency>
    1.90 +  </dependencies>
    1.91 +</project>