Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ee4j-build] First working release job

Lukas Jungmann wrote on 10/05/2018 05:39 AM:
> On 10/4/18 11:32 PM, Bill Shannon wrote:
> [..]
>> What's the difference between "install:install" and "install"?
>> Ditto "deploy:deploy"?
> 
> in short:
> 
> install:install - executes 'install' goal of 'install' plugin and nothing else
> install - executes install life cycle phase and all goals bound to it in pom
> (..so this includes validate, compile, package..)
> 
>>
>> Aren't some of those Maven steps implied by install or deploy?
> 
> they are but 'gpg:sign install:install' and 'gpg:sign install' lead to different
> result, where the former command results in valid deployment to mvn central repo
> and the latter one to invalid deployment due to invalid signature files (the
> latter will repackage the jar so the signature created earlier by gpg:sign
> becomes invalid)

Would "install gpg:sign deploy" not do what you want?

Isn't signing part of the normal/default "deploy" when deploy a non-SNAPSHOT
artifact?  I never needed to specify "gpg:sign" when deploying to
maven.java.net.


Back to the top