Hello

Since two days, I don't know why but when I generate the eclipse
configuration files (.classpath and .project) of my maven project with
the eclipse plugin (goal eclipse:eclipse), it don't add all the
dependencies listed in my pom.xml!

And one in particular: org.aspectj.aspectjrt-1.5.4

I tried with a simple pom with only one dependency:

<dependency>
        <groupId>org.aspectj</groupId>
        <artifactId>aspectjrt</artifactId>
        <version>1.6.0</version>
        <scope>compile</scope>
</dependency>

Depencency tree shows:

[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - mon.cul:prout:jar:1.0
[INFO]    task-segment: [dependency:tree]
[INFO]
------------------------------------------------------------------------
[INFO] [dependency:tree]
[INFO] mon.cul:prout:jar:1.0
[INFO] \- org.aspectj:aspectjrt:jar:1.6.0:compile
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue Apr 07 19:36:49 CEST 2009
[INFO] Final Memory: 11M/127M
[INFO]
------------------------------------------------------------------------


But when I run eclipse:eclipse, I have nothing in my buildpath, only JRE
library!

[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - mon.cul:prout:jar:1.0
[INFO]    task-segment: [eclipse:clean, eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
[INFO] [eclipse:clean]
[INFO] Deleting file: .project
[INFO] Deleting file: .classpath
[INFO] Deleting file: .wtpmodules
[INFO] Deleting file: .component
[INFO] Deleting file: org.eclipse.wst.common.component
[INFO] Deleting file: org.eclipse.wst.common.project.facet.core.xml
[INFO] Deleting file: org.eclipse.jdt.core.prefs
[INFO] Deleting file: org.eclipse.ajdt.ui.prefs
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Using Eclipse Workspace: D:\workspaces\SRC_MCA\Intense_Dev
[INFO] no substring wtp server match.
[INFO] Using as WTP server : Apache Tomcat v5.5
[INFO] Adding default classpath container:
org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Not writing settings - defaults suffice
[INFO] Wrote Eclipse project for "prout" to
D:\workspaces\SRC_MCA\Intense_Dev\prout.
[INFO]
       Sources for some artifacts are not available.
       Please run the same goal with the -DdownloadSources=true
parameter in order to check remote repositories for sources.
       List of artifacts without a source archive:
         o org.aspectj:aspectjrt:1.6.0

       Javadoc for some artifacts is not available.
       Please run the same goal with the -DdownloadJavadocs=true
parameter in order to check remote repositories for javadoc.
       List of artifacts without a javadoc archive:
         o org.aspectj:aspectjrt:1.6.0

[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------

Did you know how to solve that?

thanks


-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to