Actually, the command line tools for nexus do this.  I guess the only gotcha is 
that it works with staging, and staging is only valid with release deployments, 
not with snapshot.

Perhaps they can enhance the tool to do pseudo-staging for snapshots as well, 
with automatic promotion to the full snapshot repository.

*nudge nudge Sonatype*

-----Original Message-----
From: Max Spring [mailto:[email protected]] 
Sent: Tuesday, August 28, 2012 6:27 PM
To: [email protected]
Subject: alternative deploy strategy

To speed up my large Maven build I'm thinking of using a "local-remote" 
repository sitting on the local file system.

1) build would start with a wiped local-remote repository
2) build's deploys into the local-remote repository
3) if build finished successfully, artifacts in the local-remote repository get 
deployed into the real remote group repository.

(The benefits would be that nothing gets deployed until the build succeeds and 
the build result is available sooner.)

Are there tools which would help with 3) ?
I've looked into the Nexus Command Line Tools [1], but they don't do what I 
want.

Alternatively I could write my own using the Maven API, I suppose.

-Max

[1] https://docs.sonatype.com/display/SPRTNXOSS/Nexus+Command+Line+Tools

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to