Nexus APT プラグインを使用しようとしていますが、それにアーティファクトを送信するには、PUT ではなく POST する必要があります。デフォルトの Wagon 実装は HTTP Put を望んでいるようです。これは、405 エラーが返されるためです。
wagon に PUT ではなく POST を指示する方法はありますか? 私はドキュメントでそれを見つけることができません。
ありがとう!
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<executions>
<execution>
<id>upload-deb-to-nexus</id>
<phase>deploy</phase>
<goals>
<goal>upload-single</goal>
</goals>
<configuration>
<serverId>xxx-nexus-apt</serverId>
<fromFile>${project.build.directory}/${jdeb.name}</fromFile>
<url>https://xxx.xxx.com/repository/xxx-nexus-apt</url>
</configuration>
</execution>
</executions>
</plugin>