This does not always work as some plugins seem to ignore it, however this combined with some preGoals that copy the lib into the repository proper ensure it always works. I typically keep my libs that have no repository in src/libs and copy them from there.
- Brill Pappin
Craig Gaffney wrote:
G'Day Dion, Here is the "screen print"
### Start of Command Line sample ### C:\projects\apache\jakarta-turbine-torque>maven site:generate __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc3
Attempting to download jdbc-2.0.jar. WARNING: Failed to download jdbc-2.0.jar. Attempting to download jndi-1.2.1.jar. WARNING: Failed to download jndi-1.2.1.jar. The build cannot continue because of the following unsatisfied dependencies:
jdbc-2.0.jar (try downloading from http://java.sun.com/products/jdbc/download.ht ml#spec) jndi-1.2.1.jar (try downloading from http://java.sun.com/products/jndi/)
Total time: 3 seconds Finished at: Tue Jun 22 14:56:39 GMT+10:00 2004
C:\projects\apache\jakarta-turbine-torque> ### End of Command Line sample ###
Thanks again for you help,
Craig Gaffney PC Applications Developer Rinstrum Pty Ltd (formerly Ranger Instruments) 41 Success St, Acacia Ridge Qld 4110 Australia Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 Email: [EMAIL PROTECTED] Web: www.rinstrum.com
-----Original Message-----
From: Dion Gillard [mailto:[EMAIL PROTECTED] Sent: Tuesday, 22 June 2004 3:24 PM
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Manually downloading JAR files
What's the actual error message?
On Tue, 22 Jun 2004 15:05:26 +1000, Craig Gaffney <[EMAIL PROTECTED]>
wrote:
G'Day everyone,
The saga continues....
There are two different problems I have right now relating to the current issue. But lets go one at a time.
I have downloaded the jndi files from sun (jndi-1_2_1.zip). Within is jndi.jar. I copied this file to the rep/jndi/jars directory initially as jndi.jar. Then did a maven site:generate expecting to see
only one failed dependency, the jdbc jar file. I got both again. That's when I noticed that it was looking for jndi-1.2.1.jar!<url>http://java.sun.com/products/jdbc/download.html#spec</url>
Not a big problem. I renamed the file to jndi-1.2.1.jar and maven site:generate. No change in the dependencies error message.
Summary
Copied file to repo/jndi/jars/jndi.jar
First attempt with maven site:generate & failed dependency checks
renamed to repo/jndi/jars/jndi-1.2.1.jar
Second attempt with maven site:generate & failed dependency checks
Does maven do some other checking that I am not aware of? Or have I missed something simple again?
Thanks in advance,
Craig Gaffney PC Applications Developer Rinstrum Pty Ltd (formerly Ranger Instruments) 41 Success St, Acacia Ridge Qld 4110 Australia Ph: +61 7 3216 7166 Fax: +61 7 3216 6211 Email: [EMAIL PROTECTED] Web: www.rinstrum.com
-----Original Message----- From: Dion Gillard [mailto:[EMAIL PROTECTED] Sent: Tuesday, 22 June 2004 1:22 PM To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Manually downloading JAR files
On Tue, 22 Jun 2004 12:25:13 +1000, Craig Gaffney <[EMAIL PROTECTED]>
wrote:
G'Day Dion,
Here's the relevant section of the project.xml file within the
Apache Torque download I am using for my first maven experiment, which
is actually suggested on the Maven - Using Maven page.
<dependency> <id>jdbc</id> <version>2.0</version>
</dependency>
this goes in repo/jdbc/jars/jdbc-2.0.jar
<dependency>
<id>jndi</id>
<version>1.2.1</version>
<url>http://java.sun.com/products/jndi/</url>
</dependency>
This goes in repo/jndi/jars/jndi-1.2.1.jar
So, how would I determine where to place the files if there isid == groupId:artifactId. If id is the only thing specified then groupId = id and artifactId = id.
no <groupid> tag?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________ NOD32 1.792 (20040622) Information __________
This message was checked by NOD32 Antivirus System. http://www.nod32.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
__________ NOD32 1.792 (20040622) Information __________
This message was checked by NOD32 Antivirus System. http://www.nod32.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
"Any sufficiently advanced magic is indistinguishable from technology."
- Arthur C Anticlarke
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
