Why, use the maven deploy plugin, of course! :-)

        http://maven.apache.org/plugins/maven-deploy-plugin/usage.html

Once this is done, anyone depending on the SNAPSHOT version will automatically 
get the latest CI built artifact when their maven installation looks for 
updates.
---
Nayan Hajratwala
http://agileshrugged.com
http://twitter.com/nhajratw
734.658.6032

On Nov 11, 2009, at 12:16 PM, Neil Chaudhuri wrote:

> I am in fact using a CI tool. So I can build a WAR at regular intervals. But 
> publishing the SNAPSHOT, how do you do that?
> 
> Thanks.
> 
> 
> -----Original Message-----
> From: Nayan Hajratwala [mailto:[email protected]]
> Sent: Wed 11/11/2009 10:49 AM
> To: Maven Users List
> Subject: Re: Automated Build and Check In
> 
> Sounds like you could benefit from a Continuous Integration Server ... Try 
> https://hudson.dev.java.net/ -- very easy to set up.
> 
> You could configure it to check in the generated artifact via a post-build 
> command (setup via hudson), but you might want to consider just publishing 
> your generated WAR SNAPSHOT version to an internal maven repo (i.e. Nexus). 
> Hudson can do this for you as well.
> 
> 
> On Nov 11, 2009, at 11:39 AM, Neil Chaudhuri wrote:
> 
>> I would like to do something very simple at regular intervals (say every 
>> hour):
>> 
>> *Build the primary artifact-- a WAR file
>> *Check it into SVN at a specified location in the trunk
>> 
>> How could I do this?
>> 
>> Thanks.
>> 
> 
> 
> ---------------------------------------------------------------------
> 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