The hudson built in Maven support is tied to Maven 2.x

The hudson built in Maven support also messes with the pom.xml so it
actually is not building the exact same project as a command line build

My recommendation, as a Maven and Hudson developer is to use the freestyle
project type. You will have a little more up-front setup but you will have
more control and an easier build to debug

-Stephen

On 25 September 2010 00:07, David Jencks <david_jen...@yahoo.com> wrote:

> about the hudson maven support and why you don't want to use it :-)
>
> I think that the built-in support first builds the maven project and then
> if it succeeds copies the snapshots to the deployment location.  This is a
> no-no because the resulting snapshots aren't timestamped.  If you use mvn
> clean deploy then you will get properly timestamped snapshots.  The
> disadvantage is that the modules that build OK before a failure will get
> deployed.  After thinking about this for a few months I've decided this is
> generally not a big problem :-)
>
> is there any chance I could talk you into setting up geronimo for
> hudson/hudson for geronimo after you've learned how to do it?
>
> thanks
> david jencks
>
> On Sep 24, 2010, at 1:50 PM, dsh wrote:
>
> > Okay so I'll do the research as soon as I have some spare cycles.
> >
> > Cheers
> > Daniel
> >
> > On Fri, Sep 24, 2010 at 10:35 PM, David Blevins <david.blev...@visi.com>
> wrote:
> >>
> >> On Sep 24, 2010, at 11:48 AM, dsh wrote:
> >>
> >>> So what do we need to do to get the Hudson build for OpenEJB up and
> >>> running. I am still a little confused about what the missing pieces
> >>> are and what to do next...
> >>
> >> Don't know anything about hudson either.  Goal is to have OpenEJB build
> and publish snapshots to nexus.  I know other projects do it, don't know
> how.
> >>
> >> -David
> >>
> >>
> >>> On Fri, Sep 24, 2010 at 8:41 PM, David Blevins <david.blev...@visi.com>
> wrote:
> >>>> Added you to the right unix group.
> >>>>
> >>>> Saw a presentation by Jason on Maven 3 and he mentioned in that
> session that they don't use the maven specific support in Hudson.  Seemed to
> indicate that instead they use a plain java project.  Not sure on any other
> details, but heads up.
> >>>>
> >>>> -David
> >>>>
> >>>>
> >>>> On Sep 21, 2010, at 4:32 AM, dsh wrote:
> >>>>
> >>>>> FYI
> >>>>>
> >>>>>
> >>>>> ---------- Forwarded message ----------
> >>>>> From: Niklas Gustavsson (JIRA) <j...@apache.org>
> >>>>> Date: Tue, Sep 21, 2010 at 1:22 PM
> >>>>> Subject: [jira] Closed: (INFRA-2998) Setup Hudson CI Build for Apache
> OpenEJB
> >>>>> To: d...@apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>     [
> https://issues.apache.org/jira/browse/INFRA-2998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> >>>>> ]
> >>>>>
> >>>>> Niklas Gustavsson closed INFRA-2998.
> >>>>> ------------------------------------
> >>>>>
> >>>>>      Assignee: Niklas Gustavsson
> >>>>>    Resolution: Won't Fix
> >>>>>
> >>>>> The OpenEJB PMC chair can set up the necessary access as described
> here:
> >>>>> http://wiki.apache.org/general/Hudson#How_do_I_get_an_account
> >>>>>
> >>>>> If you need any help from infra, e.g. installing any dependencies
> that
> >>>>> are not already available, feel free to open a new issue.
> >>>>>
> >>>>>> Setup Hudson CI Build for Apache OpenEJB
> >>>>>> ----------------------------------------
> >>>>>>
> >>>>>>                 Key: INFRA-2998
> >>>>>>                 URL:
> https://issues.apache.org/jira/browse/INFRA-2998
> >>>>>>             Project: Infrastructure
> >>>>>>          Issue Type: Task
> >>>>>>      Security Level: public(Regular issues)
> >>>>>>          Components: Hudson
> >>>>>>            Reporter: Daniel S. Haischt
> >>>>>>            Assignee: Niklas Gustavsson
> >>>>>>
> >>>>>> On the note of things failing.  Would be great to get us setup in
> Hudson for CI and publishing binaries:  https://hudson.apache.org/hudson/
> >>>>>> I'd offer to volunteer on this task if necessary.
> >>>>>> Cheers
> >>>>>> Daniel
> >>>>>
> >>>>> --
> >>>>> This message is automatically generated by JIRA.
> >>>>> -
> >>>>> You can reply to this email to add a comment to the issue online.
> >>>>>
> >>>>
> >>>>
> >>>
> >>
> >>
>
>

Reply via email to