In fact, the nexus switch has no effect on sandbox projects. Just like before the nexus-era it's not allowed to deploy sandbox projects. You might wonder if there's some way to solve this in Nexus, but you can't just stage project and having the option to block the deployments to Maven Central. With the sandbox-parent a deploy attempt this blocked on the developers machine. Once there's been a vote to promote a sandbox project to the pre-release projects, it can be deployed. And the answer to the next question would be: Yes, so it's not possible to share sandbox projects. People can check out the code and build it on their own. - Robert
Date: Tue, 2 Nov 2010 08:13:02 +0000 From: [email protected] To: [email protected] Subject: Re: [mojo-dev] Setting up a project in the sandbox The docs have not been updated since the switch to nexus Somebody who knows more needs to update the docs On 2 Nov 2010 05:31, "Christopher Hunt" <[email protected]> wrote: Hi there, I've now created two projects in the mojo/sandbox and have successfully ran "mvn site:deploy" on both. Both sites are up. I'm a bit confused about the sandbox environment though. For starters, I cannot deploy my artifiacts. Attempting an "mvn deploy" for my import project (http://mojo.codehaus.org/js-import-plugin/) results in: [INFO] Error deploying artifact: Failed to transfer file: https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/mojo/jsimport/js-import-plugin/1.0.0-SNAPSHOT/js-import-plugin-1.0.0-20101102.051419-1.jar. Return code is: 401 This issue is compounded by the mojo documentation declaring that to use the sandbox plugins you must use the repo at: http://snapshots.repository.codehaus.org (http://mojo.codehaus.org/using-sandbox-plugins.html). Is someone able to explain the repo architecture for sandbox plugins? Ideally if someone is able to explain what I need to do to complete my sandbox tasks then that'd be great. Thanks for your help. Kind regards, Christopher --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
