Thanks Stephan. That does the trick. I was confused about why the changes I
made could make the build failing. I realised the module will not built
unless there are any changes. It seems it is the first time to build this
module since the openejb-core beta-1 changes.

Regards
Emily

On Thu, Mar 29, 2012 at 7:16 AM, Siano, Stephan <[email protected]>wrote:

> Hi,
>
> The issue is fixed by now, however I had another quick look into it. Aries
> generally uses slf4j 1.5, however for some obscure reason openejb has a
> compile time dependency to slf4j-log4j12 1.6.1, so this gets dragged in as
> a transitive dependency. It's probably safer to exclude it from the
> dependency explicitly:
> <dependency>
>    <groupId>org.apache.openejb</groupId>
>    <artifactId>openejb-core</artifactId>
>    <version>4.0.0-beta-1</version>
>    <exclusions>
>        <exclusion>
>            <groupId>org.apache.openejb</groupId>
>            <artifactId>javaee-api</artifactId>
>        </exclusion>
>        <exclusion>
>              <groupId>org.slf4j</groupId>
>              <artifactId>slf4j-log4j12</artifactId>
>         </exclusion>
>    </exclusions>
> </dependency>
>
> Removing anything from your local maven repository will only help you for
> outdated snapshots or if you have stuff in there your built for yourself
> (with mvn install), all the other stuff will be fetched from the remote
> repositories again.
>
> Best regards
> Stephan
>
> -----Original Message-----
> From: Holly Cummins [mailto:[email protected]]
> Sent: Mittwoch, 28. März 2012 23:28
> To: [email protected]
> Subject: Re: Jenkins build is still unstable: Aries #1418
>
> For what it's worth, I can reproduce the test failures locally with a
> recent extract from trunk. Deleting the slf4j directories in my local maven
> repo doesn't help, disappointingly.
>
> On Wed, Mar 28, 2012 at 11:53 AM, Siano, Stephan <[email protected]
> >wrote:
>
> > The question is where this Log4JLogger adapter actually comes from. In
> the
> > pom there is only slf4j-simple referenced, so I guess there is some
> > transitive dependency to slf4j-log4j12 that drags this in.
> >
> > Best regards
> > Stephan
> >
> > -----Original Message-----
> > From: Emily Jiang [mailto:[email protected]]
> > Sent: Mittwoch, 28. März 2012 12:01
> > To: [email protected]
> > Subject: Re: Jenkins build is still unstable: Aries #1418
> >
> > hmmm. I cannot get the error happening locally. It sounds like two slf4j
> > simple on the classpath. Any pointers are appreciated. Thanks
> >
> > On Wed, Mar 28, 2012 at 12:23 AM, Apache Jenkins Server <
> > [email protected]> wrote:
> >
> > > See <https://builds.apache.org/job/Aries/changes>
> > >
> > >
> >
> >
> > --
> > Thanks
> > Emily
> > =================
> > Emily Jiang
> > [email protected]
> >
>



-- 
Thanks
Emily
=================
Emily Jiang
[email protected]

Reply via email to