homebeaver / SwingSet

try to complete SwingSet3 org.swinglabs.swingx jars 1.6.6 for java 8 and openjdk 17 (Temurin)
GNU Lesser General Public License v2.1
0 stars 0 forks source link

mvn deploy SNAPSHOT #26

Closed homebeaver closed 2 years ago

homebeaver commented 2 years ago

zu https://github.com/homebeaver/SwingSet/issues/24 habe ich mit einem kleinem projekt (trident) einen Versich gemacht

Entweder habe ich hier einen Fehler:

      <!-- see https://central.sonatype.org/publish/publish-maven/#distribution-management-and-authentication -->
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <version>1.6.13</version>
        <extensions>true</extensions>
        <configuration>
          <serverId>ossrh</serverId>
          <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
          <autoReleaseAfterClose>true</autoReleaseAfterClose>
        </configuration>
      </plugin>

oder es geht nicht mit -SNAPSHOT

Ohne -SNAPSHOT geht es etwas weiter. Aber brauche ich das plugin überhaupt?

[INFO]  * Remote staging into staging profile ID "XXXX"
[INFO]  * Created staging repository with ID "iogithubhomebeaver-1011".
[INFO]  * Staging repository at https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/iogithubhomebeaver-1011
[INFO]  * Uploading locally staged artifacts to profile io.github.homebeaver
[INFO] Uploading to : https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/iogithubhomebeaver-1011/io/github/homebeaver/trident/1.4.1/trident-1.4.1.pom
[INFO] Uploading to : https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/iogithubhomebeaver-1011/io/github/homebeaver/trident/1.4.1/trident-1.4.1.jar
[INFO] Uploaded to : https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/iogithubhomebeaver-1011/io/github/homebeaver/trident/1.4.1/trident-1.4.1.pom (4.8 kB at 2.5 kB/s)
[ERROR] Remote staging finished with a failure: Failed to deploy artifacts: Could not transfer artifact io.github.homebeaver:trident:jar:1.4.1 
  from/to ossrh (https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/iogithubhomebeaver-1011): 
  Access denied to https://s01.oss.sonatype.org:443/service/local/staging/deployByRepositoryId/iogithubhomebeaver-1011/io/github/homebeaver/trident/1.4.1/trident-1.4.1.jar. 
  Error code 401, 

-SNAPSHOT funktionieren nur auf eingenen servern, nicht auf dem public sonatype

und sehe mich auf dem sonatype server um

Event: Failed: Sources Validation Wednesday, July 20, 2022 21:58:13 MS (GMT+0200) typeId sources-staging failureMessage Missing: no main jar artifact found in folder '/io/github/homebeaver/trident/1.4.1'


Event: Failed: Javadoc Validation Wednesday, July 20, 2022 21:58:13 MS (GMT+0200) typeId javadoc-staging failureMessage Missing: no main jar artifact found in folder '/io/github/homebeaver/trident/1.4.1'


Event: Failed: Signature Validation Wednesday, July 20, 2022 21:58:15 MS (GMT+0200) typeId signature-staging failureMessage Missing Signature: '/io/github/homebeaver/trident/1.4.1/trident-1.4.1.pom.asc' does not exist for 'trident-1.4.1.pom'.

homebeaver commented 2 years ago

Nach diesen Änderungen ist v1.4.02 released.

homebeaver commented 2 years ago

mvn clean deploy für 1.5.00-SNAPSHOT ohne Error code 401

homebeaver commented 2 years ago

jetzt habe ich 1.5.1 released at sonatype ossrh