Author: craigmcc
Date: Sat Jun 10 13:35:02 2006
New Revision: 413360

URL: http://svn.apache.org/viewvc?rev=413360&view=rev
Log:
Declare the XML parser API and impl classes as "provided", since Shale
requires JDK 1.4 or later, and a suitable XML parser is built in.  With
this change, all four sample apps build and deploy, although there are
runtime issues and a few tweaks to the web.xml files that are needed
(such as display names).

Modified:
    struts/shale/branches/mvn_reorg/shale-apps/pom.xml

Modified: struts/shale/branches/mvn_reorg/shale-apps/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/shale/branches/mvn_reorg/shale-apps/pom.xml?rev=413360&r1=413359&r2=413360&view=diff
==============================================================================
--- struts/shale/branches/mvn_reorg/shale-apps/pom.xml (original)
+++ struts/shale/branches/mvn_reorg/shale-apps/pom.xml Sat Jun 10 13:35:02 2006
@@ -31,6 +31,22 @@
     <name>Apache Shale Framework Sample Apps</name>
     <url>http://struts.apache.org/struts-shale</url>
 
+    <dependencies>
+        <!-- Document "provided" dependencies to avoid cluttering WAR files -->
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+            <version>2.2.1</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>xml-apis</groupId>
+            <artifactId>xml-apis</artifactId>
+            <version>1.0.b2</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
     <!-- TODO:  Move the 'itest' profile and dependencies to this pom when 
MNG-2221 is fixed. -->
 
     <profiles>


Reply via email to