----- Original Message ----- From: "Don Brown" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[email protected]>
Sent: Monday, August 29, 2005 10:01 PM
Subject: Maven remote repositories and SNAPSHOT (was New Validator 1.2.0-dev dependency)


Ok, it should all be setup. Unfortunately, it has the limitation of using my personal remote repository which no one else can modify. Does the nightly builds publish SNAPSHOT jars anywhere? That would be darn useful for us.

How to use SNAPSHOT:
1. Make the version in your project.xml "SNAPSHOT"
2. Publish the jar to a remote repository, in this case my "people.apache.org/~mrdon/repository" 3. Tell maven to also look in this new repository for jars by modifying project.properties. In this case, I added the following property:
maven.repo.remote=http://people.apache.org/~mrdon/repository/,http://www.ibiblio.org/maven/

To setup your own remote repository for Apache:
1. Ssh into your account at people.apache.org
2. Create a public_html directory if one doesn't exist
3. Create a public_html/repository then subdirectories for each project
4. Publish jars to your repository via scp. In this case, the following command worked well for me: scp target/commons-validator-1.2.0-dev.jar people.apache.org:public_html/repository/commons-validator/jars/commons-validator-SNAPSHOT.jar

HTH,

Don

Wendy Smoak wrote:

From: "Don Brown" <[EMAIL PROTECTED]>

Doh, you are right. I updated it with the correct one. Perhaps this should be made a SNAPSHOT so maven will always try to download the latest one?


Yes! And then teach me how, so I can do it for Standalone Tiles and the Shale build files. :)



---------------------------------------------------------------------
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]

Reply via email to