Из-за проблем с промежуточным репозиторием Nexus мне нужно повторно запустить mvn release:perform
, в идеале, без создания нового тега Git, но повторно используя тот, который был создан при первом запуске.
Я пробовал
mvn release:perform
-DconnectionUrl=scm:git:[email protected]:ops4j/org.ops4j.pax.exam2.git
-Dtag=exam-reactor-3.3.0
и
mvn release:perform
-DconnectionUrl=scm:git:[email protected]:ops4j/org.ops4j.pax.exam2.git
-Dscm.tag=exam-reactor-3.3.0
но в обоих случаях клон терпит неудачу, потому что параметр tag/branch не перенаправлен на Git:
[INFO] --- maven-release-plugin:2.4:perform (default-cli) @ exam-reactor ---
[INFO] Checking out the project to perform the release ...
[INFO] Executing: /bin/sh -c cd /home/hwellmann/work/org.ops4j.pax.exam2/target && git clone --branch [email protected]:ops4j/org.ops4j.pax.exam2.git /home/hwellmann/work/org.ops4j.pax.exam2/target/checkout
Примечание: release.properties
и другие вещи, созданные mvn release:prepare
, больше не доступны.