Dan,

Thanks for your continuous help. I think it is a subject for another thread...

Regards,
Marcin

Dan Tran wrote:
I ran into the same thing, and ended up to run

   mvn install    first

then

  mvn eclipse:eclipse

-D

On 8/29/07, Marcin Waldowski <[EMAIL PROTECTED]> wrote:
Dan, thanks for checking my example.

I'm sure that I use 2.4 version. In debug mode I can see:

   [INFO] Building ejb3
   .....
   [DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-eclipse-plugin:2.4:eclipse' -->

But now I see that the problem is not around skipping module. In debug
output I can see line:

   [DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-eclipse-plugin:2.4:eclipse' -->

but this I can see only for ejb3 module. I cannot see it for ear module
because it fails before:

   [DEBUG] Unable to download the artifact from any repository
   Try downloading the file manually from the project website.
   Then, install it using the command:
       mvn install:install-file -DgroupId=com.company.app.appserver
-DartifactId=ejb3 \
           -Dversion=1.0-SNAPSHOT -Dpackaging=ejb -Dfile=/path/to/file

It never fail when I execute 'mvn package'. But it fail during 'mvn
eclipse:eclipse'. That's why I decide to skip that module for mvn
eclipse:eclipse. Now I see that I cannot get rid of that problem by
skipping module, but I need to do something else.

The problem is that I have no idea why it fails during 'mvn
eclipse:eclipse'...

Regards,
Marcin


Dan Tran wrote:
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 <[EMAIL PROTECTED]> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to