On Wed, 2020-09-09 at 11:23 +0200, Michael Osipov wrote: > So, let's go through: > > Am 2020-09-09 um 10:35 schrieb Oleg Kalnichevski: > > Hi Michael > > > > The latest Maven POM changes appear to have broken a number of > > things > > in the release process: > > > > 1. src and javadoc jars no longer get published with `mvn deploy` > > This is likely a matter of taste, but I have deliberately removed > their > generation with package phase > * because those are mostly required when release phase > * They duplicate the apache-release profile > * They add time to the build > > Do you still want them to be always generated? > > > 2. `mvn deploy -Prelease` no longer triggers artifact signing and > > publishing. > > This is not the process designed by the ASF. There is documentation > how > an ASF release should be staged/performed. [1], [2] > > You peform "mvn release:prepare relase:perform" and the apache- > parent > will do the rest. > > Have a look at Release Plugin config [3] which will trigger the > apache-release profile [4]. > It will create a release staging repo for you and will upload all > necessary artifacts along with the mandatory source-release.zip and > detached sigs + SHA-512 hashes. > > This is what I did for httpcomponents-parent. >
I figured that. Sadly that messed up RC and release tags. I had some really, really bad experience with the Maven release plug- in. I still would prefer my own release scripts. Oleg PS: The trouble was caused by `release` profile being called `apache- release` in org.apache:apache:23 > Please give it a try, > > Michael > > [1] https://infra.apache.org/publishing-maven-artifacts.html#dev-env > [2] http://www.apache.org/legal/release-policy.html > [3] > https://github.com/apache/maven-apache-parent/blob/master/pom.xml#L232-L241 > [4] > https://github.com/apache/maven-apache-parent/blob/master/pom.xml#L382-L494 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
