Guest User

/html/pom.xml

a guest
Jun 14th, 2012
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.70 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3.  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5.   <modelVersion>4.0.0</modelVersion>
  6.   <parent>
  7.     <groupId>memory</groupId>
  8.     <artifactId>memory</artifactId>
  9.     <version>1.0-SNAPSHOT</version>
  10.   </parent>
  11.  
  12.   <artifactId>memory-html</artifactId>
  13.   <packaging>war</packaging>
  14.   <name>Memory HTML</name>
  15.  
  16.   <properties>
  17.     <gwt.module>memory.Memory</gwt.module>
  18.     <gwt.name>memory</gwt.name>
  19.     <!-- Desired Google App Engine SDK version -->
  20.     <gae.version>1.6.1</gae.version>
  21.   </properties>
  22.  
  23.   <dependencies>
  24.     <dependency>
  25.       <groupId>memory</groupId>
  26.       <artifactId>memory-core</artifactId>
  27.       <version>${project.version}</version>
  28.     </dependency>
  29.  
  30.     <dependency>
  31.       <groupId>com.googlecode.playn</groupId>
  32.       <artifactId>playn-html</artifactId>
  33.       <version>${playn.version}</version>
  34.     </dependency>
  35.  
  36.     <!-- Start Google App Engine dependencies -->
  37.     <!-- These can be removed if you don't wish to deploy to Google App Engine -->
  38.     <dependency>
  39.       <groupId>com.google.appengine</groupId>
  40.       <artifactId>appengine-api-1.0-sdk</artifactId>
  41.       <version>${gae.version}</version>
  42.     </dependency>
  43.  
  44.     <dependency>
  45.       <groupId>com.google.appengine</groupId>
  46.       <artifactId>appengine-api-labs</artifactId>
  47.       <version>${gae.version}</version>
  48.     </dependency>
  49.  
  50.     <dependency>
  51.       <groupId>com.google.appengine</groupId>
  52.       <artifactId>appengine-testing</artifactId>
  53.       <version>${gae.version}</version>
  54.       <scope>test</scope>
  55.     </dependency>
  56.  
  57.     <dependency>
  58.       <groupId>com.google.appengine</groupId>
  59.       <artifactId>appengine-api-stubs</artifactId>
  60.       <version>${gae.version}</version>
  61.       <scope>test</scope>
  62.     </dependency>
  63.     <!-- End Google App Engine dependencies -->
  64.   </dependencies>
  65.  
  66.   <build>
  67.     <plugins>
  68.       <plugin>
  69.         <groupId>org.codehaus.mojo</groupId>
  70.         <artifactId>gwt-maven-plugin</artifactId>
  71.         <executions>
  72.           <execution>
  73.             <phase>prepare-package</phase>
  74.             <goals>
  75.               <goal>compile</goal>
  76.             </goals>
  77.           </execution>
  78.         </executions>
  79.       </plugin>
  80.  
  81.       <!-- allows testing of HTML backend via: mvn integration-test -Phtml -->
  82.       <plugin>
  83.         <groupId>org.mortbay.jetty</groupId>
  84.         <artifactId>jetty-maven-plugin</artifactId>
  85.         <version>8.0.0.v20110901</version>
  86.         <configuration>
  87.           <webApp>
  88.             ${project.basedir}/target/${project.artifactId}-${project.version}
  89.           </webApp>
  90.         </configuration>
  91.         <executions>
  92.           <execution>
  93.             <id>test-html</id>
  94.             <phase>integration-test</phase>
  95.             <goals>
  96.               <goal>run-exploded</goal>
  97.             </goals>
  98.           </execution>
  99.         </executions>
  100.       </plugin>
  101.  
  102.       <plugin>
  103.         <artifactId>maven-eclipse-plugin</artifactId>
  104.         <version>2.8</version>
  105.         <configuration>
  106.           <downloadSources>true</downloadSources>
  107.           <downloadJavadocs>false</downloadJavadocs>
  108.           <wtpversion>2.0</wtpversion>
  109.           <additionalBuildcommands>
  110.             <buildCommand>
  111.               <name>com.google.gwt.eclipse.core.gwtProjectValidator</name>
  112.             </buildCommand>
  113.           </additionalBuildcommands>
  114.           <additionalProjectnatures>
  115.             <projectnature>com.google.gwt.eclipse.core.gwtNature</projectnature>
  116.             <!-- This nature can be removed if you don't wish to deploy to Google App Engine -->
  117.             <projectnature>com.google.appengine.eclipse.core.gaeNature</projectnature>
  118.           </additionalProjectnatures>
  119.         </configuration>
  120.       </plugin>
  121.  
  122.       <!-- Start Google App Engine plugin configuration -->
  123.       <!-- This can be removed if you don't wish to deploy to Google App Engine -->
  124.       <plugin>
  125.         <groupId>net.kindleit</groupId>
  126.         <artifactId>maven-gae-plugin</artifactId>
  127.         <version>0.9.2</version>
  128.         <dependencies>
  129.           <!-- Use explicit dependency on gae-runtime here, so we can specify GAE SDK version -->
  130.           <dependency>
  131.             <groupId>net.kindleit</groupId>
  132.             <artifactId>gae-runtime</artifactId>
  133.             <version>${gae.version}</version>
  134.             <type>pom</type>
  135.           </dependency>
  136.         </dependencies>
  137.         <executions>
  138.           <execution>
  139.             <id />
  140.             <phase>validate</phase>
  141.             <goals>
  142.               <goal>unpack</goal>
  143.             </goals>
  144.           </execution>
  145.         </executions>
  146.       </plugin>
  147.       <!-- End Google App Engine plugin configuration -->
  148.     </plugins>
  149.  
  150.     <!-- Start Google App Engine Eclipse plugin configuration -->
  151.     <!-- This can be removed if you don't wish to deploy to Google App Engine -->
  152.     <pluginManagement>
  153.       <plugins>
  154.         <!-- This plugin's configuration is used to store Eclipse m2e settings only. -->
  155.         <!-- It has no influence on the Maven build itself.-->
  156.         <plugin>
  157.           <groupId>org.eclipse.m2e</groupId>
  158.           <artifactId>lifecycle-mapping</artifactId>
  159.           <version>1.0.0</version>
  160.           <configuration>
  161.             <lifecycleMappingMetadata>
  162.               <pluginExecutions>
  163.                 <pluginExecution>
  164.                   <pluginExecutionFilter>
  165.                     <groupId>net.kindleit</groupId>
  166.                     <artifactId>maven-gae-plugin</artifactId>
  167.                     <versionRange>[0.9.2,)</versionRange>
  168.                     <goals>
  169.                       <goal>unpack</goal>
  170.                     </goals>
  171.                   </pluginExecutionFilter>
  172.                   <action>
  173.                     <execute />
  174.                   </action>
  175.                 </pluginExecution>
  176.                 <pluginExecution>
  177.                   <pluginExecutionFilter>
  178.                     <groupId>org.apache.maven.plugins</groupId>
  179.                     <artifactId>maven-war-plugin</artifactId>
  180.                     <versionRange>[2.1.1,)</versionRange>
  181.                     <goals>
  182.                       <goal>exploded</goal>
  183.                     </goals>
  184.                   </pluginExecutionFilter>
  185.                   <action>
  186.                     <execute />
  187.                   </action>
  188.                 </pluginExecution>
  189.               </pluginExecutions>
  190.             </lifecycleMappingMetadata>
  191.           </configuration>
  192.         </plugin>
  193.       </plugins>
  194.     </pluginManagement>
  195.     <!-- End Google App Engine plugin configuration -->
  196.   </build>
  197. </project>
Advertisement
Add Comment
Please, Sign In to add comment