Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Can't push to artifactory #73

Closed
mherb63 opened this issue Sep 8, 2017 · 9 comments
Closed

Can't push to artifactory #73

mherb63 opened this issue Sep 8, 2017 · 9 comments

Comments

@mherb63
Copy link

mherb63 commented Sep 8, 2017

I can't push my image up to artifactory even though it works with a manual docker push

I know similar issues have been reported with the config.json and OSX.

Can you please release 1.3.6 so I can use maven settings.xml instead via your new <useMavenSettingsForAuth> tag?

Thanks!

@htplbc
Copy link

htplbc commented Sep 12, 2017

@mherb63 I'm using Artifactory with 1.3.3 as a workaround. 1.3.4 and 1.3.5 do not work.

@wangzw
Copy link

wangzw commented Sep 13, 2017

Please release 1.3.6 for useMavenSettingsForAuth feature.

@mattnworb
Copy link
Member

Hey, I've just now released v1.3.6, it might take some time for the artifacts to be available in Maven Central.

@mherb63
Copy link
Author

mherb63 commented Sep 13, 2017

awesome, thanks Matt!

@mattnworb
Copy link
Member

For some reason the push to maven central / sonatype nexus timed out, I'll try to redo that now

@mattnworb
Copy link
Member

...and now the artifacts for 1.3.6 should truly be on their way to Maven Central.

@mherb63
Copy link
Author

mherb63 commented Sep 13, 2017

still don't see it up there Matt, and the README.md on the main page still refers to 1.3.5.

No rush on this, just providing feedback.

Thanks!

@mattnworb
Copy link
Member

@mberb63 that is my fault - I forgot to invoke maven with the right release profile.

Should be on its way now:

[INFO] --- nexus-staging-maven-plugin:1.6.3:deploy (injected-nexus-deploy) @ dockerfile-maven-plugin ---
[INFO] Performing local staging (local stagingDirectory="/Users/mattbrown/code/dockerfile-maven/target/nexus-staging/staging")...
[INFO]  + Using server credentials "ossrh" from Maven settings.
[INFO]  * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.5-02 and edition "Professional"
[INFO]  * Using staging profile ID "fb6bedb0ccb27" (matched by Nexus).
[INFO] Installing /Users/mattbrown/code/dockerfile-maven/plugin/target/dockerfile-maven-plugin-1.3.6.jar to /Users/mattbrown/code/dockerfile-maven/target/nexus-staging/staging/fb6bedb0ccb27/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.jar
[INFO] Installing /Users/mattbrown/code/dockerfile-maven/plugin/pom.xml to /Users/mattbrown/code/dockerfile-maven/target/nexus-staging/staging/fb6bedb0ccb27/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.pom
[INFO] Installing /Users/mattbrown/code/dockerfile-maven/plugin/target/dockerfile-maven-plugin-1.3.6.jar.asc to /Users/mattbrown/code/dockerfile-maven/target/nexus-staging/staging/fb6bedb0ccb27/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.jar.asc
[INFO] Installing /Users/mattbrown/code/dockerfile-maven/plugin/target/dockerfile-maven-plugin-1.3.6.pom.asc to /Users/mattbrown/code/dockerfile-maven/target/nexus-staging/staging/fb6bedb0ccb27/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.pom.asc
[INFO] Performing remote staging...
[INFO]
[INFO]  * Remote staging into staging profile ID "fb6bedb0ccb27"
[INFO]  * Created staging repository with ID "comspotify-2395".
[INFO]  * Uploading locally staged artifacts to profile com.spotify
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven/1.3.6/dockerfile-maven-1.3.6.pom
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven/1.3.6/dockerfile-maven-1.3.6.pom (2.1 kB at 7.2 kB/s)
Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven/maven-metadata.xml
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven/maven-metadata.xml
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven/maven-metadata.xml (307 B at 2.3 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven/1.3.6/dockerfile-maven-1.3.6.pom.asc
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven/1.3.6/dockerfile-maven-1.3.6.pom.asc (488 B at 7.7 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/1.3.6/dockerfile-maven-extension-1.3.6.jar
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/1.3.6/dockerfile-maven-extension-1.3.6.jar (2.6 kB at 21 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/1.3.6/dockerfile-maven-extension-1.3.6.pom
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/1.3.6/dockerfile-maven-extension-1.3.6.pom (605 B at 5.2 kB/s)
Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/maven-metadata.xml
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/maven-metadata.xml
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/maven-metadata.xml (317 B at 2.4 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/1.3.6/dockerfile-maven-extension-1.3.6.jar.asc
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/1.3.6/dockerfile-maven-extension-1.3.6.jar.asc (488 B at 10 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.pom.asc
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.pom.asc (488 B at 9.4 kB/s)
Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/maven-metadata.xml
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/maven-metadata.xml
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/maven-metadata.xml (314 B at 2.2 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.jar
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.jar (35 kB at 207 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.pom
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.pom (5.1 kB at 41 kB/s)
Downloading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/maven-metadata.xml
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/maven-metadata.xml
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/maven-metadata.xml (246 B at 1.6 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/1.3.6/dockerfile-maven-extension-1.3.6.pom.asc
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-extension/1.3.6/dockerfile-maven-extension-1.3.6.pom.asc (488 B at 14 kB/s)
Uploading: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.jar.asc
Uploaded: https://oss.sonatype.org:443/service/local/staging/deployByRepositoryId/comspotify-2395/com/spotify/dockerfile-maven-plugin/1.3.6/dockerfile-maven-plugin-1.3.6.jar.asc (488 B at 13 kB/s)
[INFO]  * Upload of locally staged artifacts finished.
[INFO]  * Closing staging repository with ID "comspotify-2395".

Waiting for operation to complete..........

[INFO] Remote staged 1 repositories, finished with success.
[INFO] Remote staging repositories are being released...

Waiting for operation to complete..............

[INFO] Remote staging repositories released.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Dockerfile Maven Support ........................... SUCCESS [ 10.362 s]
[INFO] Dockerfile Maven Extension ......................... SUCCESS [  9.326 s]
[INFO] Dockerfile Maven Plugin ............................ SUCCESS [01:43 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:04 min
[INFO] Finished at: 2017-09-14T09:29:04-04:00
[INFO] Final Memory: 61M/753M
[INFO] ------------------------------------------------------------------------

@mherb63
Copy link
Author

mherb63 commented Sep 15, 2017

I can confirm that 1.3.6 works and is a great work-around for the issues dealing with pushing to artifactory.

Thank you @mattnworb

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants