0
mavenのデプロイメントから401 Unauthorized
例外が発生します。ここにpomファイルの関連するセクションがあります。nexus-staging-maven-plugin 401 Unauthorized
<!-- pom.xml -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>[version]</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<nexusUrl>[your-nexus-base-url]</nexusUrl>
<serverId>[your-nexus-base-id]</serverId>
<skipStaging>true</skipStaging>
</configuration>
</plugin>
<distributionManagement>
<snapshotRepository>
<id>nexus-snapshots</id>
<url>[your-nexus-base-url]/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>nexus-releases</id>
<url>[your-nexus-base-url]/content/repositories/releases/</url>
</repository>
</distributionManagement>
<!-- settings.xml -->
<servers>
<server>
<id>[your-nexus-base-id]</id>
<username>[username]</username>
<password>[encrypted-password]</password>
</server>
</servers>