Re: How to share the same modules between different profiles

2022-09-30 Thread Arnaud bourree
Hi, Your pom module inherit from your own pom parent which will inherit from sprint boot-starter. Regardes, Arnaud Le ven. 30 sept. 2022, 16:52, Thai Le a écrit : > Thank you, this makes sense to me now that I added the profiles to all the > pom of the modules. Most of our modules are inheri

Re: How to share the same modules between different profiles

2022-09-30 Thread Thai Le
Thank you, this makes sense to me now that I added the profiles to all the pom of the modules. Most of our modules are inherited from spring-boot-starter so it is not possible to add the profiles there. Thai Le On Fri, 30 Sept 2022 at 02:26, Arnaud bourree wrote: > Hi, > > Your pom agregator do

Re: How to share the same modules between different profiles

2022-09-30 Thread Thai Le
Here is my aggregator pom (taking out other 67 modules) http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.

Re: How to share the same modules between different profiles

2022-09-29 Thread Arnaud bourree
Hi, Your pom agregator doesn't need to be aware about testing profiles, its job is only agregating. The 70 poms should have a parent pom (bom) within your testing profile. Regardes, Arnaud Le jeu. 29 sept. 2022, 00:06, Delany a écrit : > Shouldn't matter. Please give full pom. > Delany > > On

Re: How to share the same modules between different profiles

2022-09-28 Thread Delany
Shouldn't matter. Please give full pom. Delany On Wed, 28 Sep 2022, 23:15 Thai Le, wrote: > Thanks for your input. That's the first thing I tried. Unfortunately, if I > do that none of the modules recognized the profiles. > > On Wed, Sep 28, 2022, 17:08 Delany wrote: > > > Why did you duplicate

Re: How to share the same modules between different profiles

2022-09-28 Thread Thai Le
Thanks for your input. That's the first thing I tried. Unfortunately, if I do that none of the modules recognized the profiles. On Wed, Sep 28, 2022, 17:08 Delany wrote: > Why did you duplicate modules in the profiles? Just leave them under > project. > Delany > > > On Wed, 28 Sep 2022, 21:32 Th

Re: How to share the same modules between different profiles

2022-09-28 Thread Delany
Why did you duplicate modules in the profiles? Just leave them under project. Delany On Wed, 28 Sep 2022, 21:32 Thai Le, wrote: > Hello, > > I have an aggregator pom with 70 modules to be built. > > 4.0.0 > company > packaging-pom > 1 > pom >70 modules listed here > > Recently

How to share the same modules between different profiles

2022-09-28 Thread Thai Le
Hello, I have an aggregator pom with 70 modules to be built. 4.0.0 company packaging-pom 1 pom 70 modules listed here Recently we are introducing pact testing into our build pipeline so I made 2 profiles. One is for running pact consumer test which excludes all the unit tests endin