List Info

Thread: Re: Skiping module during mvn eclipse:eclipse




Re: Skiping module during mvn eclipse:eclipse
country flaguser name
Poland
2007-08-29 01:55:24
Dan, thanks for response.

I've reproduced it in two simple as possible module set. See
atachement. 
One is an ejb packaging project and the second is ear
packaging project. 
The second one use skip flag:
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
   
<artifactId>maven-eclipse-plugin</artifactId>
    <configuration>
        <skip>true</skip>
    </configuration>
</plugin>

When I execute 'mvn eclipse:eclipse' for top level pom then
ear 
packaging project is not skipped.

Regards,
Marcin

Dan Tran wrote:
> can you reproduce in a smaller set of projects?
>
>
> On 8/28/07, Marcin Waldowski <mwaldowssulechow.net> wrote:
>   
>> Hello.
>>
>> I've returned to this subject 
>>
>> Now I use version 2.4 of maven-eclipse-plugin which
gives me a
>> posibility to use 'skip' parameter. After making
'mvn
>> help:effective-pom' I can see for one of my
module:
>> <plugin>
>>   
<artifactId>maven-eclipse-plugin</artifactId>
>>    <configuration>
>>        <skip>true</skip>
>>        ...
>>    </configuration>
>> </plugin>
>>
>> But when I executed 'mvn eclipse:eclipse' (in
derictory with top level
>> POM) plugin did not skip one of my module.
>>
>> What I did wrong?
>>
>> Regards, Marcin
>>
>>
>> Marcin Waldowski wrote:
>>     
>>> Hello.
>>>
>>> I have a Multiple Module Projects (with top
level POM and modules).
>>> One of module has ear type
(<packaging>ear</packaging>) and I don't
>>> want to make eclipse project from it.
>>>
>>> Is it possible to exclude this module from
execution of
>>> mvn eclipse:eclipse
>>> in directory with top level POM?
>>>
>>> Regards,
>>> Marcin
>>>
>>>
------------------------------------------------------------
---------
>>> To unsubscribe, e-mail: users-unsubscribemaven.apache.org
>>> For additional commands, e-mail: users-helpmaven.apache.org
>>>
>>>
>>>       


------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribemaven.apache.org
For additional commands, e-mail: users-helpmaven.apache.org
  
Re: Skiping module during mvn eclipse:eclipse
user name
2007-08-29 08:37:25
Marcin, I am not able to reproduce your issue at my side
using your example.

the only thing i can think of is you are using the wrong
eclipse
plugin version prior to 2.4.

you may want to define eclipse plugin at the top level pom
with
version configured.
and you still need to configure skip individually per child
project.

-D

On 8/28/07, Marcin Waldowski <mwaldowssulechow.net> wrote:
> Dan, thanks for response.
>
> I've reproduced it in two simple as possible module
set. See atachement.
> One is an ejb packaging project and the second is ear
packaging project.
> The second one use skip flag:
> <plugin>
>   
<groupId>org.apache.maven.plugins</groupId>
>   
<artifactId>maven-eclipse-plugin</artifactId>
>    <configuration>
>        <skip>true</skip>
>    </configuration>
> </plugin>
>
> When I execute 'mvn eclipse:eclipse' for top level pom
then ear
> packaging project is not skipped.
>
> Regards,
> Marcin
>
> Dan Tran wrote:
> > can you reproduce in a smaller set of projects?
> >
> >
> > On 8/28/07, Marcin Waldowski <mwaldowssulechow.net> wrote:
> >
> >> Hello.
> >>
> >> I've returned to this subject 
> >>
> >> Now I use version 2.4 of maven-eclipse-plugin
which gives me a
> >> posibility to use 'skip' parameter. After
making 'mvn
> >> help:effective-pom' I can see for one of my
module:
> >> <plugin>
> >>   
<artifactId>maven-eclipse-plugin</artifactId>
> >>    <configuration>
> >>        <skip>true</skip>
> >>        ...
> >>    </configuration>
> >> </plugin>
> >>
> >> But when I executed 'mvn eclipse:eclipse' (in
derictory with top level
> >> POM) plugin did not skip one of my module.
> >>
> >> What I did wrong?
> >>
> >> Regards, Marcin
> >>
> >>
> >> Marcin Waldowski wrote:
> >>
> >>> Hello.
> >>>
> >>> I have a Multiple Module Projects (with
top level POM and modules).
> >>> One of module has ear type
(<packaging>ear</packaging>) and I don't
> >>> want to make eclipse project from it.
> >>>
> >>> Is it possible to exclude this module from
execution of
> >>> mvn eclipse:eclipse
> >>> in directory with top level POM?
> >>>
> >>> Regards,
> >>> Marcin
> >>>
> >>>
------------------------------------------------------------
---------
> >>> To unsubscribe, e-mail:
users-unsubscribemaven.apache.org
> >>> For additional commands, e-mail:
users-helpmaven.apache.org
> >>>
> >>>
> >>>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribemaven.apache.org
> For additional commands, e-mail: users-helpmaven.apache.org
>
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribemaven.apache.org
For additional commands, e-mail: users-helpmaven.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )