Use a repository manager such as artifactory or archiva instead, and
let it download those dependencies for you. Or you can upload an
existing (local) repository to artifactory to seed the cache.

Martijn

On Wed, Jul 16, 2008 at 6:19 PM, Fisher, Jonathan
<[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I've searched the mailing list, and I don't believe this has been asked.
> We have a company wide maven repository.  We deploy our internal
> projects to this server, and we cache their dependencies (hibernate,
> spring, etc) there to speed up the build process (and reduce the
> bandwidth bill from accessing maven central all the time).
>
> Is there an efficient way to deploy all the dependencies in a project's
> pom to the company repository? I don't have the desire to do this
> anymore:
>
> mvn deploy:deploy -file hibernatejarforexample.jar
> -DgroupId=forexample.org.hibernate
> -DartifactId=hibernate
> -Dversion=3.2.6.ga
> -Dfile=path-to-hibernate-for-example-pom.xml
> -Dpackaging=pom
> -DrepositoryId=MycompanysInternalRepoId
> -Durl=http://internalrepo
>
> ...for each individual version of our 20 dependencies (junit, spring-*,
> hibernate, ect). Any help or suggestions to improve our process would be
> appreciated.
>
> Thank you,
>
> Jonathan Fisher
> Software Developer
> Argus Health Systems
> Ext. 39530 Bus. 816-843-9530
>
>
> PRIVILEGED AND CONFIDENTIAL
> This email transmission contains privileged and confidential information 
> intended only for the use of the individual or entity named above.  If the 
> reader of the email is not the intended recipient or the employee or agent 
> responsible for delivering it to the intended recipient, you are hereby 
> notified that any use, dissemination or copying of this email transmission is 
> strictly prohibited by the sender.  If you have received this transmission in 
> error, please delete the email and immediately notify the sender via the 
> email return address or mailto:[EMAIL PROTECTED]  Thank you.
>
>
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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

Reply via email to