Advertisement
Guest User

pom.xml

a guest
Apr 8th, 2012
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 9.32 KB | None | 0 0
  1. <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">
  2.   <modelVersion>4.0.0</modelVersion>
  3.   <groupId>mygwtapp</groupId>
  4.   <artifactId>mygwtapp</artifactId>
  5.   <version>0.0.1-SNAPSHOT</version>
  6.     <properties>
  7.  
  8.         <!-- convenience to define GWT version in one place -->
  9.         <gwt.version>2.4.0</gwt.version>
  10.         <gwtp.version>0.6</gwtp.version>
  11.         <gxt.version>3.0.0-beta3</gxt.version>
  12.         <spring.version>3.0.4.RELEASE</spring.version>
  13.  
  14.         <!--  tell the compiler we can use 1.5 -->
  15.         <maven.compiler.source>1.5</maven.compiler.source>
  16.         <maven.compiler.target>1.5</maven.compiler.target>
  17.  
  18.     </properties>
  19.  
  20.   <repositories>
  21.         <repository>
  22.             <id>codehaus-maven-repo</id>
  23.             <name>Codehaus repo</name>
  24.             <url>http://repository.codehaus.org/org/codehaus/mojo/</url>
  25.         </repository>
  26.         <repository>
  27.             <id>sonatype.snapshots</id>
  28.             <name>Sonatype snapshot repository</name>
  29.             <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  30.             <layout>default</layout>
  31.         </repository>          
  32.         <repository>
  33.             <id>morphia.googlecode.com</id>
  34.             <name>Morphia Repo at Google Code</name>
  35.             <url>http://morphia.googlecode.com/svn/mavenrepo</url>
  36.         </repository>  
  37.   </repositories>
  38.  
  39.     <dependencies>
  40.  
  41.         <!--  GWT dependencies (from central repo) -->
  42.         <dependency>
  43.             <groupId>com.google.gwt</groupId>
  44.             <artifactId>gwt-servlet</artifactId>
  45.             <version>${gwt.version}</version>
  46.             <scope>runtime</scope>
  47.         </dependency>
  48.         <dependency>
  49.             <groupId>com.google.gwt</groupId>
  50.             <artifactId>gwt-user</artifactId>
  51.             <version>${gwt.version}</version>
  52.             <scope>provided</scope>
  53.         </dependency>
  54.        
  55.         <dependency>
  56.             <groupId>javax.servlet</groupId>
  57.             <artifactId>servlet-api</artifactId>
  58.             <version>2.5</version>
  59.         </dependency>
  60.        
  61.         <dependency>
  62.             <groupId>org.springframework</groupId>
  63.             <artifactId>spring-core</artifactId>
  64.             <version>${spring.version}</version>
  65.         </dependency>
  66.         <dependency>
  67.             <groupId>org.springframework</groupId>
  68.             <artifactId>spring-web</artifactId>
  69.             <version>${spring.version}</version>
  70.         </dependency>
  71.         <dependency>
  72.             <groupId>org.springframework</groupId>
  73.             <artifactId>spring-context-support</artifactId>
  74.             <version>${spring.version}</version>
  75.         </dependency>
  76.         <dependency>
  77.             <groupId>org.springframework</groupId>
  78.             <artifactId>spring-aop</artifactId>
  79.             <version>${spring.version}</version>
  80.         </dependency>
  81.         <dependency>
  82.             <groupId>org.springframework</groupId>
  83.             <artifactId>spring-beans</artifactId>
  84.             <version>${spring.version}</version>
  85.         </dependency>
  86.         <dependency>
  87.             <groupId>org.springframework</groupId>
  88.             <artifactId>spring-test</artifactId>
  89.             <version>${spring.version}</version>
  90.         </dependency>
  91.        
  92.     <dependency>
  93.      <groupId>com.sencha.gxt</groupId>
  94.      <artifactId>gxt</artifactId>
  95.      <version>${gxt.version}</version>
  96.      <scope>provided</scope>
  97.     </dependency>
  98.     <!--
  99.     <dependency>
  100.         <groupId>com.sencha.gxt</groupId>
  101.         <artifactId>gxt-uibinder</artifactId>
  102.         <version>2.4.0</version>
  103.         <scope>provided</scope>
  104.     </dependency>
  105.     -->
  106.     <dependency>
  107.         <groupId>com.sencha.gxt</groupId>
  108.         <artifactId>gxt-chart</artifactId>
  109.         <version>${gxt.version}</version>
  110.         <scope>provided</scope>
  111.     </dependency>
  112.     <dependency>
  113.         <groupId>com.sencha.gxt</groupId>
  114.         <artifactId>uibinder-bridge</artifactId>
  115.         <version>2.4.0</version>
  116.         <scope>provided</scope>
  117.     </dependency>      
  118.     <!--   
  119.     <dependency>
  120.         <groupId>com.sencha.gxt</groupId>
  121.         <artifactId>gxt-desktop</artifactId>
  122.         <version>${gxt.version}</version>
  123.     </dependency>      
  124.     -->
  125.    
  126.     <!--  
  127.     <dependency>
  128.         <groupId>com.google.gwt.inject</groupId>
  129.         <artifactId>gin</artifactId>
  130.         <version>1.5.0</version>
  131.     </dependency>
  132.     -->
  133.    
  134.     <dependency>
  135.         <groupId>com.google.gwt.inject</groupId>
  136.         <artifactId>gin</artifactId>
  137.         <version>1.5.0</version>
  138.     </dependency>
  139.    
  140.    <!-- MVP component -->
  141.     <dependency>
  142.         <groupId>com.gwtplatform</groupId>
  143.         <artifactId>gwtp-all</artifactId>
  144.         <version>${gwtp.version}</version>
  145.     </dependency>      
  146.    
  147.     <!--    
  148.     <dependency>
  149.         <groupId>org.jboss.errai</groupId>
  150.         <artifactId>errai-cdi-jboss</artifactId>
  151.         <version>2.0.Beta2</version>
  152.     </dependency>      
  153.     -->
  154.        
  155.     <dependency>
  156.         <groupId>org.hibernate</groupId>
  157.         <artifactId>hibernate-core</artifactId>
  158.         <version>3.6.3.Final</version>
  159.     </dependency>  
  160.    
  161.    
  162.     <dependency>
  163.         <groupId>org.hibernate</groupId>
  164.         <artifactId>hibernate-search</artifactId>
  165.         <version>3.4.2.Final</version>
  166.     </dependency>  
  167.    
  168.     <dependency>
  169.             <groupId>com.google.code.morphia</groupId>
  170.             <artifactId>morphia</artifactId>
  171.             <version>0.99.1-SNAPSHOT</version>
  172.     </dependency>
  173.    
  174.     <dependency>
  175.         <groupId>org.scribe</groupId>
  176.         <artifactId>scribe</artifactId>
  177.         <version>1.3.0</version>
  178.     </dependency>
  179.    
  180.     <dependency>
  181.         <groupId>com.googlecode.gwtquery</groupId>
  182.         <artifactId>gwtquery</artifactId>
  183.         <version>1.1.0</version>
  184.     </dependency>
  185.        
  186.     <dependency>
  187.         <groupId>com.googlecode.gwt-validation</groupId>
  188.         <artifactId>gwt-validation</artifactId>
  189.         <version>2.0</version>
  190.     </dependency>  
  191.        
  192.     <dependency>
  193.         <groupId>commons-fileupload</groupId>
  194.         <artifactId>commons-fileupload</artifactId>
  195.         <version>1.2.2</version>
  196.     </dependency>  
  197.    
  198.     <dependency>
  199.         <groupId>net.tanesha.recaptcha4j</groupId>
  200.         <artifactId>recaptcha4j</artifactId>
  201.         <version>0.0.7</version>
  202.     </dependency>
  203.    
  204.     <dependency>
  205.         <groupId>com.claudiushauptmann</groupId>
  206.         <artifactId>gwt-recaptcha</artifactId>
  207.         <version>1.0.0.Beta2</version>
  208.     </dependency>
  209.    
  210.     <!-- XMPP -->
  211.     <dependency>
  212.         <groupId>org.igniterealtime.smack</groupId>
  213.         <artifactId>smack</artifactId>
  214.         <version>3.2.1</version>
  215.     </dependency>
  216.     <dependency>
  217.         <groupId>jivesoftware</groupId>
  218.         <artifactId>smackx</artifactId>
  219.         <version>3.1.0</version>
  220.     </dependency>  
  221.    
  222.     <!-- Logging -->
  223.     <dependency>
  224.         <groupId>log4j</groupId>
  225.         <artifactId>log4j</artifactId>
  226.         <version>1.2.16</version>
  227.     </dependency>  
  228.     <!-- test -->
  229.     <dependency>
  230.             <groupId>junit</groupId>
  231.             <artifactId>junit</artifactId>
  232.             <version>4.7</version>
  233.             <scope>test</scope>
  234.     </dependency>
  235.     </dependencies>
  236.  
  237.     <build>
  238.         <outputDirectory>war/WEB-INF/classes</outputDirectory>
  239.         <plugins>
  240.             <!--  
  241.             <plugin>
  242.                 <groupId>org.codehaus.mojo</groupId>
  243.                 <artifactId>gwt-maven-plugin</artifactId>
  244.                 <version>1.2</version>
  245.                 <executions>
  246.                     <execution>
  247.                         <goals>
  248.                             <goal>compile</goal>
  249.                             <goal>generateAsync</goal>
  250.                             <goal>test</goal>
  251.                         </goals>
  252.                     </execution>
  253.                 </executions>
  254.                 <configuration>
  255.                     <runTarget>greeting.html</runTarget>
  256.                 </configuration>
  257.             </plugin>
  258.             -->
  259. <!--This plugin's configuration is used to store Eclipse
  260.                m2e settings only. It has no influence on the Maven build itself. -->
  261.             <plugin>
  262.                 <groupId>org.eclipse.m2e</groupId>
  263.                 <artifactId>lifecycle-mapping</artifactId>
  264.                 <version>1.0.0</version>
  265.                 <configuration>
  266.                     <lifecycleMappingMetadata>
  267.                         <pluginExecutions>
  268.                             <pluginExecution>
  269.                                 <pluginExecutionFilter>
  270.                                     <groupId>org.codehaus.mojo</groupId>
  271.                                     <artifactId>aspectj-maven-plugin</artifactId>
  272.                                     <versionRange>[1.0,)</versionRange>
  273.                                     <goals>
  274.                                         <goal>test-compile</goal>
  275.                                         <goal>compile</goal>
  276.                                     </goals>
  277.                                 </pluginExecutionFilter>
  278.                                 <action>
  279.                                     <execute />
  280.                                 </action>
  281.                             </pluginExecution>
  282.                         </pluginExecutions>
  283.                     </lifecycleMappingMetadata>
  284.                 </configuration>
  285.             </plugin>          
  286.             <!--
  287.                 If you want to use the target/web.xml file mergewebxml produces,
  288.                 tell the war plugin to use it. Also, exclude what you want from the
  289.                 final artifact here. <plugin>
  290.                 <groupId>org.apache.maven.plugins</groupId>
  291.                 <artifactId>maven-war-plugin</artifactId> <configuration>
  292.                 <webXml>target/web.xml</webXml>
  293.                 <warSourceExcludes>.gwt-tmp/**</warSourceExcludes> </configuration>
  294.                 </plugin>
  295.             -->
  296.  
  297.             <plugin>
  298.                 <groupId>org.apache.maven.plugins</groupId>
  299.                 <artifactId>maven-compiler-plugin</artifactId>
  300.                 <version>2.0.2</version>
  301.                 <configuration>
  302.                     <source>${maven.compiler.source}</source>
  303.                     <target>${maven.compiler.target}</target>
  304.                 </configuration>
  305.             </plugin>
  306.             <plugin>
  307.                 <artifactId>maven-war-plugin</artifactId>
  308.                 <version>2.1-beta-1</version>
  309.                 <configuration>
  310.                     <warSourceDirectory>war</warSourceDirectory>
  311.                 </configuration>
  312.             </plugin>
  313.  
  314.         </plugins>
  315.  
  316.     </build>
  317. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement