myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Wessendorf <mat...@apache.org>
Subject Re: Status of unit test framework
Date Tue, 16 Jun 2009 22:52:57 GMT
On Tue, Jun 16, 2009 at 12:53 PM, Simon
Lessard<simon.lessard.3@gmail.com> wrote:
> 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.

we do that for trinidad, so I am fine with that.
Other projects can still depend on that stuff..

-M
>
>
> Regards,
>
> ~ Simon
>
> On Tue, Jun 16, 2009 at 11:53 AM, Matthias Wessendorf <matzew@apache.org>
> wrote:
>>
>> On Tue, Jun 16, 2009 at 8:30 AM, Simon Lessard<simon.lessard.3@gmail.com>
>> 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
>> > <curtiss.howard@gmail.com>
>> > wrote:
>> >>
>> >> On Tue, Jun 16, 2009 at 10:45 AM, Leonardo Uribe<lu4242@gmail.com>
>> >> 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
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Mime
View raw message