Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 58203 invoked by uid 99); 4 Jun 2008 14:50:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 07:50:04 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.67.1.171] (HELO relay8.mail.ox.ac.uk) (129.67.1.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 14:49:05 +0000 Received: from smtp1.mail.ox.ac.uk ([129.67.1.207]) by relay8.mail.ox.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1K3uIp-0004nB-SM; Wed, 04 Jun 2008 15:49:27 +0100 Received: from dhcp147.cas.ox.ac.uk ([163.1.119.147]) by smtp1.mail.ox.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1K3uIp-0007PO-4q; Wed, 04 Jun 2008 15:49:27 +0100 Message-ID: <4846AB76.20604@cas.ox.ac.uk> Date: Wed, 04 Jun 2008 15:49:26 +0100 From: Russell Jones User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Petar Tachiev CC: support@codehaus.org, cactus-user@jakarta.apache.org Subject: Difficulty building cactus 1.8.1-S eclipse 3.3 plug-in Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Oxford-Username: jesu0990 X-Virus-Checked: Checked by ClamAV on apache.org Hi, What I'm trying to do is run JUnit on my Tomcat server in Eclipse so I can test applications that use pooled JNDI database connections. That seems to mean I need cactus. I was trying to follow the instructions kindly provided by Petar in the mail at http://www.mail-archive.com/cactus-user@jakarta.apache.org/msg07514.html which almost worked nicely, except the stage where maven tried to get the jars for cargo and cactus.build tools. The files it need were at http://repository.codehaus.org/org/codehaus/cargo/cargo-core-uberjar/0.9/cargo-core-uberjar-0.9.jar and http://repository.codehaus.org/org/codehaus/cargo/cargo-ant/0.9/cargo-ant-0.9.jar and the instructions in the error made it easy to install them, but could one or both of you (Petar and codehaus) make a change to the reference to or location of the files such that this just works? I haven't got cactus built yet (*)-- I can't find something extra to just download or check out at jakarta.apache.org/cactus (not cactus.apache.org as per the jar). I guess it's something to do with https://svn.apache.org/repos/asf/jakarta/cactus/trunk/build-tools/pom.xml I'll have to look at the maven docs as I have no idea how it works. I am running Debian 4.0 and downloaded maven 2.0.9 into my home directory: I run it with ~/apache-maven-2.0.9/bin/mvn So close to getting it working... Many thanks, Russell Jones Oxford University Careers Service p.s. I couldn't find a contact email for codehaus, so I just guessed. (*) I get the error 1) org.apache.cactus:cactus.build.tools:jar:1.8.1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.cactus -DartifactId=cactus.build.tools -Dversion=1.8.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.cactus -DartifactId=cactus.build.tools -Dversion=1.8.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-checkstyle-plugin:maven-plugin:2.1 2) org.apache.cactus:cactus.build.tools:jar:1.8.1-SNAPSHOT