Guest User

pom.xml

a guest
Feb 17th, 2012
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.57 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3.     <modelVersion>4.0.0</modelVersion>
  4.     <parent>
  5.         <groupId>net.stinfoservices.axsens.tempo</groupId>
  6.         <artifactId>TempoParent</artifactId>
  7.         <version>0.0.1</version>
  8.         <relativePath>../Tempo/pom.xml</relativePath>
  9.     </parent>
  10.     <groupId>net.stinfoservices.axsens.tempo.ui</groupId>
  11.     <artifactId>TempoTest</artifactId>
  12.     <version>0.0.1</version>
  13.     <packaging>war</packaging>
  14.     <!-- *********************** -->
  15.     <!-- Meta data of the project -->
  16.     <!-- *********************** -->
  17.     <name>TempoUI</name>
  18.  
  19.     <!-- ************************* -->
  20.     <!-- Properties of the project -->
  21.     <!-- ************************* -->
  22.     <properties>
  23.         <!-- La variable STI -->
  24.         <sti>STI</sti>
  25.         <!-- L'encoding du projet -->
  26.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  27.         <!-- GWT dependencies (from maven "central" repo) -->
  28.         <gwtVersion>2.0.3</gwtVersion>
  29.         <!-- JUnit version -->
  30.         <junit.version>3.8.2</junit.version>
  31.     </properties>
  32.     <!-- <-In the parent pom ************************* -->
  33.  
  34.  
  35.     <!-- *************************** -->
  36.     <!-- Dependencies of the project -->
  37.     <!-- *************************** -->
  38.     <dependencies>
  39.         <!-- TempoCore dependency -->
  40.         <dependency>
  41.             <groupId>net.stinfoservices.axsens.tempo.core</groupId>
  42.             <artifactId>TempoCore</artifactId>
  43.             <version>0.0.1</version>
  44.         </dependency>
  45.         <!-- GWT dependencies (from maven "central" repo) -->
  46.         <dependency>
  47.             <groupId>com.google.gwt</groupId>
  48.             <artifactId>gwt-servlet</artifactId>
  49.             <version>${gwtVersion}</version>
  50.             <scope>compile</scope>
  51.         </dependency>
  52.         <dependency>
  53.             <groupId>com.google.gwt</groupId>
  54.             <artifactId>gwt-user</artifactId>
  55.             <version>${gwtVersion}</version>
  56.             <scope>provided</scope>
  57.         </dependency>
  58.         <!-- WARNING never declare gwt-dev as a dependency -->
  59.  
  60.         <!-- GXT dependencies (from maven "central" repo) -->
  61.         <dependency>
  62.             <groupId>com.extjs</groupId>
  63.             <artifactId>gxt</artifactId>
  64.             <version>2.1.1</version>
  65.         </dependency>
  66.  
  67.         <!-- LOG dependencies (from maven "central" repo) -->
  68.         <dependency>
  69.             <groupId>commons-logging</groupId>
  70.             <artifactId>commons-logging</artifactId>
  71.             <version>1.1.1</version>
  72.         </dependency>
  73.         <dependency>
  74.             <groupId>log4j</groupId>
  75.             <artifactId>log4j</artifactId>
  76.             <version>1.2.16</version>
  77.         </dependency>
  78.  
  79.         <!-- AspectJ dependencies (from maven "central" repo) -->
  80.         <dependency>
  81.             <groupId>org.aspectj</groupId>
  82.             <artifactId>aspectjweaver</artifactId>
  83.             <version>1.6.8</version>
  84.         </dependency>
  85.  
  86.  
  87.  
  88.         <!-- SPRING - GWT dependencies (from maven "central" repo) -->
  89.         <!--
  90.             1. Download gwtrpc-spring-1.01.jar 2. Run: mvn install:install-file
  91.             -Dfile=gwtrpc-spring-1.01.jar -DgroupId=org.gwtrpcspring
  92.             -DartifactId=gwtrpcspring -Dversion=1.01 -Dpackaging=jar
  93.         -->
  94.         <dependency>
  95.             <groupId>org.gwtrpcspring</groupId>
  96.             <artifactId>gwtrpcspring </artifactId>
  97.             <version>1.01</version>
  98.         </dependency>
  99.  
  100.         <!-- SPRING  dependencies (from maven "central" repo) -->
  101.  
  102.         <dependency>
  103.             <groupId>org.springframework</groupId>
  104.             <artifactId>spring</artifactId>
  105.             <version>2.5.6</version>
  106.         </dependency>
  107.  
  108.         <dependency>
  109.             <groupId>org.springframework</groupId>
  110.             <artifactId>spring-test</artifactId>
  111.             <version>2.5.6</version>
  112.         </dependency>
  113.  
  114.         <!-- SPRING Security  dependencies (from maven "central" repo) -->
  115.         <dependency>
  116.             <groupId>org.springframework.security</groupId>
  117.             <artifactId>spring-security-core-tiger</artifactId>
  118.             <version>2.0.4</version>
  119.         </dependency>
  120.  
  121.         <dependency>
  122.             <groupId>org.springframework.security</groupId>
  123.             <artifactId>spring-security-core</artifactId>
  124.             <version>2.0.4</version>
  125.         </dependency>
  126.        
  127.         <!-- JUnit Connector -->
  128.         <dependency>
  129.             <groupId>junit</groupId>
  130.             <artifactId>junit</artifactId>
  131.             <version>4.8.1</version>
  132.             <scope>test</scope>
  133.         </dependency>
  134.  
  135.     </dependencies>
  136.  
  137.     <!-- ************************************ -->
  138.     <!-- Plugin customisation for the project -->
  139.     <!-- ************************************ -->
  140.     <build>
  141.         <plugins>
  142.             <!-- lance la compilation GWT des classes java en JSP
  143.             For style you have: OBF, PRETTY, or DETAILED-->
  144.             <plugin>
  145.                 <groupId>org.codehaus.mojo</groupId>
  146.                 <artifactId>gwt-maven-plugin</artifactId>
  147.                 <version>1.2</version>
  148.                 <configuration>
  149.                     <logLevel>INFO</logLevel>
  150.                     <style>DETAILED</style>
  151.                     <gwtVersion>${gwtVersion}</gwtVersion>
  152.                     <runTarget>TempoUI.html</runTarget>
  153.                     <hostedWebapp>
  154.                         ${basedir}/war
  155.                     </hostedWebapp>
  156.                     <inplace>false</inplace>
  157.                 </configuration>
  158.                 <executions>
  159.                     <execution>
  160.                         <goals>
  161.                             <goal>compile</goal>
  162.                         </goals>
  163.                     </execution>
  164.                 </executions>
  165.             </plugin>
  166.             <!-- Defini 1.6 comme JDK -->
  167.             <plugin>
  168.                 <groupId>org.apache.maven.plugins</groupId>
  169.                 <artifactId>maven-compiler-plugin</artifactId>
  170.                 <version>2.0.2</version>
  171.                 <configuration>
  172.                     <source>${jdk.version}</source>
  173.                     <target>${jdk.version}</target>
  174.                     <encoding>UTF-8</encoding>
  175.                 </configuration>
  176.             </plugin>
  177.             <!-- Definit le comportement du packaging war du projet -->
  178.             <plugin>
  179.                 <groupId>org.apache.maven.plugins</groupId>
  180.                 <artifactId>maven-war-plugin</artifactId>
  181.                 <version>2.0.2</version>
  182.                 <configuration>
  183.                     <!--<warSourceDirectory>war</warSourceDirectory>-->
  184.                     <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
  185.                 </configuration>
  186.             </plugin>
  187.         </plugins>
  188.         <pluginManagement>
  189.             <plugins>
  190.                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  191.                 <plugin>
  192.                     <groupId>org.eclipse.m2e</groupId>
  193.                     <artifactId>lifecycle-mapping</artifactId>
  194.                     <version>1.0.0</version>
  195.                     <configuration>
  196.                         <lifecycleMappingMetadata>
  197.                             <pluginExecutions>
  198.                                 <pluginExecution>
  199.                                     <pluginExecutionFilter>
  200.                                         <groupId>
  201.                                             org.codehaus.mojo
  202.                                         </groupId>
  203.                                         <artifactId>
  204.                                             gwt-maven-plugin
  205.                                         </artifactId>
  206.                                         <versionRange>
  207.                                             [1.2,)
  208.                                         </versionRange>
  209.                                         <goals>
  210.                                             <goal>compile</goal>
  211.                                         </goals>
  212.                                     </pluginExecutionFilter>
  213.                                     <action>
  214.                                         <execute/>
  215.                                     </action>
  216.                                 </pluginExecution>
  217.                             </pluginExecutions>
  218.                         </lifecycleMappingMetadata>
  219.                     </configuration>
  220.                 </plugin>
  221.             </plugins>
  222.         </pluginManagement>
  223.     </build>
  224. </project>
Advertisement
Add Comment
Please, Sign In to add comment