Hello all...

Every day I am one step closer to decide to migrate to maven2, however I have 
a new question.
Suppose that I have a project X that depends on Y and Z. When I finish this 
project it is common to give the source code to the client. Usually, I deliver 
the source code, ant scripts and the necessary jars in order to build the 
application. If I switch to maven, I would probably deliver just the source 
code in the proper directory structure and pom. In this case what worries me 
is that in the future, dependency Y or Z could be unavailable for various 
reasons: repository is no longer available, a specific version of dependencies 
are difficult to obtain, etc.

So my question is: what can I do if I want to deliver give the source code and 
the dependencies jars?

Here are some of my ideas:
- Maintain a private repository with dependencies and use the deploy:deploy-
file goal to add dependencies to it.
Problem: in the love/hate relationship of client/developer companies, I think 
that the clients might argue that they do not want to depend on the developer 
company repository. Could be a repository in the client company.
- Deliver all jars and scripts to install them in the local repository. Seems 
very 'hackish' and not so 'mavenish'.

What is your experience with this situation?
Thanks for your attention

-- 
David Ojeda


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

Reply via email to