Today I've been told about maven release plugin which is recommended tool for deploying releases to maven depo.
This knowledge brings to life some new crucial questions. Don't get me wrong, I'm thoroughly reading documentation and heavily experimenting (as much as it possible to experiment with production release code) with settings, but nevertheless failing to succeed.
So, the question is - how can I tell mvn release:prepare
to commit all that needed to be committed under different user.
Here is my config:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.2.2</version>
<configuration>
<username>releasebot</username>
</configuration>
</plugin>
Everything works pretty well - I'm asked to enter releasebot's password three times as expected, build is successful, but nevertheless, as I can see, from git log
all these commits belong to my user, not the releasebot.