Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-18 Thread Stephane Nicoll
On Thu, Aug 18, 2016 at 5:24 PM, Curtis Rueden wrote: > Hi Stephane, > > > In fact, nowhere does it talk about what happens when dependencyManagement > comes in through both the parent and through imports. It does say, however: > I agree that both the doc and the code are missing a piece. I am n

Re: Create test jar during build without attaching

2016-08-18 Thread jieryn
Would src/test/resources be included in the src artifact? I suspect not. On Thu, Aug 18, 2016 at 9:47 PM, Christopher wrote: > If this were a personal project, I'd probably do that... but this is for an > ASF project, and I don't want to put us in a position where we are > releasing with binaries

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-18 Thread jieryn
Sorry I am so late to this party. I find that Apache Maven 3.4.0-SNAPSHOT (90f26c279af9738735be8f84f60dcf21b6244e24; 2016-07-22T11:23:04-04:00) prefers .mvn/maven.config options instead of specifically listed parameters. This is surprising to me. I expect the .mvn/maven.config options to be overri

Re: Create test jar during build without attaching

2016-08-18 Thread Christopher
If this were a personal project, I'd probably do that... but this is for an ASF project, and I don't want to put us in a position where we are releasing with binaries in the source artifact. On Thu, Aug 18, 2016 at 9:39 PM jieryn wrote: > Create the jar and then put it under src/test/resources/m

Re: Create test jar during build without attaching

2016-08-18 Thread jieryn
Create the jar and then put it under src/test/resources/my.jar and then refer to that my.jar in your testcase. It seems like an awful lot of trouble to dynamically create this test artifact, when you could just create it once and then add it to your repository. Yes, adding jars to your scm is gener

Create test jar during build without attaching

2016-08-18 Thread Christopher
Hi Maven Users list, What's the best way to create a jar during a build without attaching it? Currently, our pom is configured to use the maven-jar-plugin to create it, but that plugin attaches an artifact, which gets deployed. We don't want that. That doesn't seem to be configurable. We could c

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-18 Thread Curtis Rueden
Hi Stephane, > The problem is that "pom-whiz" extends from "pom-base". You have a > scenario where a "whiz" project extends from "pom-base" and then > import "pom-whiz". Said "pom-whiz", via inheritance, "imports" > "pom-base" again. Yep, you got it. > Independently on the issue described in thi

RE: Building Docker image works in subproject, not from aggregator

2016-08-18 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, August 17, 2016 11:46 AM > To: Maven Users List > Subject: RE: Building Docker image works in subproject, not from > aggregator > > > -Original Message- > > From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] O

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-18 Thread Stephane Nicoll
On Tue, Aug 16, 2016 at 11:14 PM, Curtis Rueden wrote: > Hi Stephane, > > Apologies up front for my long reply here. I divided into sections to help > break things up. > > > *== Expected behavior? Or a defect? ==* > > > if you expect the parent to override something you've defined > > in the chil

Re: Preleminary Maven 3.4.0-SNAPSHOT Testing (Take 3)

2016-08-18 Thread Stephane Nicoll
On Wed, Aug 17, 2016 at 10:16 PM, Curtis Rueden wrote: > Hi Christian & Stephane, > > Thanks for your replies. > > Christian Schulte wrote: > > I am thinking about introducing model version "4.1.0" in Maven 3.4. > > I like this idea. Thanks for putting it forward! > > One question: for POM hierar