You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ap...@apache.org on 2006/11/28 13:09:41 UTC
svn commit: r480012 - in /struts/sandbox/trunk/tiles: pom.xml
tiles-showcase/pom.xml tiles-showcase/project.xml
Author: apetrelli
Date: Tue Nov 28 04:09:40 2006
New Revision: 480012
URL: http://svn.apache.org/viewvc?view=rev&rev=480012
Log:
SB-81
Created pom.xml for tiles-showcase.
Added commented module to main pom.xml that will be commented out when tiles-showcase becomes stable.
Added:
struts/sandbox/trunk/tiles/tiles-showcase/pom.xml
Removed:
struts/sandbox/trunk/tiles/tiles-showcase/project.xml
Modified:
struts/sandbox/trunk/tiles/pom.xml
Modified: struts/sandbox/trunk/tiles/pom.xml
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/pom.xml?view=diff&rev=480012&r1=480011&r2=480012
==============================================================================
--- struts/sandbox/trunk/tiles/pom.xml (original)
+++ struts/sandbox/trunk/tiles/pom.xml Tue Nov 28 04:09:40 2006
@@ -67,6 +67,9 @@
<module>tiles-api</module>
<module>tiles-core</module>
<module>tiles-test</module>
+ <!-- Enable when tiles-showcase becomes stable
+ <module>tiles-test</module>
+ -->
</modules>
<licenses>
Added: struts/sandbox/trunk/tiles/tiles-showcase/pom.xml
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-showcase/pom.xml?view=auto&rev=480012
==============================================================================
--- struts/sandbox/trunk/tiles/tiles-showcase/pom.xml (added)
+++ struts/sandbox/trunk/tiles/tiles-showcase/pom.xml Tue Nov 28 04:09:40 2006
@@ -0,0 +1,182 @@
+<?xml version="1.0"?>
+<!--
+/*
+ * $Id: pom.xml 477688 2006-11-21 14:44:10Z apetrelli $
+ *
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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.
+ *
+ */
+-->
+
+<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">
+
+ <parent>
+ <groupId>org.apache.struts.tiles</groupId>
+ <artifactId>tiles-parent</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tiles-showcase</artifactId>
+ <packaging>war</packaging>
+ <name>Tiles Showcase web application</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>tiles-core</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.1.2</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.1.2</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>struts</groupId>
+ <artifactId>struts</artifactId>
+ <version>1.2.9</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.0.2-SNAPSHOT</version>
+ <configuration>
+ <webResources>
+ <resource>
+ <directory>.</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ </includes>
+ </resource>
+ </webResources>
+ </configuration>
+ </plugin>
+ <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>
+ </plugins>
+ <finalName>${pom.artifactId}</finalName>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>selenium</id>
+ <activation>
+ <property>
+ <name>selenium</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>dependency-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-selenium</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.openqa.selenium.core</groupId>
+ <artifactId>selenium-core</artifactId>
+ <version>0.8.1</version>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${project.build.directory}/selenium</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-selenium</id>
+ <phase>process-resources</phase>
+ <configuration>
+ <tasks>
+ <copy todir="${project.build.directory}/${artifactId}/selenium/core">
+ <fileset dir="${project.build.directory}/selenium/core"/>
+ </copy>
+ <copy todir="${project.build.directory}/${artifactId}/selenium/tests">
+ <fileset dir="src/test/selenium"/>
+ </copy>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <repositories>
+ <repository>
+ <id>OpenQA</id>
+ <url>http://maven.openqa.org</url>
+ </repository>
+ </repositories>
+ </profile>
+ </profiles>
+
+
+</project>