Show
Ignore:
Timestamp:
09/07/08 15:16:39 (2 years ago)
Author:
wallsc
Message:

Sync with MBP

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Chapter09/Poker-WS/pom.xml

    r107 r181  
    1 <?xml version="1.0" encoding="UTF-8"?><project> 
    2   <parent> 
    3     <groupId>com.springinaction</groupId> 
    4     <artifactId>Chapter09</artifactId> 
    5     <version>2.0</version> 
    6   </parent> 
    7   <modelVersion>4.0.0</modelVersion> 
    8   <groupId>com.springinaction</groupId> 
    9   <artifactId>Poker-WS</artifactId> 
    10   <packaging>war</packaging> 
    11   <name>Spring in Action 2E, Spring-WS Example</name> 
    12    
    13   <repositories> 
    14     <repository> 
    15       <id>springframework.org</id> 
    16       <name>Springframework Maven SNAPSHOT Repository</name> 
    17       <url>http://static.springframework.org/maven2-snapshots/</url> 
    18     </repository> 
    19   </repositories> 
    20  
    21   <properties> 
    22     <spring.ws.version>1.0.1</spring.ws.version> 
    23   </properties> 
    24    
    25   <build> 
    26     <finalName>Poker-WS</finalName> 
    27     <plugins> 
    28           <!-- Jetty plugin to run app from Maven --> 
    29       <plugin>  
    30         <groupId>org.mortbay.jetty</groupId> 
    31         <artifactId>maven-jetty-plugin</artifactId> 
    32       </plugin>  
    33  
    34       <!-- Set source/target Java version --> 
    35       <plugin> 
    36         <artifactId>maven-compiler-plugin</artifactId> 
    37         <configuration> 
    38           <source>1.5</source> 
    39           <target>1.5</target> 
    40         </configuration> 
    41       </plugin> 
    42  
    43       <!-- Configure surefire to ignore integration tests on "test" and 
    44            to ignore plain unit-tests on "integration-test" --> 
    45       <plugin> 
    46         <groupId>org.apache.maven.plugins</groupId> 
    47         <artifactId>maven-surefire-plugin</artifactId> 
    48         <configuration> 
    49           <excludes> 
    50             <exclude>**/*ITest.java</exclude> 
    51           </excludes> 
    52         </configuration> 
    53         <executions> 
    54           <execution> 
    55           <id>integration tests</id> 
    56           <phase>integration-test</phase> 
    57           <goals><goal>test</goal></goals> 
    58         <configuration> 
    59           <includes> 
    60             <include>**/itest/*ITest.java</include> 
    61           </includes> 
    62           <excludes> 
    63             <exclude>none</exclude> 
    64           </excludes> 
    65         </configuration> 
    66           </execution> 
    67         </executions> 
    68       </plugin> 
    69  
    70       <!-- Start Jetty on pre-integration-test and shut it down on post-integration-test --> 
    71       <plugin> 
    72         <groupId>org.codehaus.cargo</groupId> 
    73         <artifactId>cargo-maven2-plugin</artifactId> 
    74         <executions> 
    75           <execution> 
    76             <id>start-container</id> 
    77             <phase>pre-integration-test</phase> 
    78             <goals> 
    79               <goal>start</goal> 
    80             </goals> 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<project> 
     3   <parent> 
     4      <groupId>com.springinaction</groupId> 
     5      <artifactId>Chapter09</artifactId> 
     6      <version>2.0</version> 
     7   </parent> 
     8   <modelVersion>4.0.0</modelVersion> 
     9   <groupId>com.springinaction</groupId> 
     10   <artifactId>Poker-WS</artifactId> 
     11   <packaging>war</packaging> 
     12   <name>Spring in Action 2E, Spring-WS Example</name> 
     13 
     14   <repositories> 
     15      <repository> 
     16         <id>springframework.org</id> 
     17         <name>Springframework Maven SNAPSHOT Repository</name> 
     18         <url>http://static.springframework.org/maven2-snapshots/</url> 
     19      </repository> 
     20   </repositories> 
     21 
     22   <properties> 
     23      <spring.ws.version>1.5.0</spring.ws.version> 
     24   </properties> 
     25 
     26   <build> 
     27      <finalName>Poker-WS</finalName> 
     28      <plugins> 
     29         <!-- Jetty plugin to run app from Maven --> 
     30         <plugin> 
     31            <groupId>org.mortbay.jetty</groupId> 
     32            <artifactId>maven-jetty-plugin</artifactId> 
     33         </plugin> 
     34 
     35         <!-- Set source/target Java version --> 
     36         <plugin> 
     37            <artifactId>maven-compiler-plugin</artifactId> 
    8138            <configuration> 
    82               <wait>false</wait> 
     39               <source>1.5</source> 
     40               <target>1.5</target> 
    8341            </configuration> 
    84           </execution> 
    85           <execution> 
    86             <id>stop-container</id> 
    87             <phase>post-integration-test</phase> 
    88             <goals> 
    89               <goal>stop</goal> 
    90             </goals> 
    91           </execution> 
    92         </executions> 
    93         <configuration> 
    94           <container> 
    95             <systemProperties> 
    96               <org.apache.commons.logging.Log>org.apache.commons.logging.impl.SimpleLog</org.apache.commons.logging.Log> 
    97             </systemProperties>  
    98           </container> 
    99         </configuration> 
    100       </plugin> 
    101     </plugins> 
    102   </build> 
    103    
    104   <dependencies> 
    105     <dependency> 
    106       <groupId>commons-logging</groupId> 
    107       <artifactId>commons-logging</artifactId> 
    108       <version>1.1</version> 
    109       <scope>compile</scope> 
    110     </dependency> 
    111     <dependency> 
    112       <groupId>javax.servlet</groupId> 
    113       <artifactId>servlet-api</artifactId> 
    114       <version>2.4</version> 
    115       <scope>provided</scope> 
    116     </dependency>     
    117     <dependency> 
    118       <groupId>org.springframework.ws</groupId> 
    119       <artifactId>spring-oxm</artifactId> 
    120       <version>${spring.ws.version}</version> 
    121       <scope>compile</scope> 
    122     </dependency> 
    123     <dependency> 
    124       <groupId>org.springframework.ws</groupId> 
    125       <artifactId>spring-xml</artifactId> 
    126       <version>${spring.ws.version}</version> 
    127       <scope>compile</scope> 
    128     </dependency> 
    129     <dependency> 
    130       <groupId>org.springframework.ws</groupId> 
    131       <artifactId>spring-ws-core-tiger</artifactId> 
    132       <version>${spring.ws.version}</version> 
    133     </dependency> 
    134     <dependency> 
    135       <groupId>org.springframework.ws</groupId> 
    136       <artifactId>spring-ws-core</artifactId> 
    137       <version>${spring.ws.version}</version> 
    138       <scope>compile</scope> 
    139  
    140       <exclusions> 
    141         <exclusion> 
    142           <groupId>org.springframework</groupId> 
    143           <artifactId>spring-aop</artifactId> 
    144         </exclusion> 
    145         <exclusion> 
    146           <groupId>org.springframework</groupId> 
    147           <artifactId>spring-beans</artifactId> 
    148         </exclusion> 
    149         <exclusion> 
    150           <groupId>org.springframework</groupId> 
    151           <artifactId>spring-context</artifactId> 
    152         </exclusion> 
    153         <exclusion> 
    154           <groupId>org.springframework</groupId> 
    155           <artifactId>spring-core</artifactId> 
    156         </exclusion> 
    157         <exclusion> 
    158           <groupId>org.springframework</groupId> 
    159           <artifactId>spring-dao</artifactId> 
    160         </exclusion> 
    161         <exclusion> 
    162           <groupId>org.springframework</groupId> 
    163           <artifactId>spring-jdbc</artifactId> 
    164         </exclusion> 
    165         <exclusion> 
    166           <groupId>org.springframework</groupId> 
    167           <artifactId>spring-remoting</artifactId> 
    168         </exclusion> 
    169         <exclusion> 
    170           <groupId>org.springframework</groupId> 
    171           <artifactId>spring-support</artifactId> 
    172         </exclusion> 
    173         <exclusion> 
    174           <groupId>org.springframework</groupId> 
    175           <artifactId>spring-web</artifactId> 
    176         </exclusion>  
    177         <exclusion> 
    178           <groupId>org.springframework</groupId> 
    179           <artifactId>spring-webmvc</artifactId> 
    180         </exclusion> 
    181       </exclusions>       
    182     </dependency> 
    183     <dependency> 
    184       <groupId>org.springframework</groupId> 
    185       <artifactId>spring-mock</artifactId> 
    186       <version>${spring.version}</version> 
    187       <scope>compile</scope> 
    188     </dependency> 
    189     <dependency> 
    190       <groupId>org.codehaus.castor</groupId> 
    191       <artifactId>castor</artifactId> 
    192       <version>1.1</version> 
    193       <scope>compile</scope> 
    194       <exclusions> 
    195         <exclusion> 
    196           <groupId>xerces</groupId> 
    197           <artifactId>xerces</artifactId> 
    198         </exclusion> 
    199       </exclusions> 
    200     </dependency>          
    201  
    202     <dependency> 
    203       <groupId>org.apache.ws.commons.axiom</groupId> 
    204       <artifactId>axiom-impl</artifactId> 
    205       <version>1.2.2</version> 
    206       <exclusions> 
    207         <exclusion> 
    208           <groupId>commons-logging</groupId> 
    209           <artifactId>commons-logging</artifactId> 
    210         </exclusion> 
    211       </exclusions> 
    212     </dependency> 
    213  
    214     <dependency> 
    215       <groupId>org.apache.ws.commons.axiom</groupId> 
    216       <artifactId>axiom-api</artifactId> 
    217       <version>1.2.2</version> 
    218     </dependency> 
    219  
    220  
    221     <dependency> 
    222       <groupId>stax</groupId> 
    223       <artifactId>stax</artifactId> 
    224       <version>1.2.0</version> 
    225     </dependency> 
    226  
    227     <dependency> 
    228       <groupId>javax.activation</groupId> 
    229       <artifactId>activation</artifactId> 
    230       <version>1.1</version> 
    231     </dependency>      
    232      
    233     <dependency> 
    234       <groupId>xerces</groupId> 
    235       <artifactId>xercesImpl</artifactId> 
    236       <version>2.8.0</version> 
    237       <scope>compile</scope> 
    238     </dependency> 
    239  
    240     <dependency> 
    241       <groupId>jdom</groupId> 
    242       <artifactId>jdom</artifactId> 
    243       <version>1.0</version> 
    244     </dependency> 
    245  
    246     <dependency> 
    247       <groupId>javax.xml.soap</groupId> 
    248       <artifactId>saaj-api</artifactId> 
    249       <version>1.3</version> 
    250     </dependency> 
    251  
    252     <dependency> 
    253       <groupId>com.sun.xml</groupId> 
    254       <artifactId>saaj-impl</artifactId> 
    255       <version>1.3</version> 
    256     </dependency> 
    257      
    258     <dependency> 
    259       <groupId>junit-addons</groupId> 
    260       <artifactId>junit-addons</artifactId> 
    261       <version>1.4</version> 
    262       <scope>test</scope> 
    263     </dependency> 
    264   </dependencies> 
     42         </plugin> 
     43 
     44         <!-- Configure surefire to ignore integration tests on "test" and 
     45            to ignore plain unit-tests on "integration-test" --> 
     46         <plugin> 
     47            <groupId>org.apache.maven.plugins</groupId> 
     48            <artifactId>maven-surefire-plugin</artifactId> 
     49            <configuration> 
     50               <excludes> 
     51                  <exclude>**/*ITest.java</exclude> 
     52               </excludes> 
     53            </configuration> 
     54            <executions> 
     55               <execution> 
     56                  <id>integration tests</id> 
     57                  <phase>integration-test</phase> 
     58                  <goals> 
     59                     <goal>test</goal> 
     60                  </goals> 
     61                  <configuration> 
     62                     <includes> 
     63                        <include>**/itest/*ITest.java</include> 
     64                     </includes> 
     65                     <excludes> 
     66                        <exclude>none</exclude> 
     67                     </excludes> 
     68                  </configuration> 
     69               </execution> 
     70            </executions> 
     71         </plugin> 
     72 
     73         <!-- Start Jetty on pre-integration-test and shut it down on post-integration-test --> 
     74         <plugin> 
     75            <groupId>org.codehaus.cargo</groupId> 
     76            <artifactId>cargo-maven2-plugin</artifactId> 
     77            <executions> 
     78               <execution> 
     79                  <id>start-container</id> 
     80                  <phase>pre-integration-test</phase> 
     81                  <goals> 
     82                     <goal>start</goal> 
     83                  </goals> 
     84                  <configuration> 
     85                     <wait>false</wait> 
     86                  </configuration> 
     87               </execution> 
     88               <execution> 
     89                  <id>stop-container</id> 
     90                  <phase>post-integration-test</phase> 
     91                  <goals> 
     92                     <goal>stop</goal> 
     93                  </goals> 
     94               </execution> 
     95            </executions> 
     96            <configuration> 
     97               <container> 
     98                  <systemProperties> 
     99                     <org.apache.commons.logging.Log> 
     100                        org.apache.commons.logging.impl.SimpleLog 
     101                     </org.apache.commons.logging.Log> 
     102                  </systemProperties> 
     103               </container> 
     104            </configuration> 
     105         </plugin> 
     106      </plugins> 
     107   </build> 
     108 
     109   <dependencies> 
     110      <dependency> 
     111         <groupId>commons-logging</groupId> 
     112         <artifactId>commons-logging</artifactId> 
     113         <version>1.1</version> 
     114         <scope>compile</scope> 
     115      </dependency> 
     116      <dependency> 
     117         <groupId>javax.servlet</groupId> 
     118         <artifactId>servlet-api</artifactId> 
     119         <version>2.4</version> 
     120         <scope>provided</scope> 
     121      </dependency> 
     122      <dependency> 
     123         <groupId>org.springframework.ws</groupId> 
     124         <artifactId>spring-oxm</artifactId> 
     125         <version>${spring.ws.version}</version> 
     126         <scope>compile</scope> 
     127      </dependency> 
     128      <dependency> 
     129         <groupId>org.springframework.ws</groupId> 
     130         <artifactId>spring-xml</artifactId> 
     131         <version>${spring.ws.version}</version> 
     132         <scope>compile</scope> 
     133      </dependency> 
     134      <dependency> 
     135         <groupId>org.springframework.ws</groupId> 
     136         <artifactId>spring-ws-core-tiger</artifactId> 
     137         <version>${spring.ws.version}</version> 
     138      </dependency> 
     139      <dependency> 
     140         <groupId>org.springframework.ws</groupId> 
     141         <artifactId>spring-ws-core</artifactId> 
     142         <version>${spring.ws.version}</version> 
     143         <scope>compile</scope> 
     144      </dependency> 
     145      <dependency> 
     146         <groupId>org.springframework</groupId> 
     147         <artifactId>spring-test</artifactId> 
     148         <version>${spring.version}</version> 
     149         <scope>compile</scope> 
     150      </dependency> 
     151      <dependency> 
     152         <groupId>org.codehaus.castor</groupId> 
     153         <artifactId>castor</artifactId> 
     154         <version>1.1</version> 
     155         <scope>compile</scope> 
     156         <exclusions> 
     157            <exclusion> 
     158               <groupId>xerces</groupId> 
     159               <artifactId>xerces</artifactId> 
     160            </exclusion> 
     161         </exclusions> 
     162      </dependency> 
     163 
     164      <dependency> 
     165         <groupId>org.apache.ws.commons.axiom</groupId> 
     166         <artifactId>axiom-impl</artifactId> 
     167         <version>1.2.2</version> 
     168         <exclusions> 
     169            <exclusion> 
     170               <groupId>commons-logging</groupId> 
     171               <artifactId>commons-logging</artifactId> 
     172            </exclusion> 
     173         </exclusions> 
     174      </dependency> 
     175 
     176      <dependency> 
     177         <groupId>org.apache.ws.commons.axiom</groupId> 
     178         <artifactId>axiom-api</artifactId> 
     179         <version>1.2.2</version> 
     180      </dependency> 
     181 
     182 
     183      <dependency> 
     184         <groupId>stax</groupId> 
     185         <artifactId>stax</artifactId> 
     186         <version>1.2.0</version> 
     187      </dependency> 
     188 
     189      <dependency> 
     190         <groupId>javax.activation</groupId> 
     191         <artifactId>activation</artifactId> 
     192         <version>1.1</version> 
     193      </dependency> 
     194 
     195      <dependency> 
     196         <groupId>xerces</groupId> 
     197         <artifactId>xercesImpl</artifactId> 
     198         <version>2.8.0</version> 
     199         <scope>compile</scope> 
     200      </dependency> 
     201 
     202      <dependency> 
     203         <groupId>jdom</groupId> 
     204         <artifactId>jdom</artifactId> 
     205         <version>1.0</version> 
     206      </dependency> 
     207 
     208      <dependency> 
     209         <groupId>javax.xml.soap</groupId> 
     210         <artifactId>saaj-api</artifactId> 
     211         <version>1.3</version> 
     212      </dependency> 
     213 
     214      <dependency> 
     215         <groupId>com.sun.xml</groupId> 
     216         <artifactId>saaj-impl</artifactId> 
     217         <version>1.3</version> 
     218      </dependency> 
     219 
     220      <dependency> 
     221         <groupId>junit-addons</groupId> 
     222         <artifactId>junit-addons</artifactId> 
     223         <version>1.4</version> 
     224         <scope>test</scope> 
     225      </dependency> 
     226   </dependencies> 
    265227</project>