Re: Running integration tests against a signed jar

2017-05-30 Thread Gary Gregory
Hm, so I have two choices: - Change the POM so that the failsafe plugin runs in the test phase, which happens before the jar signing (that works BTW). - Change the code to repackage the IT tests and make public all that the IT tests need (I've not done that but I'll see what breaks) Thank you

Re: Running integration tests against a signed jar

2017-05-30 Thread Bernd Eckenfels
I think the maven way is not much concerned with package structure, however why not have a IT package? Do you have much need for package access in your ITs? For Unit tests sharing the packages can be helpful, but for IT I would expect it does not only need to be collocated, but it actually is

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: Running integration tests against a signed jar

2017-05-30 Thread Martin Gainty
From: Gary Gregory Sent: Monday, May 29, 2017 5:01 PM To: Maven Users List Subject: Running integration tests against a signed jar Hi All: I have a POM that builds a signed jar, so far so good. Unit tests run, no problem. When

dependency:tree without downloading binaries

2017-05-30 Thread Viktor Sadovnikov
Hello everyone, I need to collect information about dependencies (their GAV only) of a very large number of projects. Therefore I wrote a simple Maven plugin. It's is based on maven-dependency-plugin, but reports dependencies in a format, whihc I can use later. However applying this plugin to

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

Re: Work-around for antrun AttachArtifact not working in external Ant build file

2017-05-30 Thread Jörg Schaible
Hi Jürgen, Jürgen Weber wrote: > What is the recommended work-around for attaching artifacts created by > antrun? > > * forward target directory as variable to ant ? That helps if the created files should be removed in a normal "clean" phase. > * build-helper-maven-plugin attach-artifact ?