maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: Surefire: How to specify jar class loading order?
Date Tue, 04 Aug 2009 06:49:29 GMT
OK, well there goes my "It's the maven versions that use hashmap and not
linkedhashmap" theory...

-Stephen

2009/8/4 David Hoffer <dhoffer6@gmail.com>

> I just verified, all our builds are using 2.1.0.
>
> -Dave
>
> On Mon, Aug 3, 2009 at 7:18 PM, David Hoffer <dhoffer6@gmail.com> wrote:
>
> > No, I'm using 2.1x.
> >
> > -Dave
> >
> >
> > On Mon, Aug 3, 2009 at 4:22 PM, Stephen Connolly <
> > stephen.alan.connolly@gmail.com> wrote:
> >
> >> I am going to guess that you are using a version of maven < 2.0.9
> >>
> >> if I am wrong, let us know
> >>
> >> Sent from my [rhymes with myPod] ;-)
> >>
> >>
> >> On 3 Aug 2009, at 23:04, David Hoffer <dhoffer6@gmail.com> wrote:
> >>
> >>  I have found a case where mvn install & deploy work fine but
> site-deploy
> >>> does not.  The reason is that during site-deploy the surefire plugin is
> >>> building a class loading list in the surefirebooter jar's Manifest that
> >>> is
> >>> different.
> >>>
> >>> The reason this matters in my case is that I have some class overrides
> in
> >>> one of my child poms (multi-module project).  Its important that my
> child
> >>> artifact with the overrides gets added to the classpath first.  I don't
> >>> know
> >>> what logic surefire uses to know what order to use but in the case of
> >>> site-deploy it is putting the original before my override.
> >>>
> >>> I want to be able to specify the jar class loading order surefire uses
> >>> (like
> >>> I could do in a war for instance at runtime).  How can I do this with
> >>> surefire?
> >>>
> >>> -Dave
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message