Re: Locking down dependency versions...

2015-11-12 Thread Jörg Schaible
Kevin Burton wrote: > Just regular dependency versions. > > So if we're using 1.0.1 of library A I don't want adding adding library B > to transitively change our dependency on library A... > > This has happened to us before and caused problems. Use a shared parent where you define all dependen

Re: Locking down dependency versions...

2015-11-12 Thread Jeff Jensen
I suggest reviewing the enforcer plugin [0] to see if any of its rules can help you. Specifically, I wonder about [1] and [2]. I like to use many of these rules to help keep a resilient build. The main hassle is some dependencies "bleed", but usually just need to exclude their transitives or wor

Re: Locking down dependency versions...

2015-11-12 Thread Karl Heinz Marbaise
Hi Kevin, On 11/12/15 11:00 PM, Kevin Burton wrote: Just regular dependency versions. So if we're using 1.0.1 of library A I don't want adding adding library B to transitively change our dependency on library A... If you have a direct dependency to library A in version 1.0.1 than adding an o

Re: Locking down dependency versions...

2015-11-12 Thread Kevin Burton
Just regular dependency versions. So if we're using 1.0.1 of library A I don't want adding adding library B to transitively change our dependency on library A... This has happened to us before and caused problems. On Thu, Nov 12, 2015 at 1:40 PM, Karl Heinz Marbaise wrote: > Hi Kevin, > > On 1

Re: Locking down dependency versions...

2015-11-12 Thread Karl Heinz Marbaise
Hi Kevin, On 11/12/15 10:22 PM, Kevin Burton wrote: Is there a maven module that can lock down dependency versions? Are you talking about SNAPSHOT's or something different? I have a custom / in house script we wrote that writes a .dependencies file with the jar dependencies. If we commit w

Re: Setting a source directory convention in a language plugin?

2015-11-12 Thread org.apache.maven.user
On 2015-11-12T21:43:12 +0100 Anders Hammar wrote: > For example: > > @Parameter( defaultValue = "${project.basedir}/src/main/dsl" ) > private File dslDirectory; > Ah, thank you. I wasn't aware it was going to be that simple... M ---

Locking down dependency versions...

2015-11-12 Thread Kevin Burton
Is there a maven module that can lock down dependency versions? I have a custom / in house script we wrote that writes a .dependencies file with the jar dependencies. If we commit without updating it, CI will fail with an error because you didn't manually approve the change by regenerating the .d

mvn printing 'Running TestSuite' instead of the names of individual tests

2015-11-12 Thread Kevin Burton
I can't for the life of me figure this one out. We did a module refactor recently and didn't change any dependencies. Now instead of seeing something like: Running com.spinn3r.artemis.rest.RESTServiceReferencesTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.58 sec - > in

Re: Setting a source directory convention in a language plugin?

2015-11-12 Thread Anders Hammar
For example: @Parameter( defaultValue = "${project.basedir}/src/main/dsl" ) private File dslDirectory; /Anders On Thu, Nov 12, 2015 at 9:24 PM, wrote: > Hello. > > I'm developing a small compiler that generates Java source code from > files written in a domain specific language. I'm in the pr

Setting a source directory convention in a language plugin?

2015-11-12 Thread org.apache.maven.user
Hello. I'm developing a small compiler that generates Java source code from files written in a domain specific language. I'm in the process of writing a Maven plugin so that this can happen as part of an ordinary Maven build, but I'm unable to determine how I'm supposed to establish the convention