K
K
kirawa2016-09-19 13:43:56
Maven
kirawa, 2016-09-19 13:43:56

How to collect projects correctly?

Dear colleagues. We have several projects in ANT in our company. I'm slowly moving to Maven. One of the projects is used as a library, let's call it integrationbus, well, it constantly changes. In general, how to make sure that when building a project, always get the latest version of integrationbus. As I understand it, integrationbus needs to be packed into pom, and connected as a module. I don’t quite rummage in maven yet, is there probably some kind of plug-in for assembly? Help with advice, an example, and preferably a Russian-speaking good tutorial on maven

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2016-09-19
@kirawa

Option #1:
After the changes in integrationbus, run the mvn install command, which will build the project and install it in the local repository. And in projects using integrationbus, specify it as a dependency.
Create a parent project for which integrationbus and its dependent projects will be modules. Then the build of the parent project will build all the modules, which guarantees the freshness of the dependencies.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question