You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <ol...@accor.com> on 2006/02/08 15:04:47 UTC

Eclipse Plugin 2.1 for maven 2 released why @execute phase= has been changed

Why this has been changed in o.a.m.p.e.EclipsePlugin ??
@execute phase="generate-sources"
to
@execute phase="generate-test-resources".
My project can compile due to a missing dependency and some jobs to.
I had it in my pom and try mvn eclipse:clean eclipse:eclipse. (with -cpu
because I'm happy to test the new version)
Result : all eclipse files have deleted and no way to rebuild this
(except manually).
Do I have a workaround (except using plugin version 2.0) ?
Is it really mandatory to having a project which I can compile in order
to use the eclipse plugin ?
If yes : this should be documented with the bold element in the
documentation !!

- Olivier

-----Message d'origine-----
De : fgiust@gmail.com [mailto:fgiust@gmail.com] De la part de Fabrizio
Giustina
Envoyé : mercredi 8 février 2006 12:56
À : Maven Developers List; Maven Users List
Objet : [ANN] Maven Eclipse Plugin 2.1 for maven 2 released


We are pleased to announce the Maven Eclipse Plugin 2.1 for maven 2
release!

http://maven.apache.org/plugins/maven-eclipse-plugin/


Changes in this version include:

** Improvement
    * [MECLIPSE-47] - Support for wtp 1.0
    * [MECLIPSE-55] - Documentation: eclipse:eclipse creates Projects or
Libraries link
    * [MECLIPSE-57] - Add a way to indicate that path == sourcepath
    * [MECLIPSE-50] - Add getter/setter methods to the Eclipse Plugin
Mojos

** Bug fixed
    * [MECLIPSE-8] - Support sources generator in eclipse plugin
    * [MECLIPSE-9] - add-maven-repo not setting classpathVariable
correctly on windows
    * [MECLIPSE-25] - Allow disabling of WTP stuff
    * [MECLIPSE-33] - attaching javadoc jars to eclipse dependencies
    * [MECLIPSE-36] - use project.build.finalName for WTP context-root
(if specified)
    * [MECLIPSE-49] - Existing settings in org.eclipse.jdt.core.prefs
are overwritten
    * [MECLIPSE-51] - Issue Tracking on website points to generic MNG
instead of MECLIPSE


This is the first version of the plugin supporting WTP 1.0. Please read
carefully the notes about supported WTP versions and on how to select a
specific version (R7 is no more the default, as in the previous 2.0
release) on the plugin website at
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html


Have fun!
-The Maven development team

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : Eclipse Plugin 2.1 for maven 2 released why @execute phase= has been changed

Posted by Olivier Lamy <ol...@accor.com>.
Ok, I understand.
But adding source root is needed for what : jaxb binding, xmlbean, axis
stubs generation and so on .. ??
In this case, people (I do like this) can create a simple module which
is in charge of this job which is not to be done each time I compile my
project.
 
- Olivier

PS : I like vi but I prefer work with eclipse to write/debug my java
classes ;-)


-----Message d'origine-----
De : fgiust@gmail.com [mailto:fgiust@gmail.com] De la part de Fabrizio
Giustina
Envoyé : mercredi 8 février 2006 18:18
À : Maven Users List
Objet : Re: Eclipse Plugin 2.1 for maven 2 released why @execute phase=
has been changed


On 2/8/06, Olivier Lamy <ol...@accor.com> wrote:
> Why this has been changed in o.a.m.p.e.EclipsePlugin ?? @execute 
> phase="generate-sources" to
> @execute phase="generate-test-resources".

see the recent discussion at http://jira.codehaus.org/browse/MECLIPSE-37
the execute phase has been changed in order to support source roots
added after the generate-sources phase. This is required by some
projects but also needs the project to compile... unfortunately there is
no way to solve both problems in the eclipse plugin at the moment (OR we
handle generated sources OR we handle not-compiling projects), this is a
more general design issue and need to be handled in the maven core...

fabrizio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
--------------------------------------------------------------------------------------------------------------
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
-------------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Eclipse Plugin 2.1 for maven 2 released why @execute phase= has been changed

Posted by Fabrizio Giustina <fg...@apache.org>.
On 2/8/06, Olivier Lamy <ol...@accor.com> wrote:
> Why this has been changed in o.a.m.p.e.EclipsePlugin ??
> @execute phase="generate-sources"
> to
> @execute phase="generate-test-resources".

see the recent discussion at http://jira.codehaus.org/browse/MECLIPSE-37
the execute phase has been changed in order to support source roots
added after the generate-sources phase.
This is required by some projects but also needs the project to
compile... unfortunately there is no way to solve both problems in the
eclipse plugin at the moment (OR we handle generated sources OR we
handle not-compiling projects), this is a more general design issue
and need to be handled in the maven core...

fabrizio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org