Hi Matthias,

If we use myfaces-test we'll have the exact same issues as with shale-test
artifacts. That is, myfaces-test-2.0 will depend on myfaces-api-2.0 whereas
myfaces-api-2.0 requires myfaces-test to be tested and released. However,
Maven provide another, yet less known, feature that allow you to release the
tests of your artifact into a repository as well. Under such structure we
could have myfaces-api developped along with its tests (in the test
subfolder) and have another external project use those tests as a dependency
using:

        <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-api</artifactId>
            <version>2.0.0-SNAPSHOT</version>
            <packaging>test-jar</packaging>
            <scope>test</scope>
        </dependency>

The above refer to the deployed test part of the artifact rather than the
project itself. That would be a way to release a MyFaces test framework ever
running into the interdependency issues again.


Regards,

~ Simon

On Tue, Jun 16, 2009 at 11:53 AM, Matthias Wessendorf <[email protected]>wrote:

> On Tue, Jun 16, 2009 at 8:30 AM, Simon Lessard<[email protected]>
> wrote:
> > Hi,
> >
> > I think the Shale-test drop has been made, but we still need to integrate
> it
> > with the codebase. We'll also have to determine how to distribute it. I
>
> correct, I ran into some maven issue here, and stop there.
> feel free to continue.
>
> > would see it as myfaces-api artifact-id, but using test-jar packaging as
> I
>
> instead of myfaces-test ?
>
> > think it's the only safe way to handle the bidirectional dependency in
> this
> > case. I don't know is Apache usually release and deploy their test-jar
> > though, so it's still a peding issue I think.
> >
> >
> > ~ Simon
> >
> > On Tue, Jun 16, 2009 at 11:28 AM, Curtiss Howard <
> [email protected]>
> > wrote:
> >>
> >> On Tue, Jun 16, 2009 at 10:45 AM, Leonardo Uribe<[email protected]>
> wrote:
> >> > Hi
> >> >
> >> > If you are taking about the tests that does not allowed compile
> tomahawk
> >> > in
> >> > offline mode, it was fixed yesterday.
> >> >
> >> > regards
> >> >
> >> > Leonardo Uribe
> >> >
> >>
> >> No, I was thinking more about how the 2.0 impl tests don't work :).
> >>
> >>
> >> Curtiss Howard
> >
> >
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>

Reply via email to