Re: Possible bug in Maven-core

2017-02-14 Thread Robert Scholte
Hi Peter, I've committed the fix based on your test. In fact with Maven3 things are much simpler. thanks, Robert On Tue, 14 Feb 2017 12:54:31 +0100, Petar Tahchiev wrote: Hi Robert, this: AFAIK we're never creating a new ProjectBuildingRequest, we should

Re: Possible bug in Maven-core

2017-02-14 Thread Petar Tahchiev
Hi Robert, this: AFAIK we're never creating a new ProjectBuildingRequest, we should be using the original or a clone of it, so the suggestion to set both types of properties seems weird. is not true:

Re: Possible bug in Maven-core

2017-02-13 Thread Robert Scholte
Hi Peter, I would consider this as a Maven Archetype issue. Regarding the properties, the MavenSession has a deprecated method getExecutionProperties(), which is split up into getSystemProperties() and getUserProperties(). When using the Invoker it doesn't make sense to add

Possible bug in Maven-core

2017-02-13 Thread Petar Tahchiev
Hi guys, I'm writing here to ask what I have found is a bug or not. I have a project and I want to create an archetype out of it. So I use the following command: mvn archetype:create-from-project -Darchetype.properties=src/main/resources/archetype.properties It used to work fine with