Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Is it possible to have one maven project calling another maven project?

Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
  I am new to maven, and I just created two maven projects in Eclipse Mars. One maven project is for natural language processing , clustering documents and such. Another maven Maven project is for displaying the results from my NLP maven project.
Since I am new to Maven, I'd like to know if my Spring MVC maven project could call my maven NLP project ? If it does, then could you please explain to my how you are about doing that?
Many thanks in advance,
author & internet detective
Posts: 39997
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "call"? If you mean call an API, then yes. You add one project as a dependency to the other. If you mean automatically build the other, it depends. You could use a build server like Jenkins that builds them together. Or you could create a script that calls mvn install on both.

When evil is afoot and you don't have any arms you gotta be hip and do the legwork, but always kick some ... tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic