私はmavenandroid -releaseアーキタイプを使用しています
release:prepareが成功した後、release:performを実行すると、次のエラーが発生します。
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project xxx: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter
しかし、私のpom.xmlには、次のものがあります。
<distributionManagement>
<repository>
<id>nexus-releases</id>
<name>RepositoryProxyRel</name>
<url>http://server:8081/nexus/content/repositories/releases/</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<name>RepositoryProxySnap</name>
<url>http://server:8081/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
誰かが私の構成の何が問題で、なぜこのエラーが発生するのか説明できますか?よろしくお願いします。