Plugin embedded configuration property configuration

2016-05-11 Thread Charles Honton
I'm creating a new plugin where i would like the to have "embedded" configuration. public abstract class MyAbstractMojo extends AbstractMojo { @Parameter private Embedded embedded; Where the ”embedded" configuration pojo has property injection with default values. @Named public

Re: Deploying independently versioned modules

2017-02-08 Thread Charles Honton
Take a look at maven exists plugin [https://chonton.github.io/exists-maven-plugin/0.0.2/ ]. This has goals to prevent deployment or installation of artifacts which already exist. > On Feb 5, 2017, at 5:38 AM, org.apache.maven.u...@io7m.com

Re: Don't overwrite existing artifact - how?

2016-11-28 Thread Charles Honton
As far as preventing overwrite of an existing remote artifact, you can use the exists-maven-plugin . (https://github.com/chonton/exists-maven-plugin ) This plugin will check for the existence of a

Re: Don't overwrite existing artifact - how?

2016-11-18 Thread Charles Honton
As far as preventing overwrite of an existing remote artifact, you can use the exists-maven-plugin . (https://github.com/chonton/exists-maven-plugin ) This plugin will check for the existence of a

Re: [Help] Force maven[-surefire] to run in parallel

2017-03-15 Thread Charles Honton
You should consider that if the project’s tests were not written with multi-threading in mind, they may fail. > On Mar 15, 2017, at 6:56 AM, Thomas Broyer wrote: > > Hi, > > On Wed, Mar 15, 2017 at 2:11 PM Luis Henrique de Souza Melo < > l...@cin.ufpe.br> wrote: > >> Hi,

Re: Maven password encryption by project

2017-03-17 Thread Charles Honton
It sounds as though you wish to share a credential set amount multiple users. This is an example of what the security community calls “a bad idea”. > On Mar 17, 2017, at 6:38 AM, Alix Lourme wrote: > > Dear community, > > I'm searching the best practice for password

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Charles Honton
To prevent SNAPSHOT churn you can use a plugin like exists-maven-plugin (https://chonton.github.io/exists-maven-plugin/0.0.2/plugin-info.html ) to prevent re-releasing unchanged artifacts. chas > On Apr 24, 2017, at 1:52

Re: Is there a way to make a mojo run after "deploy" completion?

2017-09-03 Thread Charles Honton
According to https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Plugins : "If more than one goal is bound to a particular phase, the order used is that those from the packaging

Re: Looking for recommendations how to best use Maven in a muti-stage Pipeline build to only deploy at the end

2018-02-14 Thread Charles Honton
If you have a multi-module project and the tests are run as part of the last module, you can use the deployAtEnd parameter to delay deploying of artifacts until the end of the build. chas > On Feb 14, 2018, at 7:15 PM, Eric Benzacar wrote: > > Robert, > > I think you