You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by mr...@apache.org on 2006/04/07 00:55:08 UTC

svn commit: r392107 - in /struts/action/trunk/apps/examples: pom.xml src/java/ src/main/ src/main/java/ src/main/webapp/ src/webapp/

Author: mrdon
Date: Thu Apr  6 15:55:06 2006
New Revision: 392107

URL: http://svn.apache.org/viewcvs?rev=392107&view=rev
Log:
Restructuring examples webapp for new maven 2 build

Added:
    struts/action/trunk/apps/examples/pom.xml
    struts/action/trunk/apps/examples/src/main/
    struts/action/trunk/apps/examples/src/main/java/
      - copied from r392094, struts/action/trunk/apps/examples/src/java/
    struts/action/trunk/apps/examples/src/main/webapp/
      - copied from r392094, struts/action/trunk/apps/examples/src/webapp/
Removed:
    struts/action/trunk/apps/examples/src/java/
    struts/action/trunk/apps/examples/src/webapp/

Added: struts/action/trunk/apps/examples/pom.xml
URL: http://svn.apache.org/viewcvs/struts/action/trunk/apps/examples/pom.xml?rev=392107&view=auto
==============================================================================
--- struts/action/trunk/apps/examples/pom.xml (added)
+++ struts/action/trunk/apps/examples/pom.xml Thu Apr  6 15:55:06 2006
@@ -0,0 +1,85 @@
+<?xml version="1.0"?>
+<!--
+/* 
+ * Copyright 2005-2006 The Apache Software Foundation.
+ * 
+ * Licensed 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.
+ *
+ * $Id: pom.xml 392080 2006-04-06 21:19:10Z wsmoak $
+ */
+-->
+
+<!-- 
+             Experimental Maven 2 Build for Apache Struts
+             ============================================
+
+To build and install this module into your local repo:
+
+   $ mvn install
+   
+For more information, see:  http://wiki.apache.org/struts/StrutsMaven2Plan
+
+-->
+
+<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.action</groupId>
+      <artifactId>struts-apps</artifactId>
+      <version>1.3.2-SNAPSHOT</version>
+   </parent>
+
+   <modelVersion>4.0.0</modelVersion>
+   <artifactId>struts-examples</artifactId>
+   <packaging>war</packaging>
+   <name>Struts Action - Apps - Examples</name>
+   
+   <dependencies>
+      <dependency>
+         <groupId>${pom.groupId}</groupId>
+         <artifactId>struts-taglib</artifactId>
+         <version>${pom.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>javax.servlet</groupId>
+         <artifactId>servlet-api</artifactId>
+         <version>2.3</version>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>jstl</groupId>
+         <artifactId>jstl</artifactId>
+         <version>1.0.6</version>
+      </dependency>
+      <dependency>
+         <groupId>taglibs</groupId>
+         <artifactId>standard</artifactId>
+         <version>1.0.6</version>
+      </dependency>
+   </dependencies>
+   
+   <build>
+     <finalName>${pom.artifactId}</finalName>
+     <resources>
+        <resource>
+           <directory>src/main/java</directory>
+           <targetPath>../${pom.artifactId}/WEB-INF/src/main/java</targetPath>
+           <includes>
+               <include>**/*.java</include>
+           </includes>
+        </resource>
+     </resources>   
+  </build>
+
+</project>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org