Differences between revisions 9 and 10
Revision 9 as of 2006-12-02 04:33:00
Size: 1851
Editor: ErnestoCelis
Comment:
Revision 10 as of 2009-09-20 23:04:13
Size: 1855
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Please add comments for [http://db.apache.org/torque/tutorial/step1.html Step 1 of the Torque tutorial] below. Please add comments for [[http://db.apache.org/torque/tutorial/step1.html|Step 1 of the Torque tutorial]] below.
Line 18: Line 18:
Installation instructions for Maven 1.0.2 are [http://maven.apache.org/maven-1.x/ on the maven site] Installation instructions for Maven 1.0.2 are [[http://maven.apache.org/maven-1.x/|on the maven site]]

User comments for Step 1 of the Torque Tutorial

Please add comments for Step 1 of the Torque tutorial below. You must be logged into the wiki to edit this page.

Command for downloading Torque is:

maven plugin:download -DartifactId=maven-torque-plugin -DgroupId=torque -Dversion=3.2

Should be:

mvn plugin:download -DartifactId=maven-torque-plugin -DgroupId=torque -Dversion=3.2

At least on win xp


I believe the above comment (use 'mvn' instead of 'maven') is for using Maven2 instead of Maven1. Torque (at least according to the docs as of Oct, 2006) uses Maven1 (ideally, Maven 1.0.2). So if you have to use "mvn" instead of "maven", you may have the wrong version of Maven installed.

Installation instructions for Maven 1.0.2 are on the maven site

--PeterHamlen

I have no problem using this tutorial .. it work fine... but with the 3.2 version of torque.... the Maven 1 plugin for the version 3.3 (that said in the last tutorial tutorial its sipose to be ) it's not in the ibiblio maven repository ... --MatiasGel


Trying to download the torque plugin always failed with missing artifacs from ibiblio.org repository, it always returned http 301 status code (moved permanently). So doing some investigations on ibiblio I found that they are moving some content to mirrors.ibiblio.org. To solve this I created the ${user.home}/build.properties file with this line on it:

maven.repo.remote=http://mirrors.ibiblio.org/pub/mirrors/maven

After that all the artifac dependencies downloaded just fine.

In addition, if you want to use Torque 3.3, it is not available on the ibiblio repository, but the 3.3RC1 is there, I haven't used torque since 3.2 so I will go with the 3.3RC1 this time.

--ErnestoCelis

TutorialUserCommentsStep1 (last edited 2009-09-20 23:04:13 by localhost)