Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: maven.java.net issues
    • Labels:
      None
    • Environment:

      OS X

      Description

      I have been assigned to address issue https://java.net/jira/browse/GLASSFISH-20839. I have identified a fix for the problem and need to release changes to the GMBAL project https://java.net/projects/gmbal/pages/Home. I have never done a release on this project, and when I attempt to push to the staging repository I get a "not authenticated" error.

      I have successfully used the same credentials to release two other java.net projects. Is there some authorization I need done to permit this? Or is there some other way that I can verify access? I can use the credentials in my ~/.m2/settings.xml to log in to maven.java.net, and as mentioned have been able to release other projects there.

        Activity

        Hide
        russgold added a comment -

        Additional information:

        Group: org.glassfish.pfl
        Artifact: pfl
        java.net id: russgold

        Show
        russgold added a comment - Additional information: Group: org.glassfish.pfl Artifact: pfl java.net id: russgold
        Hide
        jorlina added a comment -

        Configuration has been prepared, now you can:

        Show
        jorlina added a comment - Configuration has been prepared, now you can: Deploy snapshot artifacts into repository https://maven.java.net/content/repositories/snapshots Deploy release artifacts into the staging repository https://maven.java.net/service/local/staging/deploy/maven2 Promote staged artifacts into repository 'Releases' Download snapshot and release artifacts from group https://maven.java.net/content/groups/public Download snapshot, release and staged artifacts from staging group https://maven.java.net/content/groups/staging
        Hide
        russgold added a comment -

        Thanks. Unfortunately, I seem to be missing something still. How do I debug this?:

        Uploading: https://maven.java.net/service/local/staging/deploy/maven2/org/glassfish/pfl/pfl/4.0.0-b004/pfl-4.0.0-b004.pom
        [INFO] ------------------------------------------------------------------------
        [INFO] Reactor Summary:
        [INFO]
        [INFO] pfl ............................................... FAILURE [7.015s]
        [INFO] PFL Basic ......................................... SKIPPED
        [INFO] PFL Basic Tools ................................... SKIPPED
        [INFO] PFL ASM ........................................... SKIPPED
        [INFO] PFL Dynamic ....................................... SKIPPED
        [INFO] PFL TF ............................................ SKIPPED
        [INFO] PFL TF TOOLS ...................................... SKIPPED
        [INFO] PFL Test .......................................... SKIPPED
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 7.784s
        [INFO] Finished at: Fri Dec 27 09:16:03 EST 2013
        [INFO] Final Memory: 9M/81M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project pfl: Failed to deploy artifacts: Could not transfer artifact org.glassfish.pfl:pfl:pom:4.0.0-b004 from/to jvnet-nexus-staging (https://maven.java.net/service/local/staging/deploy/maven2/): peer not authenticated -> [Help 1]

        My ~/.m2/settings.xml contains the entry:

        <server>
        <id>jvnet-nexus-staging</id>
        <username>russgold</username>
        <password>**my password which works when I log into maven.java.net **</password>
        </server>

        Show
        russgold added a comment - Thanks. Unfortunately, I seem to be missing something still. How do I debug this?: Uploading: https://maven.java.net/service/local/staging/deploy/maven2/org/glassfish/pfl/pfl/4.0.0-b004/pfl-4.0.0-b004.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] pfl ............................................... FAILURE [7.015s] [INFO] PFL Basic ......................................... SKIPPED [INFO] PFL Basic Tools ................................... SKIPPED [INFO] PFL ASM ........................................... SKIPPED [INFO] PFL Dynamic ....................................... SKIPPED [INFO] PFL TF ............................................ SKIPPED [INFO] PFL TF TOOLS ...................................... SKIPPED [INFO] PFL Test .......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.784s [INFO] Finished at: Fri Dec 27 09:16:03 EST 2013 [INFO] Final Memory: 9M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project pfl: Failed to deploy artifacts: Could not transfer artifact org.glassfish.pfl:pfl:pom:4.0.0-b004 from/to jvnet-nexus-staging ( https://maven.java.net/service/local/staging/deploy/maven2/): peer not authenticated -> [Help 1] My ~/.m2/settings.xml contains the entry: <server> <id>jvnet-nexus-staging</id> <username>russgold</username> <password>**my password which works when I log into maven.java.net **</password> </server>
        Hide
        russgold added a comment -

        OK, I have it working. I don't understand why, but it works if use JDK 7, but fails if I use JDK 6.

        Show
        russgold added a comment - OK, I have it working. I don't understand why, but it works if use JDK 7, but fails if I use JDK 6.

          People

          • Assignee:
            deruelle_jean
            Reporter:
            russgold
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: