由于 Nexus 暂存存储库存在问题,我需要重新运行mvn release:perform
,最好不要创建新的 Git 标签,而是重用第一次运行创建的标签。
我试过
mvn release:perform
-DconnectionUrl=scm:git:git@github.com:ops4j/org.ops4j.pax.exam2.git
-Dtag=exam-reactor-3.3.0
和
mvn release:perform
-DconnectionUrl=scm:git:git@github.com: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 git@github.com:ops4j/org.ops4j.pax.exam2.git /home/hwellmann/work/org.ops4j.pax.exam2/target/checkout
注意:release.properties
和其他创建的东西mvn release:prepare
不再可用。