Re: overriding version of dependent library

2007-04-10 Thread oching
You could try  in your hiberrnate dependency so as not to
download the 1.0.1B jta jar it dependes on, and leave the dependency that
uses the jta 1.1 version as is. :)

You can check out this link http://maven.apache.org/pom.html for more info.

Thanks,
Deng

> Hi all,
>
> How can I override version number of a dependent library defined in my
> pom.xml file? I use org.hibernate:hibernate:jar:3.2.2.ga which depends
> on javax.transaction:jta:jar:1.0.1B while I'd like to use jta-1.1.jar
> (because it's needed elsewhere). How can I force a dependency to stop
> complaining about lack of older jta version and use a new one?
>
> Any help will be greatly appreciated, thanks in advance,
> Wojtek
>
> --
> Nawet 50MB w jednym mailu >>> http://link.interia.pl/f19e7
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> !DSPAM:602,461b66bd276271894314596!
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Newbie Question about repository access protocols

2006-10-23 Thread oching

Hi Aaron,

You can use the maven-deploy-plugin to write to your repository using SSH
for Maven 2.
You can refer to these docs for more info:
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html
http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html 

I'm not sure if the site is updated though. If you want to get the latest
docs, you can checkout the deploy plugin from here:
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-deploy-plugin
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-deploy-plugin 
and execute "mvn site" to generate the plugin site.

Hope this helps! :-)

Thanks,
Deng 



Aaron Metzger wrote:
> 
> 
> I am evaluating Maven 2 VS Ivy and would prefer to adopt Maven 2 as a 
> complete build management system but have one hang up question.
> 
> I must set up a local secured repository for a portion of our software.
> The majority of docs lead me to believe that I can publish to a 
> repository with SCP but can only read from the repository with HTTPS or 
> HTTP.  Is that true?
> 
> In the Wagon docs I see mention of SSH and SCP but it says that the use 
> of SSH to read from the repository is untested.
> 
> We have an existing SSH public key infrastructure in place and would 
> like to use the same SSH transport users and keys for both reading and 
> writing our Maven repository (and SVN access to) and don't want to have 
> to manage a separate set of users/passwords/keys for HTTPS.
> 
> Can someone point me to the docs that show how to use SSH/SCP for all 
> things Maven?
> 
> Thanks in advance,
> Aaron
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Newbie-Question-about-repository-access-protocols-tf2482671.html#a6949273
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]