--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/2de64209-4112-4aab-a7cf-08cf65165ca1%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/5b6f777d-2b46-4486-a7c3-1ae8ed1c320f%40glists.sonatype.com.
Attached is an example project from the Nexus Best Practice class that does exactly that. One using json and another using xml file. And a script to call them. As well as another one to delete the repos again.
hth
Manfred
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/399715a2-5c69-43da-93be-79fb1539ecf8%40glists.sonatype.com.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
That command looks right now (btw, I had accidentally left "-X POST" off my sample in the Jira ticket, but I see you corrected that).What is the error in the nexus.log now?
On Fri, Apr 1, 2016 at 10:01 AM, 'Dan Steffen' via Nexus Users <nexus...@glists.sonatype.com> wrote:
My call at the moment:
curl -H "Content-Type:application/json" -d @/home/steffen/new_repo.json -X POST -u admin:admin123 http://localhost:8081/nexus/service/local/repositories
Am Freitag, 1. April 2016 17:01:00 UTC+2 schrieb Dan Steffen:nexus still try to parsed as xml. I use Nexus 2.12, maybe there is a different to Nexus 3?
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.