RE: buildpath probleme with eclipse:eclipse goal

2009-04-08 Thread florian.cavagnini
That's work!

Thanks for the help

 
Florian Cavagnini
IT / Gestion de Configuration
Immeuble Lumière
40 avenue des Terroirs de France
75012 Paris
T +33 1 57 22 55 83
E florian.cavagn...@ingdirect.fr
-Message d'origine-
De : Robert Hanson [mailto:iamroberthan...@gmail.com] 
Envoyé : mercredi 8 avril 2009 00:12
À : Maven Users List
Objet : Re: buildpath probleme with eclipse:eclipse goal

You can also set the AJDT version to "none".


org.apache.maven.plugins
maven-eclipse-plugin

none



References:
  http://jira.codehaus.org/browse/MECLIPSE-200 (broke it)
  http://jira.codehaus.org/browse/MECLIPSE-544 (workaround)
  http://jira.codehaus.org/browse/MECLIPSE-547 (open)



On Tue, Apr 7, 2009 at 5:05 PM, Arnaud HERITIER  wrote:
> there are several thread and issues opened about problem in the release 2.6
> of the plugin with aspectj projects.Set the version of the
> maven-eclipse-plugin to 2.5.1 in the dependencyManagement part of your pom
> to use the previous version while we are fixing it.
>
> On Tue, Apr 7, 2009 at 7:39 PM,  wrote:
>
>> 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:
>>
>> 
>>        org.aspectj
>>        aspectjrt
>>        1.6.0
>>        compile
>> 
>>
>> 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]
>> -

Re: buildpath probleme with eclipse:eclipse goal

2009-04-07 Thread Robert Hanson
You can also set the AJDT version to "none".


org.apache.maven.plugins
maven-eclipse-plugin

none



References:
  http://jira.codehaus.org/browse/MECLIPSE-200 (broke it)
  http://jira.codehaus.org/browse/MECLIPSE-544 (workaround)
  http://jira.codehaus.org/browse/MECLIPSE-547 (open)



On Tue, Apr 7, 2009 at 5:05 PM, Arnaud HERITIER  wrote:
> there are several thread and issues opened about problem in the release 2.6
> of the plugin with aspectj projects.Set the version of the
> maven-eclipse-plugin to 2.5.1 in the dependencyManagement part of your pom
> to use the previous version while we are fixing it.
>
> On Tue, Apr 7, 2009 at 7:39 PM,  wrote:
>
>> 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:
>>
>> 
>>        org.aspectj
>>        aspectjrt
>>        1.6.0
>>        compile
>> 
>>
>> 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, 

Re: buildpath probleme with eclipse:eclipse goal

2009-04-07 Thread Arnaud HERITIER
there are several thread and issues opened about problem in the release 2.6
of the plugin with aspectj projects.Set the version of the
maven-eclipse-plugin to 2.5.1 in the dependencyManagement part of your pom
to use the previous version while we are fixing it.

On Tue, Apr 7, 2009 at 7:39 PM,  wrote:

> 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:
>
> 
>org.aspectj
>aspectjrt
>1.6.0
>compile
> 
>
> 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: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
Arnaud