> -----Original Message-----
> From: Courtney, Craig [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 26, 2004 10:32 AM
> To: Maven Users List
> Subject: RE: Is there a way to separate maven's repository from my reposit
> ory?
> 
> It is prudent to pay attention to this for internal only software as well.

Good advice.

> 
> How do you disable the local repository?

Not sure.  More knowledgeable folks than me have already said there really
isn't one.

I just ran a dist:build on my project and no libraries were included in the
zip or tar.gz files.   I think one might be able to write a postGoal for
dist:build that jar'd the libraries referenced in your project.xml.  Maybe
then a separate remote repository wouldn't even have to be created.  

I also just commented out a dependency in my project.xml and tried to re-run
a clean then a dist:build.  The dist:build failed due to that dependency.
The means that the classpath for compilation, unit tests, etc are based on
the project.xml and not on everything that resides in the repository.  It
would seem that control over the dependencies in the project.xml = total
control over the libraries used for your build.


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

Reply via email to