usually a mvn clean install deploy will do fine.
Depending of whether you have setup your settings.xml correctly or not, you 
might also need to add -Dusername=xxx and -Dpassword=yyy

LieGrue,
strub

--- On Sun, 1/30/11, Dan Haywood <[email protected]> wrote:

> From: Dan Haywood <[email protected]>
> Subject: Help - publishing snapshots...
> To: [email protected]
> Date: Sunday, January 30, 2011, 12:22 PM
> Hi mentors,
> 
> Since - due to collective pressure of work - we're not
> going to get a 0.1 release out for a while, I thought we
> ought to at least get some snapshots out at least, ideally
> as an automated job from our Hudson CI.
> 
> I've raised a JIRA on infra so we can publish to the nexus
> repo [1].  This has now been actioned and closed.
> 
> Looking at the instructions [2] that were attached to the
> comment that closed that JIRA, it looks somewhat like
> publishing a snapshot isn't something that's fully
> automated; rather it's a half-way step to publishing out a
> full release.
> 
> So two questions:
> - I'm a bit nervous of doing the wrong thing, with respect
> to licenses/notices files missing etc.  Is there
> anything I need to do specifically here?
> - on the instructions in [2], I can't quite see why the
> release dryRun is required if all I want to do is to publish
> a snapshot.  Can I just do a "mvn deploy:deploy" ?
> 
> 
> Cheers
> Dan
> 
> 
> [1] https://issues.apache.org/jira/browse/INFRA-3372
> [2] http://www.apache.org/dev/publishing-maven-artifacts.html#publish-snapshot
> 
> 
> 



Reply via email to