Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 41622 invoked from network); 20 Nov 2007 05:00:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2007 05:00:59 -0000 Received: (qmail 34011 invoked by uid 500); 20 Nov 2007 05:00:46 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 33977 invoked by uid 500); 20 Nov 2007 05:00:45 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 33966 invoked by uid 99); 20 Nov 2007 05:00:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 21:00:45 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Nov 2007 05:00:35 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IuLDp-0001cB-4j for jetspeed-dev@portals.apache.org; Mon, 19 Nov 2007 21:00:29 -0800 Message-ID: <13850954.post@talk.nabble.com> Date: Mon, 19 Nov 2007 21:00:29 -0800 (PST) From: lachlan-g To: jetspeed-dev@portals.apache.org Subject: tutorial problems, maven version and dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: lachlan.gartside@objectconsulting.com.au X-Virus-Checked: Checked by ClamAV on apache.org Hey all, I've been following the tutorial for the jetspeed-2 portal application with mixed success. While the tutorial has been clearly laid out and easy to follow, when it has come time to actually build the base portal application with the 'mvn -P tomcat,min' command, I hit something of a wall. Basically I'm consistently getting a class cast exception around the dependencies tag in the build xml file used by the ant tasks. (Line 502 of the /etc/build.xml for archetype version 2.1.2). Interestingly, this also occurs in a different build.xml when I perform a base 'mvn' or 'mvn package' build also at the dependencies tag (line 70 of /portal/build.xml for archetype version 2.1.2). A further bit of investigation shows that if I perform the dirty hack of removing the dependencies tag and creating a hard coded fileset, my example portal compiles fine. This all leads me to think that the problem is somewhere in my version computability or some such. Does anybody have any suggestions on a less dirty and more permanent solution? Cheers Lach -- View this message in context: http://www.nabble.com/tutorial-problems%2C-maven-version-and-dependencies-tf4841276.html#a13850954 Sent from the Jetspeed - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org