2006-04-09 00:41:12 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2006-09-29 03:11:01 +00:00
|
|
|
<!--
|
2007-02-07 13:23:42 +00:00
|
|
|
/*
|
2007-08-06 19:53:57 +00:00
|
|
|
* $Id$
|
2007-02-07 13:23:42 +00:00
|
|
|
*
|
2007-08-06 19:53:57 +00:00
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
|
* or more contributor license agreements. See the NOTICE file
|
|
|
|
|
* distributed with this work for additional information
|
|
|
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
|
|
|
* to you under the Apache License, Version 2.0 (the
|
|
|
|
|
* "License"); you may not use this file except in compliance
|
|
|
|
|
* with the License. You may obtain a copy of the License at
|
2007-02-07 13:23:42 +00:00
|
|
|
*
|
2007-08-06 19:53:57 +00:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2006-09-29 03:11:01 +00:00
|
|
|
*
|
2007-08-06 19:53:57 +00:00
|
|
|
* Unless required by applicable law or agreed to in writing,
|
|
|
|
|
* software distributed under the License is distributed on an
|
|
|
|
|
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
|
* KIND, either express or implied. See the License for the
|
|
|
|
|
* specific language governing permissions and limitations
|
|
|
|
|
* under the License.
|
2006-09-29 03:11:01 +00:00
|
|
|
*/
|
|
|
|
|
-->
|
|
|
|
|
|
2006-04-09 00:41:12 +00:00
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<parent>
|
2006-07-02 00:16:06 +00:00
|
|
|
<groupId>org.apache.struts</groupId>
|
2006-07-01 23:58:13 +00:00
|
|
|
<artifactId>struts2-parent</artifactId>
|
2007-02-07 13:23:42 +00:00
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
2006-04-09 00:41:12 +00:00
|
|
|
</parent>
|
2006-07-02 00:16:06 +00:00
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-apps</artifactId>
|
2006-04-09 00:41:12 +00:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<name>Webapps</name>
|
|
|
|
|
<modules>
|
|
|
|
|
<module>blank</module>
|
2006-08-29 21:26:14 +00:00
|
|
|
<module>mailreader</module>
|
2006-04-09 00:41:12 +00:00
|
|
|
<module>portlet</module>
|
2006-05-21 20:22:18 +00:00
|
|
|
<module>showcase</module>
|
2006-04-09 00:41:12 +00:00
|
|
|
</modules>
|
2007-02-07 13:23:42 +00:00
|
|
|
|
2006-11-02 12:11:47 +00:00
|
|
|
<scm>
|
|
|
|
|
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk/apps/</connection>
|
|
|
|
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/</developerConnection>
|
|
|
|
|
<url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/</url>
|
|
|
|
|
</scm>
|
|
|
|
|
|
2006-05-07 02:32:25 +00:00
|
|
|
<distributionManagement>
|
|
|
|
|
<site>
|
|
|
|
|
<id>apache-site</id>
|
2006-07-21 01:04:41 +00:00
|
|
|
<url>scp://people.apache.org/www/struts.apache.org/struts2/apps</url>
|
2006-05-07 02:32:25 +00:00
|
|
|
</site>
|
|
|
|
|
</distributionManagement>
|
2007-02-07 13:23:42 +00:00
|
|
|
|
2006-05-05 20:31:27 +00:00
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>hostedqa</id>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.hostedqa</groupId>
|
|
|
|
|
<artifactId>hostedqa-remote-ant</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>codehaus</id>
|
|
|
|
|
<name>codehaus</name>
|
2006-06-20 18:34:16 +00:00
|
|
|
<url>http://repository.codehaus.org</url>
|
2006-05-05 20:31:27 +00:00
|
|
|
</repository>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>maven-hostedqa</id>
|
|
|
|
|
<name>maven-hostedqa</name>
|
|
|
|
|
<snapshots>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
|
|
|
</snapshots>
|
|
|
|
|
<releases>
|
|
|
|
|
<enabled>true</enabled>
|
|
|
|
|
</releases>
|
|
|
|
|
<url>http://maven.hostedqa.com</url>
|
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
|
|
|
|
<build>
|
2006-09-06 11:40:40 +00:00
|
|
|
<resources>
|
|
|
|
|
<!-- Include resources under src/main/java in WEB-INF/classes -->
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
2006-05-05 20:31:27 +00:00
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<tasks>
|
|
|
|
|
<taskdef resource="hostedqatasks" classpathref="maven.plugin.classpath"/>
|
|
|
|
|
<upload file="${project.build.directory}/${project.build.finalName}.war"
|
|
|
|
|
account="struts" email="${email}"
|
|
|
|
|
password="${password}" resourceId="${resourceId}"/>
|
|
|
|
|
|
|
|
|
|
<playsuite suiteId="${suiteId}" clientConfigs="${clientConfigs}" appConfigs="${appConfigs}" account="struts"
|
|
|
|
|
email="${email}"
|
|
|
|
|
password="${password}"/>
|
|
|
|
|
</tasks>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.hostedqa</groupId>
|
|
|
|
|
<artifactId>hostedqa-remote-ant</artifactId>
|
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
2006-09-08 02:54:21 +00:00
|
|
|
|
2006-05-23 03:02:18 +00:00
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<container>
|
|
|
|
|
<containerId>tomcat5x</containerId>
|
|
|
|
|
<home>${cargo.tomcat5x.home}</home>
|
|
|
|
|
<log>${project.build.directory}/tomcat5x.log</log>
|
|
|
|
|
<output>${project.build.directory}/tomcat5x.out</output>
|
|
|
|
|
</container>
|
|
|
|
|
<configuration>
|
|
|
|
|
<home>${project.build.directory}/tomcat5x</home>
|
|
|
|
|
</configuration>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2006-09-08 02:54:21 +00:00
|
|
|
<!-- Include source code under WEB-INF/src/java -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-sources</id>
|
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<tasks>
|
|
|
|
|
<copy todir="${project.build.directory}/${pom.artifactId}/WEB-INF/src/java"
|
|
|
|
|
failonerror="false">
|
|
|
|
|
<fileset dir="${basedir}/src/main/java"/>
|
|
|
|
|
</copy>
|
|
|
|
|
<copy todir="${project.build.directory}/${pom.artifactId}/WEB-INF/src/java"
|
|
|
|
|
failonerror="false">
|
|
|
|
|
<fileset dir="${basedir}/src/main/resources"/>
|
|
|
|
|
</copy>
|
|
|
|
|
</tasks>
|
|
|
|
|
</configuration>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2006-05-23 03:02:18 +00:00
|
|
|
</plugins>
|
2007-02-07 13:23:42 +00:00
|
|
|
|
2006-05-28 03:24:39 +00:00
|
|
|
<finalName>${pom.artifactId}</finalName>
|
2007-02-07 13:23:42 +00:00
|
|
|
|
2006-05-23 03:02:18 +00:00
|
|
|
</build>
|
2006-05-28 23:19:54 +00:00
|
|
|
|
|
|
|
|
<dependencies>
|
2006-05-29 01:21:19 +00:00
|
|
|
|
2006-04-12 18:28:53 +00:00
|
|
|
<dependency>
|
2006-07-02 00:16:06 +00:00
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-core</artifactId>
|
2006-05-07 02:32:25 +00:00
|
|
|
<version>${pom.version}</version>
|
2006-04-12 18:28:53 +00:00
|
|
|
</dependency>
|
2006-05-09 20:47:58 +00:00
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-mock</artifactId>
|
2006-12-29 01:20:08 +00:00
|
|
|
<version>2.0.1</version>
|
2006-05-09 20:47:58 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2006-05-29 01:21:19 +00:00
|
|
|
</dependencies>
|
2007-02-07 13:23:42 +00:00
|
|
|
|
2006-04-09 00:41:12 +00:00
|
|
|
</project>
|