test-jar dependencies are not shown in 'Test libraries'

View: New views
4 Messages — Rating Filter:   Alert me  

test-jar dependencies are not shown in 'Test libraries'

by Mohni, Daniel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a multi module project where I need to reuse dependency test
code.
I added the following entry to my pom.
Versions are declared in dependency Managment of the root pom....

If i use this:

     <dependencies>
        <dependency>
            <groupId>my</groupId>
            <artifactId>my-commons</artifactId>
            <classifier>tests</classifier>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>my</groupId>
            <artifactId>my-commons</artifactId>
            <scope>compile</scope>
        </dependency>
     </dependencies>

In this case the test jar is added to the 'Library' node.

When i change the order the normal jar is added to the 'Library' but
nothing is
added to the 'Test Libraries' node.

Anyway, as the current mevenide (4.0.5) uses the external Maven (2.0.9)
compilation works fine.

Is this a mevenide problem or a some kind of maven problem ?

Regards
Daniel











---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: test-jar dependencies are not shown in 'Test libraries'

by Bugzilla from mkleint@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

fixed
http://hg.netbeans.org/main/rev/cfc4545c2482

Milos

On Mon, Oct 13, 2008 at 3:07 PM, Mohni, Daniel
<daniel.mohni@...> wrote:

> I have a multi module project where I need to reuse dependency test
> code.
> I added the following entry to my pom.
> Versions are declared in dependency Managment of the root pom....
>
> If i use this:
>
>     <dependencies>
>        <dependency>
>            <groupId>my</groupId>
>            <artifactId>my-commons</artifactId>
>            <classifier>tests</classifier>
>            <scope>test</scope>
>        </dependency>
>        <dependency>
>            <groupId>my</groupId>
>            <artifactId>my-commons</artifactId>
>            <scope>compile</scope>
>        </dependency>
>     </dependencies>
>
> In this case the test jar is added to the 'Library' node.
>
> When i change the order the normal jar is added to the 'Library' but
> nothing is
> added to the 'Test Libraries' node.
>
> Anyway, as the current mevenide (4.0.5) uses the external Maven (2.0.9)
> compilation works fine.
>
> Is this a mevenide problem or a some kind of maven problem ?
>
> Regards
> Daniel
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



AW: test-jar dependencies are not shown in 'Test libraries'

by Mohni, Daniel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Milos

this was a realy fast fix....

will this be in the RC1 that is around the corner ?

Regards
Daniel

> -----Ursprüngliche Nachricht-----
> Von: Milos Kleint [mailto:mkleint@...]
> Gesendet: Montag, 13. Oktober 2008 16:10
> An: user@...
> Betreff: Re: [mevenide-user] test-jar dependencies are not shown in 'Test
> libraries'
>
> fixed
> http://hg.netbeans.org/main/rev/cfc4545c2482
>
> Milos
>
> On Mon, Oct 13, 2008 at 3:07 PM, Mohni, Daniel
> <daniel.mohni@...> wrote:
> > I have a multi module project where I need to reuse dependency test
> > code.
> > I added the following entry to my pom.
> > Versions are declared in dependency Managment of the root pom....
> >
> > If i use this:
> >
> >     <dependencies>
> >        <dependency>
> >            <groupId>my</groupId>
> >            <artifactId>my-commons</artifactId>
> >            <classifier>tests</classifier>
> >            <scope>test</scope>
> >        </dependency>
> >        <dependency>
> >            <groupId>my</groupId>
> >            <artifactId>my-commons</artifactId>
> >            <scope>compile</scope>
> >        </dependency>
> >     </dependencies>
> >
> > In this case the test jar is added to the 'Library' node.
> >
> > When i change the order the normal jar is added to the 'Library' but
> > nothing is
> > added to the 'Test Libraries' node.
> >
> > Anyway, as the current mevenide (4.0.5) uses the external Maven (2.0.9)
> > compilation works fine.
> >
> > Is this a mevenide problem or a some kind of maven problem ?
> >
> > Regards
> > Daniel
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >    http://xircles.codehaus.org/manage_email
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: test-jar dependencies are not shown in 'Test libraries'

by Bugzilla from mkleint@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

it should be. AFAIK the release65 clone wasn't created yet

Milos

On Mon, Oct 13, 2008 at 4:47 PM, Mohni, Daniel
<daniel.mohni@...> wrote:

> Hi Milos
>
> this was a realy fast fix....
>
> will this be in the RC1 that is around the corner ?
>
> Regards
> Daniel
>
>> -----Ursprüngliche Nachricht-----
>> Von: Milos Kleint [mailto:mkleint@...]
>> Gesendet: Montag, 13. Oktober 2008 16:10
>> An: user@...
>> Betreff: Re: [mevenide-user] test-jar dependencies are not shown in 'Test
>> libraries'
>>
>> fixed
>> http://hg.netbeans.org/main/rev/cfc4545c2482
>>
>> Milos
>>
>> On Mon, Oct 13, 2008 at 3:07 PM, Mohni, Daniel
>> <daniel.mohni@...> wrote:
>> > I have a multi module project where I need to reuse dependency test
>> > code.
>> > I added the following entry to my pom.
>> > Versions are declared in dependency Managment of the root pom....
>> >
>> > If i use this:
>> >
>> >     <dependencies>
>> >        <dependency>
>> >            <groupId>my</groupId>
>> >            <artifactId>my-commons</artifactId>
>> >            <classifier>tests</classifier>
>> >            <scope>test</scope>
>> >        </dependency>
>> >        <dependency>
>> >            <groupId>my</groupId>
>> >            <artifactId>my-commons</artifactId>
>> >            <scope>compile</scope>
>> >        </dependency>
>> >     </dependencies>
>> >
>> > In this case the test jar is added to the 'Library' node.
>> >
>> > When i change the order the normal jar is added to the 'Library' but
>> > nothing is
>> > added to the 'Test Libraries' node.
>> >
>> > Anyway, as the current mevenide (4.0.5) uses the external Maven (2.0.9)
>> > compilation works fine.
>> >
>> > Is this a mevenide problem or a some kind of maven problem ?
>> >
>> > Regards
>> > Daniel
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe from this list, please visit:
>> >
>> >    http://xircles.codehaus.org/manage_email
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email