twitter/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 24 Sep 2013 21:02:32 +0200
changeset 47 4109cd3a4aa4
parent 44 e3305312184c
permissions -rw-r--r--
Use lastest, 0.6 version
     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 
     5   <groupId>org.apidesign.html.demo</groupId>
     6   <artifactId>twitter</artifactId>
     7   <version>1.0-SNAPSHOT</version>
     8   <packaging>jar</packaging>
     9   <parent>
    10       <groupId>org.apidesign.html</groupId>
    11       <artifactId>demo</artifactId>
    12       <version>1.0-SNAPSHOT</version>
    13   </parent>
    14 
    15   <name>KO4Java's Twttr</name>
    16   <description>
    17       Rewrite of knockout.js example to use model written in Java displayed
    18       by HTML.
    19   </description>
    20 
    21   <properties>
    22     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    23     <net.java.html.version>0.6</net.java.html.version>
    24     <project.mainclass>org.apidesign.html.demo.twitter.TwitterMain</project.mainclass>
    25   </properties>
    26 
    27   <pluginRepositories>
    28       <pluginRepository>
    29           <id>java.net</id>
    30           <name>Java.net</name>
    31           <url>https://maven.java.net/content/repositories/releases/</url>
    32       </pluginRepository>
    33   </pluginRepositories>
    34 
    35   <build>
    36       <plugins>
    37           <plugin>
    38               <groupId>org.apache.maven.plugins</groupId>
    39               <artifactId>maven-compiler-plugin</artifactId>
    40               <version>2.3.2</version>
    41               <configuration>
    42                   <source>1.7</source>
    43                   <target>1.7</target>
    44               </configuration>
    45           </plugin>
    46           <plugin>
    47               <groupId>org.apache.maven.plugins</groupId>
    48               <artifactId>maven-surefire-plugin</artifactId>
    49               <version>2.14.1</version>
    50               <configuration>
    51                   <systemPropertyVariables>
    52                       <vmtest.brwsrs>${brwsr}</vmtest.brwsrs>
    53                   </systemPropertyVariables>
    54               </configuration>
    55           </plugin>
    56           <plugin>
    57               <groupId>org.codehaus.mojo</groupId>
    58               <artifactId>exec-maven-plugin</artifactId>
    59               <version>1.2.1</version>
    60               <configuration>
    61                   <systemProperties>
    62                       <systemProperty>
    63                           <key>browser.rootdir</key>
    64                           <value>${basedir}/src/main/webapp/</value>
    65                       </systemProperty>
    66                   </systemProperties>
    67                   <mainClass>${project.mainclass}</mainClass>
    68               </configuration>
    69           </plugin>      
    70           <plugin>
    71               <groupId>org.apache.maven.plugins</groupId>
    72               <artifactId>maven-jar-plugin</artifactId>
    73               <version>2.4</version>
    74               <configuration>
    75                   <archive>
    76                       <manifest>
    77                           <addClasspath>true</addClasspath>
    78                           <classpathPrefix>lib/</classpathPrefix>
    79                       </manifest>
    80                   </archive>
    81               </configuration>
    82           </plugin>
    83           <plugin>
    84               <groupId>org.apache.maven.plugins</groupId>
    85               <artifactId>maven-deploy-plugin</artifactId>
    86               <version>2.7</version>
    87               <configuration>
    88                   <skip>true</skip>
    89               </configuration>
    90           </plugin>      
    91       </plugins>
    92   </build>
    93 
    94   <dependencies>
    95     <dependency>
    96       <groupId>org.testng</groupId>
    97       <artifactId>testng</artifactId>
    98       <version>6.5.2</version>
    99       <scope>test</scope>
   100     </dependency>
   101     <dependency>
   102       <groupId>org.apidesign.html</groupId>
   103       <artifactId>net.java.html.json</artifactId>
   104       <version>${net.java.html.version}</version>
   105       <type>jar</type>
   106     </dependency>
   107     <dependency>
   108       <groupId>org.apidesign.html</groupId>
   109       <artifactId>net.java.html.boot</artifactId>
   110       <version>${net.java.html.version}</version>
   111       <type>jar</type>
   112     </dependency>
   113     <dependency>
   114       <groupId>org.apidesign.html</groupId>
   115       <artifactId>boot-fx</artifactId>
   116       <version>${net.java.html.version}</version>
   117       <scope>runtime</scope>
   118     </dependency>
   119     <dependency>
   120       <groupId>org.apidesign.html</groupId>
   121       <artifactId>ko-fx</artifactId>
   122       <version>${net.java.html.version}</version>
   123       <scope>runtime</scope>
   124     </dependency>
   125   </dependencies>
   126 </project>