Re: Inject xml into the POM for build specific elements.

2017-06-05 Thread George Kopf
Thanks! We're using Maven 3. I just haven't refactored the pom yet. On Mon, Jun 5, 2017 at 8:47 AM, Karl Heinz Marbaise wrote: > Hi George, > > based on the comments in your example... > > Are you really using Maven 2 ? Please remove it...cause it's long end of > life... >

Re: Inject xml into the POM for build specific elements.

2017-06-05 Thread Karl Heinz Marbaise
Hi George, based on the comments in your example... Are you really using Maven 2 ? Please remove it...cause it's long end of life... Furthermore the repositories should be defined in users settings.xml and not inside the pom file...The distributionManagement should be done in a corporate

Re: Inject xml into the POM for build specific elements.

2017-06-05 Thread George Kopf
Thank you for your help. I figured it out using the tiles-maven-plugin. After fighting through the documentation I put together a simple tile and pulled it into my pom. To clarify what the docs are saying: 1. The tile will be called tile.xml, will be installed in your maven repository along

Re: Inject xml into the POM for build specific elements.

2017-05-30 Thread Karl Heinz Marbaise
Hi, On 30/05/17 16:44, George Kopf wrote: I apologize if this topic has already been discussed. I searched all over the web and the archives and didn't find anything, but I can't believe that I'm the only person with this request. No need to apologize for asking... I'm running the CI/CD

Re: Inject xml into the POM for build specific elements.

2017-05-30 Thread Jeff Jensen
I think a BOM POM will work for your situation. The developers add your CI POM as a dependency in dependencyManagement using import scope: ci.pom.group ci.pom ${ci.pom.version} pom import Read about the import scope here:

Inject xml into the POM for build specific elements.

2017-05-30 Thread George Kopf
I apologize if this topic has already been discussed. I searched all over the web and the archives and didn't find anything, but I can't believe that I'm the only person with this request. I'm running the CI/CD pipeline for several java projects. We're using Git, Maven, Jenkins, Sonar, and