In Maven how can I recursively build -SNAPSHOT dependencies present in the filesystem but outside the reactor?
-
I have two projects as follows, in neighbouring directories on the filesystem: project_a (-SNAPSHOT) project_b (-SNAPSHOT, depends on project_a) I'd like to build project_b and for Maven to discover that project_a exists on the filesystem and thus build it rather than look in the local repo for its artifact. I could build these within an aggregator and use the reactor to select project_b i.e. mvn --projects project_b [goal] However, this is problematic because this two-project example is a simplification of my real build, which consists of dozens of projects, and I don't want to have to maintain an aggregator project that lists all of them. I only want to recursively build -SNAPSHOT dependencies Is there a neat way I could get Maven to perform a recursive build that looks on the filesystem to find -SNAPSHOT dependency projects and builds them?
-
Answer:
I am not aware of a way to do that with maven directly.
Dan Dudley at Quora Visit the source
Related Q & A:
- How can I display older custom post outside the loop in Wordpress?Best solution by Quora
- How can I sue someone living outside the U.S. that bought a business from me in Florida?Best solution by Yahoo! Answers
- How can I advertise my photography biz online and outside the internet?Best solution by wikihow.com
- How can I get research experience outside the college setting?Best solution by Stack Overflow
- How can I professionally present my graphic design samples?Best solution by answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.