You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arnaud HERITIER <ah...@gmail.com> on 2008/01/31 16:27:36 UTC

maven-eclipse-plugin 2.5 coming soon

Hi all,

  We fixed a lot of issues for the version 2.5 of the eclipse plugin and
we'll launch the vote to release it in few days.
  In this version we improved a lot the support for RAD 6 / RAD 7 and we
added  new features like WTP 2.0 support,  MyEclipse support,  dependencies
to projects in your projects, ... and more.
  You can find the complete change log here :
http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
  If you want to test it before the launch of the vote you have to define
and activate this profile :

    <profile>
      <id>apache.snapshots</id>
      <repositories>
        <repository>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots/>
          <id>apache.snapshots</id>
          <name>Maven Snapshots</name>
          <url>http://people.apache.org/maven-snapshot-repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots/>
          <id>apache.plugin.snapshots</id>
          <name>Maven Plugin Snapshots</name>
          <url>http://people.apache.org/maven-snapshot-repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>

 And then you can call this command :

  mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse

(or another mojo).

The documentation of the 2.5 was previously deployed by error, thus I just
updated it to give you the new version.

Cheers,

Arnaud

-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
Yes I understand when you have only one project.
But you have only one level of modules or eclipse accept to have its
projects in several levels of subdirectories (for example root/a/b/pom.xml)
?

Arnaud

On Jan 31, 2008 11:06 PM, Dan Tran <da...@gmail.com> wrote:

> Thanks, In fact my use case is a good one.  I have a team of 20
> developers on the same project, same eclispe workspace
> configuration ( ie same code style setup), and the workspace
> configuration is at the sameplace for all developers ( which is at the
> root pom level).
>
> This works out great.  ( no argument where to put the workspace ).
>
>
> Thank you for putting lots of works this plugin.
>
>
> -D
>
>
>
> On Jan 31, 2008 1:12 PM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > I didn't see this usage to have the eclipse workspace in the root
> directory
> > of your project. But why not ;-)
> > Effectively, in your case you call configure-workspace only in this
> > directory and not in sub-modules.
> > In all cases it's not normal that a bad workspace directory break the
> > eclipse:eclipse goal. It should work like it did before.
> > I thought also to add a switch parameter to say to the eclipse:eclipse
> goal
> > if it should read the workspace to find others projects or not.
> > I reopened  the issue : http://jira.codehaus.org/browse/MECLIPSE-344
> >
> > Arnaud
> >
> >
> > On Jan 31, 2008 9:57 PM, Dan Tran <da...@gmail.com> wrote:
> >
> > > On Jan 31, 2008 12:30 PM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > > There's something I don't understand.
> > > > The workspace parameter used in eclipse:configure-workspace and in
> > > > eclipse:add-maven-repo (which now deprecated by configure-workspace)
> has
> > > to
> > > > point to your workspace directory of eclipse. Not your project
> directory
> > > ?
> > >
> > > I mean ${workspace} should point to directory where you want
> > > eclipse:configure-workspace to create eclipse's workspace directory
> > > (ie .metadata) It workout nicely for my team to point ${workspace} to
> > > ${basedir} since configure-workspace goal only works
> > > at the top level.
> > >
> > >
> > > > Generally this parameter is defined in command line or with a
> property
> > > set
> > > > in the user's settings (or hardcoded if all your team has the same
> > > > directories layout).
> > > > And this is the same directory that we need in eclipse:eclipse, that
> why
> > > I
> > > > renamed it to have the same parameter name.
> > > >
> > > > Arnaud
> > > >
> > > >
> > > > On Jan 31, 2008 9:14 PM, Dan Tran <da...@gmail.com> wrote:
> > > >
> > > > > I have <workspace>${basedir}</workspace> to point to the top
> directory
> > > > > of my multi module project.
> > > > > This element used to be recognizable ONLY  by
> > > > > add-maven-repo/configure-workspace mojos.
> > > > >
> > > > > however, in 2.5 eclipse goal now also recorgizes it at well.
>  Perhaps
> > > > > eclipse:eclipse goal should have a different mojo's field name for
> > > > > its own's workspace configuration? ( ie projectWorkspace )
> > > > >
> > > > > Thanks
> > > > >
> > > > >
> > > > > -D
> > > > >
> > > > >
> > > > > On Jan 31, 2008 10:32 AM, Arnaud HERITIER <ah...@gmail.com>
> wrote:
> > > > > > We have to document it. It's due to the workspace configuration
> > > > > parameter.
> > > > > > workspace is now recognized by the eclipse:eclipse goal to find
> > > others
> > > > > > projects :
> > > > > > http://jira.codehaus.org/browse/MECLIPSE-344
> > > > > > it should define where is your eclipse workspace.
> > > > > > Why did you use it with ${basedir}?
> > > > > > I'll see why the goal fails if the workspace parameter is wrong.
> It
> > > > > should
> > > > > > warn us and ignore it.
> > > > > >
> > > > > > Arnaud
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Jan 31, 2008 6:41 PM, Dan Tran <da...@gmail.com> wrote:
> > > > > >
> > > > > > > I ran into problem during eclipse:eclipse
> > > > > > >
> > > > > > > here is my configuration
> > > > > > >
> > > > > > >        <plugin>
> > > > > > >          <artifactId>maven-eclipse-plugin</artifactId>
> > > > > > >          <version>2.5-SNAPSHOT</version>
> > > > > > >          <configuration>
> > > > > > >            <workspace>${basedir}</workspace>
> > > > > > >            <wtpversion>1.5</wtpversion>
> > > > > > >            <workspaceCodeStylesURL>
> > > > > > >
> > > > > > >
> > > > >
> > >
> http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
> > > > > > >            </workspaceCodeStylesURL>
> > > > > > >          </configuration>
> > > > > > >        </plugin>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > >
> > >
> =======================================================================
> > > > > > > here is stack trace in one of my module
> > > > > > >
> > > > > > > [INFO] Building ipl-migrate
> > > > > > > [INFO]    task-segment: [eclipse:eclipse]
> > > > > > > [INFO]
> > > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > > > [INFO] Preparing eclipse:eclipse
> > > > > > > [INFO] No goals needed for project - skipping
> > > > > > > [INFO] [eclipse:eclipse]
> > > > > > > [INFO] Adding support for WTP version 1.5.
> > > > > > > [ERROR] Could not read workspace JRE preferences
> > > > > > > java.io.FileNotFoundException:
> > > > > > > C:\dev\iplocks\va\ipl-migrate\.metadata\.plugins\
> > > > > > >
> org.eclipse.core.runtime\.settings\org.eclipse.jdt.launching.prefs
> > > (The
> > > > > > > system c
> > > > > > > annot find the path specified)
> > > > > > >        at java.io.FileInputStream.open(Native Method)
> > > > > > >        at java.io.FileInputStream.<init>(FileInputStream.java
> :106)
> > > > > > >        at
> > > > > > >
> > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readAva
> > > > > > > ilableJREs(ReadWorkspaceLocations.java:424)
> > > > > > >        at
> > > > > > >
> > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.detectD
> > > > > > > efaultJREContaigner(ReadWorkspaceLocations.java:191)
> > > > > > >        at
> > > > > > >
> org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init
> > > (Re
> > > > > > > adWorkspaceLocations.java:89)
> > > > > > >        at
> > > > > > >
> > > org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati
> > > > > > > on(EclipsePlugin.java:1343)
> > > > > > >        at
> > > > > > >
> > > org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon
> > > > > > > tainers(EclipsePlugin.java:1092)
> > > > > > >        at org.apache.maven.plugin.eclipse.EclipsePlugin.setup(
> > > > > > > EclipsePlugin.jav
> > > > > > > a:662)
> > > > > > >        at
> > > org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
> > > > > > > (AbstractId
> > > > > > > eSupportMojo.java:502)
> > > > > > >        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > > > > (DefaultPlugi
> > > > > > > nManager.java:447)
> > > > > > >        at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > > > > > > (Defa
> > > > > > > ultLifecycleExecutor.java:539)
> > > > > > >        at
> > > > > > >
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> > > > > > > Goal(DefaultLifecycleExecutor.java:493)
> > > > > > >        at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > > > > > > (Defau
> > > > > > > ltLifecycleExecutor.java:463)
> > > > > > >        at
> > > > > > >
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > > > > > dleFailures(DefaultLifecycleExecutor.java:311)
> > > > > > >        at
> > > > > > >
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > > > > > ts(DefaultLifecycleExecutor.java:278)
> > > > > > >        at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > > > > (DefaultLi
> > > > > > > fecycleExecutor.java:143)
> > > > > > >        at org.apache.maven.DefaultMaven.doExecute(
> > > DefaultMaven.java
> > > > > :333)
> > > > > > >        at org.apache.maven.DefaultMaven.execute(
> DefaultMaven.java
> > > :126)
> > > > > > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java
> :282)
> > > > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > > > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > > > > (NativeMethodAccessorImpl.
> > > > > > > java:39)
> > > > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > > > > (DelegatingMethodAcces
> > > > > > > sorImpl.java:25)
> > > > > > >        at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > > >        at org.codehaus.classworlds.Launcher.launchEnhanced(
> > > > > Launcher.java
> > > > > > > :315)
> > > > > > >        at org.codehaus.classworlds.Launcher.launch(
> Launcher.java
> > > :255)
> > > > > > >        at org.codehaus.classworlds.Launcher.mainWithExitCode(
> > > > > Launcher.java
> > > > > > > :430)
> > > > > > >
> > > > > > >        at org.codehaus.classworlds.Launcher.main(Launcher.java
> > > :375)
> > > > > > > [ERROR] Could not read workspace wtp server runtimes
> preferences :
> > > > > > > C:\dev\iplock
> > > > > > >
> > > > > > >
> > > > >
> > >
> s\va\ipl-migrate\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclip
> > > > > > > se.wst.server.core.prefs (The system cannot find the path
> > > specified)
> > > > > > > [INFO] Using as WTP server : null
> > > > > > > [INFO] Adding default classpath contaigner:
> > > > > > > org.eclipse.jdt.launching.JRE_CONTAI
> > > > > > >
> > > NER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
> > > > > > > [INFO] Using source status cache:
> C:\dev\iplocks\va\target\mvn-
> > > > > > > eclipse-cache.pro
> > > > > > > perties
> > > > > > > [INFO] Wrote settings to
> > > > > > > C:\dev\iplocks\va\ipl-migrate\.settings\org.eclipse.jdt
> > > > > > > .core.prefs
> > > > > > > [INFO] Wrote Eclipse project for "ipl-migrate" to
> > > > > > > C:\dev\iplocks\va\ipl-migrate.
> > > > > > >
> > > > > > > On Jan 31, 2008 7:27 AM, Arnaud HERITIER <ah...@gmail.com>
> > > wrote:
> > > > > > > > Hi all,
> > > > > > > >
> > > > > > > >  We fixed a lot of issues for the version 2.5 of the eclipse
> > > plugin
> > > > > and
> > > > > > > > we'll launch the vote to release it in few days.
> > > > > > > >  In this version we improved a lot the support for RAD 6 /
> RAD 7
> > > and
> > > > > we
> > > > > > > > added  new features like WTP 2.0 support,  MyEclipse
> support,
> > > > > > >  dependencies
> > > > > > > > to projects in your projects, ... and more.
> > > > > > > >  You can find the complete change log here :
> > > > > > > >
> > > > > > >
> > > > >
> > >
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > > > > > > >  If you want to test it before the launch of the vote you
> have
> > > to
> > > > > define
> > > > > > > > and activate this profile :
> > > > > > > >
> > > > > > > >    <profile>
> > > > > > > >      <id>apache.snapshots</id>
> > > > > > > >      <repositories>
> > > > > > > >        <repository>
> > > > > > > >          <releases>
> > > > > > > >            <enabled>false</enabled>
> > > > > > > >          </releases>
> > > > > > > >          <snapshots/>
> > > > > > > >          <id>apache.snapshots</id>
> > > > > > > >          <name>Maven Snapshots</name>
> > > > > > > >          <url>
> http://people.apache.org/maven-snapshot-repository
> > > > > </url>
> > > > > > > >        </repository>
> > > > > > > >      </repositories>
> > > > > > > >      <pluginRepositories>
> > > > > > > >        <pluginRepository>
> > > > > > > >          <releases>
> > > > > > > >            <enabled>false</enabled>
> > > > > > > >          </releases>
> > > > > > > >          <snapshots/>
> > > > > > > >          <id>apache.plugin.snapshots</id>
> > > > > > > >          <name>Maven Plugin Snapshots</name>
> > > > > > > >          <url>
> http://people.apache.org/maven-snapshot-repository
> > > > > </url>
> > > > > > > >        </pluginRepository>
> > > > > > > >      </pluginRepositories>
> > > > > > > >    </profile>
> > > > > > > >
> > > > > > > >  And then you can call this command :
> > > > > > > >
> > > > > > > >  mvn
> > > > > org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > > > > > > >
> > > > > > > > (or another mojo).
> > > > > > > >
> > > > > > > > The documentation of the 2.5 was previously deployed by
> error,
> > > thus
> > > > > I
> > > > > > > just
> > > > > > > > updated it to give you the new version.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > Arnaud
> > > > > > > >
> > > > > > > > --
> > > > > > > > ..........................................................
> > > > > > > > Arnaud HERITIER
> > > > > > > > ..........................................................
> > > > > > > > OCTO Technology - aheritier AT octo DOT com
> > > > > > > > www.octo.com | blog.octo.com
> > > > > > > > ..........................................................
> > > > > > > > ASF - aheritier AT apache DOT org
> > > > > > > > www.apache.org | maven.apache.org
> > > > > > > > ...........................................................
> > > > > > > >
> > > > > > >
> > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > ..........................................................
> > > > > > Arnaud HERITIER
> > > > > > ..........................................................
> > > > > > OCTO Technology - aheritier AT octo DOT com
> > > > > > www.octo.com | blog.octo.com
> > > > > > ..........................................................
> > > > > > ASF - aheritier AT apache DOT org
> > > > > > www.apache.org | maven.apache.org
> > > > > > ...........................................................
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > ..........................................................
> > > > Arnaud HERITIER
> > > > ..........................................................
> > > > OCTO Technology - aheritier AT octo DOT com
> > > > www.octo.com | blog.octo.com
> > > > ..........................................................
> > > > ASF - aheritier AT apache DOT org
> > > > www.apache.org | maven.apache.org
> > > > ...........................................................
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > ..........................................................
> > Arnaud HERITIER
> > ..........................................................
> > OCTO Technology - aheritier AT octo DOT com
> > www.octo.com | blog.octo.com
> > ..........................................................
> > ASF - aheritier AT apache DOT org
> > www.apache.org | maven.apache.org
> > ...........................................................
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Dan Tran <da...@gmail.com>.
Thanks, In fact my use case is a good one.  I have a team of 20
developers on the same project, same eclispe workspace
configuration ( ie same code style setup), and the workspace
configuration is at the sameplace for all developers ( which is at the
root pom level).

This works out great.  ( no argument where to put the workspace ).


Thank you for putting lots of works this plugin.


-D



On Jan 31, 2008 1:12 PM, Arnaud HERITIER <ah...@gmail.com> wrote:
> I didn't see this usage to have the eclipse workspace in the root directory
> of your project. But why not ;-)
> Effectively, in your case you call configure-workspace only in this
> directory and not in sub-modules.
> In all cases it's not normal that a bad workspace directory break the
> eclipse:eclipse goal. It should work like it did before.
> I thought also to add a switch parameter to say to the eclipse:eclipse goal
> if it should read the workspace to find others projects or not.
> I reopened  the issue : http://jira.codehaus.org/browse/MECLIPSE-344
>
> Arnaud
>
>
> On Jan 31, 2008 9:57 PM, Dan Tran <da...@gmail.com> wrote:
>
> > On Jan 31, 2008 12:30 PM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > There's something I don't understand.
> > > The workspace parameter used in eclipse:configure-workspace and in
> > > eclipse:add-maven-repo (which now deprecated by configure-workspace) has
> > to
> > > point to your workspace directory of eclipse. Not your project directory
> > ?
> >
> > I mean ${workspace} should point to directory where you want
> > eclipse:configure-workspace to create eclipse's workspace directory
> > (ie .metadata) It workout nicely for my team to point ${workspace} to
> > ${basedir} since configure-workspace goal only works
> > at the top level.
> >
> >
> > > Generally this parameter is defined in command line or with a property
> > set
> > > in the user's settings (or hardcoded if all your team has the same
> > > directories layout).
> > > And this is the same directory that we need in eclipse:eclipse, that why
> > I
> > > renamed it to have the same parameter name.
> > >
> > > Arnaud
> > >
> > >
> > > On Jan 31, 2008 9:14 PM, Dan Tran <da...@gmail.com> wrote:
> > >
> > > > I have <workspace>${basedir}</workspace> to point to the top directory
> > > > of my multi module project.
> > > > This element used to be recognizable ONLY  by
> > > > add-maven-repo/configure-workspace mojos.
> > > >
> > > > however, in 2.5 eclipse goal now also recorgizes it at well.  Perhaps
> > > > eclipse:eclipse goal should have a different mojo's field name for
> > > > its own's workspace configuration? ( ie projectWorkspace )
> > > >
> > > > Thanks
> > > >
> > > >
> > > > -D
> > > >
> > > >
> > > > On Jan 31, 2008 10:32 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > > > We have to document it. It's due to the workspace configuration
> > > > parameter.
> > > > > workspace is now recognized by the eclipse:eclipse goal to find
> > others
> > > > > projects :
> > > > > http://jira.codehaus.org/browse/MECLIPSE-344
> > > > > it should define where is your eclipse workspace.
> > > > > Why did you use it with ${basedir}?
> > > > > I'll see why the goal fails if the workspace parameter is wrong. It
> > > > should
> > > > > warn us and ignore it.
> > > > >
> > > > > Arnaud
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Jan 31, 2008 6:41 PM, Dan Tran <da...@gmail.com> wrote:
> > > > >
> > > > > > I ran into problem during eclipse:eclipse
> > > > > >
> > > > > > here is my configuration
> > > > > >
> > > > > >        <plugin>
> > > > > >          <artifactId>maven-eclipse-plugin</artifactId>
> > > > > >          <version>2.5-SNAPSHOT</version>
> > > > > >          <configuration>
> > > > > >            <workspace>${basedir}</workspace>
> > > > > >            <wtpversion>1.5</wtpversion>
> > > > > >            <workspaceCodeStylesURL>
> > > > > >
> > > > > >
> > > >
> > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
> > > > > >            </workspaceCodeStylesURL>
> > > > > >          </configuration>
> > > > > >        </plugin>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > >
> > =======================================================================
> > > > > > here is stack trace in one of my module
> > > > > >
> > > > > > [INFO] Building ipl-migrate
> > > > > > [INFO]    task-segment: [eclipse:eclipse]
> > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > [INFO] Preparing eclipse:eclipse
> > > > > > [INFO] No goals needed for project - skipping
> > > > > > [INFO] [eclipse:eclipse]
> > > > > > [INFO] Adding support for WTP version 1.5.
> > > > > > [ERROR] Could not read workspace JRE preferences
> > > > > > java.io.FileNotFoundException:
> > > > > > C:\dev\iplocks\va\ipl-migrate\.metadata\.plugins\
> > > > > > org.eclipse.core.runtime\.settings\org.eclipse.jdt.launching.prefs
> > (The
> > > > > > system c
> > > > > > annot find the path specified)
> > > > > >        at java.io.FileInputStream.open(Native Method)
> > > > > >        at java.io.FileInputStream.<init>(FileInputStream.java:106)
> > > > > >        at
> > > > > >
> > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readAva
> > > > > > ilableJREs(ReadWorkspaceLocations.java:424)
> > > > > >        at
> > > > > >
> > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.detectD
> > > > > > efaultJREContaigner(ReadWorkspaceLocations.java:191)
> > > > > >        at
> > > > > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init
> > (Re
> > > > > > adWorkspaceLocations.java:89)
> > > > > >        at
> > > > > >
> > org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati
> > > > > > on(EclipsePlugin.java:1343)
> > > > > >        at
> > > > > >
> > org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon
> > > > > > tainers(EclipsePlugin.java:1092)
> > > > > >        at org.apache.maven.plugin.eclipse.EclipsePlugin.setup(
> > > > > > EclipsePlugin.jav
> > > > > > a:662)
> > > > > >        at
> > org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
> > > > > > (AbstractId
> > > > > > eSupportMojo.java:502)
> > > > > >        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > > > (DefaultPlugi
> > > > > > nManager.java:447)
> > > > > >        at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > > > > > (Defa
> > > > > > ultLifecycleExecutor.java:539)
> > > > > >        at
> > > > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> > > > > > Goal(DefaultLifecycleExecutor.java:493)
> > > > > >        at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > > > > > (Defau
> > > > > > ltLifecycleExecutor.java:463)
> > > > > >        at
> > > > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > > > > dleFailures(DefaultLifecycleExecutor.java:311)
> > > > > >        at
> > > > > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > > > > ts(DefaultLifecycleExecutor.java:278)
> > > > > >        at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > > > (DefaultLi
> > > > > > fecycleExecutor.java:143)
> > > > > >        at org.apache.maven.DefaultMaven.doExecute(
> > DefaultMaven.java
> > > > :333)
> > > > > >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> > :126)
> > > > > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> > > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > > > (NativeMethodAccessorImpl.
> > > > > > java:39)
> > > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > > > (DelegatingMethodAcces
> > > > > > sorImpl.java:25)
> > > > > >        at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > >        at org.codehaus.classworlds.Launcher.launchEnhanced(
> > > > Launcher.java
> > > > > > :315)
> > > > > >        at org.codehaus.classworlds.Launcher.launch(Launcher.java
> > :255)
> > > > > >        at org.codehaus.classworlds.Launcher.mainWithExitCode(
> > > > Launcher.java
> > > > > > :430)
> > > > > >
> > > > > >        at org.codehaus.classworlds.Launcher.main(Launcher.java
> > :375)
> > > > > > [ERROR] Could not read workspace wtp server runtimes preferences :
> > > > > > C:\dev\iplock
> > > > > >
> > > > > >
> > > >
> > s\va\ipl-migrate\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclip
> > > > > > se.wst.server.core.prefs (The system cannot find the path
> > specified)
> > > > > > [INFO] Using as WTP server : null
> > > > > > [INFO] Adding default classpath contaigner:
> > > > > > org.eclipse.jdt.launching.JRE_CONTAI
> > > > > >
> > NER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
> > > > > > [INFO] Using source status cache: C:\dev\iplocks\va\target\mvn-
> > > > > > eclipse-cache.pro
> > > > > > perties
> > > > > > [INFO] Wrote settings to
> > > > > > C:\dev\iplocks\va\ipl-migrate\.settings\org.eclipse.jdt
> > > > > > .core.prefs
> > > > > > [INFO] Wrote Eclipse project for "ipl-migrate" to
> > > > > > C:\dev\iplocks\va\ipl-migrate.
> > > > > >
> > > > > > On Jan 31, 2008 7:27 AM, Arnaud HERITIER <ah...@gmail.com>
> > wrote:
> > > > > > > Hi all,
> > > > > > >
> > > > > > >  We fixed a lot of issues for the version 2.5 of the eclipse
> > plugin
> > > > and
> > > > > > > we'll launch the vote to release it in few days.
> > > > > > >  In this version we improved a lot the support for RAD 6 / RAD 7
> > and
> > > > we
> > > > > > > added  new features like WTP 2.0 support,  MyEclipse support,
> > > > > >  dependencies
> > > > > > > to projects in your projects, ... and more.
> > > > > > >  You can find the complete change log here :
> > > > > > >
> > > > > >
> > > >
> > http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > > > > > >  If you want to test it before the launch of the vote you have
> > to
> > > > define
> > > > > > > and activate this profile :
> > > > > > >
> > > > > > >    <profile>
> > > > > > >      <id>apache.snapshots</id>
> > > > > > >      <repositories>
> > > > > > >        <repository>
> > > > > > >          <releases>
> > > > > > >            <enabled>false</enabled>
> > > > > > >          </releases>
> > > > > > >          <snapshots/>
> > > > > > >          <id>apache.snapshots</id>
> > > > > > >          <name>Maven Snapshots</name>
> > > > > > >          <url>http://people.apache.org/maven-snapshot-repository
> > > > </url>
> > > > > > >        </repository>
> > > > > > >      </repositories>
> > > > > > >      <pluginRepositories>
> > > > > > >        <pluginRepository>
> > > > > > >          <releases>
> > > > > > >            <enabled>false</enabled>
> > > > > > >          </releases>
> > > > > > >          <snapshots/>
> > > > > > >          <id>apache.plugin.snapshots</id>
> > > > > > >          <name>Maven Plugin Snapshots</name>
> > > > > > >          <url>http://people.apache.org/maven-snapshot-repository
> > > > </url>
> > > > > > >        </pluginRepository>
> > > > > > >      </pluginRepositories>
> > > > > > >    </profile>
> > > > > > >
> > > > > > >  And then you can call this command :
> > > > > > >
> > > > > > >  mvn
> > > > org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > > > > > >
> > > > > > > (or another mojo).
> > > > > > >
> > > > > > > The documentation of the 2.5 was previously deployed by error,
> > thus
> > > > I
> > > > > > just
> > > > > > > updated it to give you the new version.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > Arnaud
> > > > > > >
> > > > > > > --
> > > > > > > ..........................................................
> > > > > > > Arnaud HERITIER
> > > > > > > ..........................................................
> > > > > > > OCTO Technology - aheritier AT octo DOT com
> > > > > > > www.octo.com | blog.octo.com
> > > > > > > ..........................................................
> > > > > > > ASF - aheritier AT apache DOT org
> > > > > > > www.apache.org | maven.apache.org
> > > > > > > ...........................................................
> > > > > > >
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > ..........................................................
> > > > > Arnaud HERITIER
> > > > > ..........................................................
> > > > > OCTO Technology - aheritier AT octo DOT com
> > > > > www.octo.com | blog.octo.com
> > > > > ..........................................................
> > > > > ASF - aheritier AT apache DOT org
> > > > > www.apache.org | maven.apache.org
> > > > > ...........................................................
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > ..........................................................
> > > Arnaud HERITIER
> > > ..........................................................
> > > OCTO Technology - aheritier AT octo DOT com
> > > www.octo.com | blog.octo.com
> > > ..........................................................
> > > ASF - aheritier AT apache DOT org
> > > www.apache.org | maven.apache.org
> > > ...........................................................
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>

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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
I didn't see this usage to have the eclipse workspace in the root directory
of your project. But why not ;-)
Effectively, in your case you call configure-workspace only in this
directory and not in sub-modules.
In all cases it's not normal that a bad workspace directory break the
eclipse:eclipse goal. It should work like it did before.
I thought also to add a switch parameter to say to the eclipse:eclipse goal
if it should read the workspace to find others projects or not.
I reopened  the issue : http://jira.codehaus.org/browse/MECLIPSE-344

Arnaud

On Jan 31, 2008 9:57 PM, Dan Tran <da...@gmail.com> wrote:

> On Jan 31, 2008 12:30 PM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > There's something I don't understand.
> > The workspace parameter used in eclipse:configure-workspace and in
> > eclipse:add-maven-repo (which now deprecated by configure-workspace) has
> to
> > point to your workspace directory of eclipse. Not your project directory
> ?
>
> I mean ${workspace} should point to directory where you want
> eclipse:configure-workspace to create eclipse's workspace directory
> (ie .metadata) It workout nicely for my team to point ${workspace} to
> ${basedir} since configure-workspace goal only works
> at the top level.
>
>
> > Generally this parameter is defined in command line or with a property
> set
> > in the user's settings (or hardcoded if all your team has the same
> > directories layout).
> > And this is the same directory that we need in eclipse:eclipse, that why
> I
> > renamed it to have the same parameter name.
> >
> > Arnaud
> >
> >
> > On Jan 31, 2008 9:14 PM, Dan Tran <da...@gmail.com> wrote:
> >
> > > I have <workspace>${basedir}</workspace> to point to the top directory
> > > of my multi module project.
> > > This element used to be recognizable ONLY  by
> > > add-maven-repo/configure-workspace mojos.
> > >
> > > however, in 2.5 eclipse goal now also recorgizes it at well.  Perhaps
> > > eclipse:eclipse goal should have a different mojo's field name for
> > > its own's workspace configuration? ( ie projectWorkspace )
> > >
> > > Thanks
> > >
> > >
> > > -D
> > >
> > >
> > > On Jan 31, 2008 10:32 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > > We have to document it. It's due to the workspace configuration
> > > parameter.
> > > > workspace is now recognized by the eclipse:eclipse goal to find
> others
> > > > projects :
> > > > http://jira.codehaus.org/browse/MECLIPSE-344
> > > > it should define where is your eclipse workspace.
> > > > Why did you use it with ${basedir}?
> > > > I'll see why the goal fails if the workspace parameter is wrong. It
> > > should
> > > > warn us and ignore it.
> > > >
> > > > Arnaud
> > > >
> > > >
> > > >
> > > >
> > > > On Jan 31, 2008 6:41 PM, Dan Tran <da...@gmail.com> wrote:
> > > >
> > > > > I ran into problem during eclipse:eclipse
> > > > >
> > > > > here is my configuration
> > > > >
> > > > >        <plugin>
> > > > >          <artifactId>maven-eclipse-plugin</artifactId>
> > > > >          <version>2.5-SNAPSHOT</version>
> > > > >          <configuration>
> > > > >            <workspace>${basedir}</workspace>
> > > > >            <wtpversion>1.5</wtpversion>
> > > > >            <workspaceCodeStylesURL>
> > > > >
> > > > >
> > >
> http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
> > > > >            </workspaceCodeStylesURL>
> > > > >          </configuration>
> > > > >        </plugin>
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> =======================================================================
> > > > > here is stack trace in one of my module
> > > > >
> > > > > [INFO] Building ipl-migrate
> > > > > [INFO]    task-segment: [eclipse:eclipse]
> > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > [INFO] Preparing eclipse:eclipse
> > > > > [INFO] No goals needed for project - skipping
> > > > > [INFO] [eclipse:eclipse]
> > > > > [INFO] Adding support for WTP version 1.5.
> > > > > [ERROR] Could not read workspace JRE preferences
> > > > > java.io.FileNotFoundException:
> > > > > C:\dev\iplocks\va\ipl-migrate\.metadata\.plugins\
> > > > > org.eclipse.core.runtime\.settings\org.eclipse.jdt.launching.prefs
> (The
> > > > > system c
> > > > > annot find the path specified)
> > > > >        at java.io.FileInputStream.open(Native Method)
> > > > >        at java.io.FileInputStream.<init>(FileInputStream.java:106)
> > > > >        at
> > > > >
> org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readAva
> > > > > ilableJREs(ReadWorkspaceLocations.java:424)
> > > > >        at
> > > > >
> org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.detectD
> > > > > efaultJREContaigner(ReadWorkspaceLocations.java:191)
> > > > >        at
> > > > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init
> (Re
> > > > > adWorkspaceLocations.java:89)
> > > > >        at
> > > > >
> org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati
> > > > > on(EclipsePlugin.java:1343)
> > > > >        at
> > > > >
> org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon
> > > > > tainers(EclipsePlugin.java:1092)
> > > > >        at org.apache.maven.plugin.eclipse.EclipsePlugin.setup(
> > > > > EclipsePlugin.jav
> > > > > a:662)
> > > > >        at
> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
> > > > > (AbstractId
> > > > > eSupportMojo.java:502)
> > > > >        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > > (DefaultPlugi
> > > > > nManager.java:447)
> > > > >        at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > > > > (Defa
> > > > > ultLifecycleExecutor.java:539)
> > > > >        at
> > > > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> > > > > Goal(DefaultLifecycleExecutor.java:493)
> > > > >        at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > > > > (Defau
> > > > > ltLifecycleExecutor.java:463)
> > > > >        at
> > > > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > > > dleFailures(DefaultLifecycleExecutor.java:311)
> > > > >        at
> > > > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > > > ts(DefaultLifecycleExecutor.java:278)
> > > > >        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > > (DefaultLi
> > > > > fecycleExecutor.java:143)
> > > > >        at org.apache.maven.DefaultMaven.doExecute(
> DefaultMaven.java
> > > :333)
> > > > >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java
> :126)
> > > > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> > > > >        at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > > (NativeMethodAccessorImpl.
> > > > > java:39)
> > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > > (DelegatingMethodAcces
> > > > > sorImpl.java:25)
> > > > >        at java.lang.reflect.Method.invoke(Method.java:585)
> > > > >        at org.codehaus.classworlds.Launcher.launchEnhanced(
> > > Launcher.java
> > > > > :315)
> > > > >        at org.codehaus.classworlds.Launcher.launch(Launcher.java
> :255)
> > > > >        at org.codehaus.classworlds.Launcher.mainWithExitCode(
> > > Launcher.java
> > > > > :430)
> > > > >
> > > > >        at org.codehaus.classworlds.Launcher.main(Launcher.java
> :375)
> > > > > [ERROR] Could not read workspace wtp server runtimes preferences :
> > > > > C:\dev\iplock
> > > > >
> > > > >
> > >
> s\va\ipl-migrate\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclip
> > > > > se.wst.server.core.prefs (The system cannot find the path
> specified)
> > > > > [INFO] Using as WTP server : null
> > > > > [INFO] Adding default classpath contaigner:
> > > > > org.eclipse.jdt.launching.JRE_CONTAI
> > > > >
> NER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
> > > > > [INFO] Using source status cache: C:\dev\iplocks\va\target\mvn-
> > > > > eclipse-cache.pro
> > > > > perties
> > > > > [INFO] Wrote settings to
> > > > > C:\dev\iplocks\va\ipl-migrate\.settings\org.eclipse.jdt
> > > > > .core.prefs
> > > > > [INFO] Wrote Eclipse project for "ipl-migrate" to
> > > > > C:\dev\iplocks\va\ipl-migrate.
> > > > >
> > > > > On Jan 31, 2008 7:27 AM, Arnaud HERITIER <ah...@gmail.com>
> wrote:
> > > > > > Hi all,
> > > > > >
> > > > > >  We fixed a lot of issues for the version 2.5 of the eclipse
> plugin
> > > and
> > > > > > we'll launch the vote to release it in few days.
> > > > > >  In this version we improved a lot the support for RAD 6 / RAD 7
> and
> > > we
> > > > > > added  new features like WTP 2.0 support,  MyEclipse support,
> > > > >  dependencies
> > > > > > to projects in your projects, ... and more.
> > > > > >  You can find the complete change log here :
> > > > > >
> > > > >
> > >
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > > > > >  If you want to test it before the launch of the vote you have
> to
> > > define
> > > > > > and activate this profile :
> > > > > >
> > > > > >    <profile>
> > > > > >      <id>apache.snapshots</id>
> > > > > >      <repositories>
> > > > > >        <repository>
> > > > > >          <releases>
> > > > > >            <enabled>false</enabled>
> > > > > >          </releases>
> > > > > >          <snapshots/>
> > > > > >          <id>apache.snapshots</id>
> > > > > >          <name>Maven Snapshots</name>
> > > > > >          <url>http://people.apache.org/maven-snapshot-repository
> > > </url>
> > > > > >        </repository>
> > > > > >      </repositories>
> > > > > >      <pluginRepositories>
> > > > > >        <pluginRepository>
> > > > > >          <releases>
> > > > > >            <enabled>false</enabled>
> > > > > >          </releases>
> > > > > >          <snapshots/>
> > > > > >          <id>apache.plugin.snapshots</id>
> > > > > >          <name>Maven Plugin Snapshots</name>
> > > > > >          <url>http://people.apache.org/maven-snapshot-repository
> > > </url>
> > > > > >        </pluginRepository>
> > > > > >      </pluginRepositories>
> > > > > >    </profile>
> > > > > >
> > > > > >  And then you can call this command :
> > > > > >
> > > > > >  mvn
> > > org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > > > > >
> > > > > > (or another mojo).
> > > > > >
> > > > > > The documentation of the 2.5 was previously deployed by error,
> thus
> > > I
> > > > > just
> > > > > > updated it to give you the new version.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > Arnaud
> > > > > >
> > > > > > --
> > > > > > ..........................................................
> > > > > > Arnaud HERITIER
> > > > > > ..........................................................
> > > > > > OCTO Technology - aheritier AT octo DOT com
> > > > > > www.octo.com | blog.octo.com
> > > > > > ..........................................................
> > > > > > ASF - aheritier AT apache DOT org
> > > > > > www.apache.org | maven.apache.org
> > > > > > ...........................................................
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > ..........................................................
> > > > Arnaud HERITIER
> > > > ..........................................................
> > > > OCTO Technology - aheritier AT octo DOT com
> > > > www.octo.com | blog.octo.com
> > > > ..........................................................
> > > > ASF - aheritier AT apache DOT org
> > > > www.apache.org | maven.apache.org
> > > > ...........................................................
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > ..........................................................
> > Arnaud HERITIER
> > ..........................................................
> > OCTO Technology - aheritier AT octo DOT com
> > www.octo.com | blog.octo.com
> > ..........................................................
> > ASF - aheritier AT apache DOT org
> > www.apache.org | maven.apache.org
> > ...........................................................
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Dan Tran <da...@gmail.com>.
On Jan 31, 2008 12:30 PM, Arnaud HERITIER <ah...@gmail.com> wrote:
> There's something I don't understand.
> The workspace parameter used in eclipse:configure-workspace and in
> eclipse:add-maven-repo (which now deprecated by configure-workspace) has to
> point to your workspace directory of eclipse. Not your project directory ?

I mean ${workspace} should point to directory where you want
eclipse:configure-workspace to create eclipse's workspace directory
(ie .metadata) It workout nicely for my team to point ${workspace} to
${basedir} since configure-workspace goal only works
at the top level.


> Generally this parameter is defined in command line or with a property set
> in the user's settings (or hardcoded if all your team has the same
> directories layout).
> And this is the same directory that we need in eclipse:eclipse, that why I
> renamed it to have the same parameter name.
>
> Arnaud
>
>
> On Jan 31, 2008 9:14 PM, Dan Tran <da...@gmail.com> wrote:
>
> > I have <workspace>${basedir}</workspace> to point to the top directory
> > of my multi module project.
> > This element used to be recognizable ONLY  by
> > add-maven-repo/configure-workspace mojos.
> >
> > however, in 2.5 eclipse goal now also recorgizes it at well.  Perhaps
> > eclipse:eclipse goal should have a different mojo's field name for
> > its own's workspace configuration? ( ie projectWorkspace )
> >
> > Thanks
> >
> >
> > -D
> >
> >
> > On Jan 31, 2008 10:32 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > We have to document it. It's due to the workspace configuration
> > parameter.
> > > workspace is now recognized by the eclipse:eclipse goal to find others
> > > projects :
> > > http://jira.codehaus.org/browse/MECLIPSE-344
> > > it should define where is your eclipse workspace.
> > > Why did you use it with ${basedir}?
> > > I'll see why the goal fails if the workspace parameter is wrong. It
> > should
> > > warn us and ignore it.
> > >
> > > Arnaud
> > >
> > >
> > >
> > >
> > > On Jan 31, 2008 6:41 PM, Dan Tran <da...@gmail.com> wrote:
> > >
> > > > I ran into problem during eclipse:eclipse
> > > >
> > > > here is my configuration
> > > >
> > > >        <plugin>
> > > >          <artifactId>maven-eclipse-plugin</artifactId>
> > > >          <version>2.5-SNAPSHOT</version>
> > > >          <configuration>
> > > >            <workspace>${basedir}</workspace>
> > > >            <wtpversion>1.5</wtpversion>
> > > >            <workspaceCodeStylesURL>
> > > >
> > > >
> > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
> > > >            </workspaceCodeStylesURL>
> > > >          </configuration>
> > > >        </plugin>
> > > >
> > > >
> > > >
> > > >
> > =======================================================================
> > > > here is stack trace in one of my module
> > > >
> > > > [INFO] Building ipl-migrate
> > > > [INFO]    task-segment: [eclipse:eclipse]
> > > > [INFO]
> > > >
> > ------------------------------------------------------------------------
> > > > [INFO] Preparing eclipse:eclipse
> > > > [INFO] No goals needed for project - skipping
> > > > [INFO] [eclipse:eclipse]
> > > > [INFO] Adding support for WTP version 1.5.
> > > > [ERROR] Could not read workspace JRE preferences
> > > > java.io.FileNotFoundException:
> > > > C:\dev\iplocks\va\ipl-migrate\.metadata\.plugins\
> > > > org.eclipse.core.runtime\.settings\org.eclipse.jdt.launching.prefs(The
> > > > system c
> > > > annot find the path specified)
> > > >        at java.io.FileInputStream.open(Native Method)
> > > >        at java.io.FileInputStream.<init>(FileInputStream.java:106)
> > > >        at
> > > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readAva
> > > > ilableJREs(ReadWorkspaceLocations.java:424)
> > > >        at
> > > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.detectD
> > > > efaultJREContaigner(ReadWorkspaceLocations.java:191)
> > > >        at
> > > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init(Re
> > > > adWorkspaceLocations.java:89)
> > > >        at
> > > > org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati
> > > > on(EclipsePlugin.java:1343)
> > > >        at
> > > > org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon
> > > > tainers(EclipsePlugin.java:1092)
> > > >        at org.apache.maven.plugin.eclipse.EclipsePlugin.setup(
> > > > EclipsePlugin.jav
> > > > a:662)
> > > >        at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
> > > > (AbstractId
> > > > eSupportMojo.java:502)
> > > >        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > > (DefaultPlugi
> > > > nManager.java:447)
> > > >        at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > > > (Defa
> > > > ultLifecycleExecutor.java:539)
> > > >        at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> > > > Goal(DefaultLifecycleExecutor.java:493)
> > > >        at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > > > (Defau
> > > > ltLifecycleExecutor.java:463)
> > > >        at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > > dleFailures(DefaultLifecycleExecutor.java:311)
> > > >        at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > > ts(DefaultLifecycleExecutor.java:278)
> > > >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > > (DefaultLi
> > > > fecycleExecutor.java:143)
> > > >        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > :333)
> > > >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> > > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> > > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >        at sun.reflect.NativeMethodAccessorImpl.invoke
> > > > (NativeMethodAccessorImpl.
> > > > java:39)
> > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > > (DelegatingMethodAcces
> > > > sorImpl.java:25)
> > > >        at java.lang.reflect.Method.invoke(Method.java:585)
> > > >        at org.codehaus.classworlds.Launcher.launchEnhanced(
> > Launcher.java
> > > > :315)
> > > >        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > >        at org.codehaus.classworlds.Launcher.mainWithExitCode(
> > Launcher.java
> > > > :430)
> > > >
> > > >        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > [ERROR] Could not read workspace wtp server runtimes preferences :
> > > > C:\dev\iplock
> > > >
> > > >
> > s\va\ipl-migrate\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclip
> > > > se.wst.server.core.prefs (The system cannot find the path specified)
> > > > [INFO] Using as WTP server : null
> > > > [INFO] Adding default classpath contaigner:
> > > > org.eclipse.jdt.launching.JRE_CONTAI
> > > > NER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
> > > > [INFO] Using source status cache: C:\dev\iplocks\va\target\mvn-
> > > > eclipse-cache.pro
> > > > perties
> > > > [INFO] Wrote settings to
> > > > C:\dev\iplocks\va\ipl-migrate\.settings\org.eclipse.jdt
> > > > .core.prefs
> > > > [INFO] Wrote Eclipse project for "ipl-migrate" to
> > > > C:\dev\iplocks\va\ipl-migrate.
> > > >
> > > > On Jan 31, 2008 7:27 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > > > Hi all,
> > > > >
> > > > >  We fixed a lot of issues for the version 2.5 of the eclipse plugin
> > and
> > > > > we'll launch the vote to release it in few days.
> > > > >  In this version we improved a lot the support for RAD 6 / RAD 7 and
> > we
> > > > > added  new features like WTP 2.0 support,  MyEclipse support,
> > > >  dependencies
> > > > > to projects in your projects, ... and more.
> > > > >  You can find the complete change log here :
> > > > >
> > > >
> > http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > > > >  If you want to test it before the launch of the vote you have to
> > define
> > > > > and activate this profile :
> > > > >
> > > > >    <profile>
> > > > >      <id>apache.snapshots</id>
> > > > >      <repositories>
> > > > >        <repository>
> > > > >          <releases>
> > > > >            <enabled>false</enabled>
> > > > >          </releases>
> > > > >          <snapshots/>
> > > > >          <id>apache.snapshots</id>
> > > > >          <name>Maven Snapshots</name>
> > > > >          <url>http://people.apache.org/maven-snapshot-repository
> > </url>
> > > > >        </repository>
> > > > >      </repositories>
> > > > >      <pluginRepositories>
> > > > >        <pluginRepository>
> > > > >          <releases>
> > > > >            <enabled>false</enabled>
> > > > >          </releases>
> > > > >          <snapshots/>
> > > > >          <id>apache.plugin.snapshots</id>
> > > > >          <name>Maven Plugin Snapshots</name>
> > > > >          <url>http://people.apache.org/maven-snapshot-repository
> > </url>
> > > > >        </pluginRepository>
> > > > >      </pluginRepositories>
> > > > >    </profile>
> > > > >
> > > > >  And then you can call this command :
> > > > >
> > > > >  mvn
> > org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > > > >
> > > > > (or another mojo).
> > > > >
> > > > > The documentation of the 2.5 was previously deployed by error, thus
> > I
> > > > just
> > > > > updated it to give you the new version.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Arnaud
> > > > >
> > > > > --
> > > > > ..........................................................
> > > > > Arnaud HERITIER
> > > > > ..........................................................
> > > > > OCTO Technology - aheritier AT octo DOT com
> > > > > www.octo.com | blog.octo.com
> > > > > ..........................................................
> > > > > ASF - aheritier AT apache DOT org
> > > > > www.apache.org | maven.apache.org
> > > > > ...........................................................
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > > ..........................................................
> > > Arnaud HERITIER
> > > ..........................................................
> > > OCTO Technology - aheritier AT octo DOT com
> > > www.octo.com | blog.octo.com
> > > ..........................................................
> > > ASF - aheritier AT apache DOT org
> > > www.apache.org | maven.apache.org
> > > ...........................................................
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>

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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
There's something I don't understand.
The workspace parameter used in eclipse:configure-workspace and in
eclipse:add-maven-repo (which now deprecated by configure-workspace) has to
point to your workspace directory of eclipse. Not your project directory ?
Generally this parameter is defined in command line or with a property set
in the user's settings (or hardcoded if all your team has the same
directories layout).
And this is the same directory that we need in eclipse:eclipse, that why I
renamed it to have the same parameter name.

Arnaud

On Jan 31, 2008 9:14 PM, Dan Tran <da...@gmail.com> wrote:

> I have <workspace>${basedir}</workspace> to point to the top directory
> of my multi module project.
> This element used to be recognizable ONLY  by
> add-maven-repo/configure-workspace mojos.
>
> however, in 2.5 eclipse goal now also recorgizes it at well.  Perhaps
> eclipse:eclipse goal should have a different mojo's field name for
> its own's workspace configuration? ( ie projectWorkspace )
>
> Thanks
>
>
> -D
>
>
> On Jan 31, 2008 10:32 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > We have to document it. It's due to the workspace configuration
> parameter.
> > workspace is now recognized by the eclipse:eclipse goal to find others
> > projects :
> > http://jira.codehaus.org/browse/MECLIPSE-344
> > it should define where is your eclipse workspace.
> > Why did you use it with ${basedir}?
> > I'll see why the goal fails if the workspace parameter is wrong. It
> should
> > warn us and ignore it.
> >
> > Arnaud
> >
> >
> >
> >
> > On Jan 31, 2008 6:41 PM, Dan Tran <da...@gmail.com> wrote:
> >
> > > I ran into problem during eclipse:eclipse
> > >
> > > here is my configuration
> > >
> > >        <plugin>
> > >          <artifactId>maven-eclipse-plugin</artifactId>
> > >          <version>2.5-SNAPSHOT</version>
> > >          <configuration>
> > >            <workspace>${basedir}</workspace>
> > >            <wtpversion>1.5</wtpversion>
> > >            <workspaceCodeStylesURL>
> > >
> > >
> http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
> > >            </workspaceCodeStylesURL>
> > >          </configuration>
> > >        </plugin>
> > >
> > >
> > >
> > >
> =======================================================================
> > > here is stack trace in one of my module
> > >
> > > [INFO] Building ipl-migrate
> > > [INFO]    task-segment: [eclipse:eclipse]
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Preparing eclipse:eclipse
> > > [INFO] No goals needed for project - skipping
> > > [INFO] [eclipse:eclipse]
> > > [INFO] Adding support for WTP version 1.5.
> > > [ERROR] Could not read workspace JRE preferences
> > > java.io.FileNotFoundException:
> > > C:\dev\iplocks\va\ipl-migrate\.metadata\.plugins\
> > > org.eclipse.core.runtime\.settings\org.eclipse.jdt.launching.prefs(The
> > > system c
> > > annot find the path specified)
> > >        at java.io.FileInputStream.open(Native Method)
> > >        at java.io.FileInputStream.<init>(FileInputStream.java:106)
> > >        at
> > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readAva
> > > ilableJREs(ReadWorkspaceLocations.java:424)
> > >        at
> > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.detectD
> > > efaultJREContaigner(ReadWorkspaceLocations.java:191)
> > >        at
> > > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init(Re
> > > adWorkspaceLocations.java:89)
> > >        at
> > > org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati
> > > on(EclipsePlugin.java:1343)
> > >        at
> > > org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon
> > > tainers(EclipsePlugin.java:1092)
> > >        at org.apache.maven.plugin.eclipse.EclipsePlugin.setup(
> > > EclipsePlugin.jav
> > > a:662)
> > >        at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
> > > (AbstractId
> > > eSupportMojo.java:502)
> > >        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > (DefaultPlugi
> > > nManager.java:447)
> > >        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > > (Defa
> > > ultLifecycleExecutor.java:539)
> > >        at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> > > Goal(DefaultLifecycleExecutor.java:493)
> > >        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > > (Defau
> > > ltLifecycleExecutor.java:463)
> > >        at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > dleFailures(DefaultLifecycleExecutor.java:311)
> > >        at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > ts(DefaultLifecycleExecutor.java:278)
> > >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > (DefaultLi
> > > fecycleExecutor.java:143)
> > >        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> :333)
> > >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >        at sun.reflect.NativeMethodAccessorImpl.invoke
> > > (NativeMethodAccessorImpl.
> > > java:39)
> > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > > (DelegatingMethodAcces
> > > sorImpl.java:25)
> > >        at java.lang.reflect.Method.invoke(Method.java:585)
> > >        at org.codehaus.classworlds.Launcher.launchEnhanced(
> Launcher.java
> > > :315)
> > >        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >        at org.codehaus.classworlds.Launcher.mainWithExitCode(
> Launcher.java
> > > :430)
> > >
> > >        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > [ERROR] Could not read workspace wtp server runtimes preferences :
> > > C:\dev\iplock
> > >
> > >
> s\va\ipl-migrate\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclip
> > > se.wst.server.core.prefs (The system cannot find the path specified)
> > > [INFO] Using as WTP server : null
> > > [INFO] Adding default classpath contaigner:
> > > org.eclipse.jdt.launching.JRE_CONTAI
> > > NER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
> > > [INFO] Using source status cache: C:\dev\iplocks\va\target\mvn-
> > > eclipse-cache.pro
> > > perties
> > > [INFO] Wrote settings to
> > > C:\dev\iplocks\va\ipl-migrate\.settings\org.eclipse.jdt
> > > .core.prefs
> > > [INFO] Wrote Eclipse project for "ipl-migrate" to
> > > C:\dev\iplocks\va\ipl-migrate.
> > >
> > > On Jan 31, 2008 7:27 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > > Hi all,
> > > >
> > > >  We fixed a lot of issues for the version 2.5 of the eclipse plugin
> and
> > > > we'll launch the vote to release it in few days.
> > > >  In this version we improved a lot the support for RAD 6 / RAD 7 and
> we
> > > > added  new features like WTP 2.0 support,  MyEclipse support,
> > >  dependencies
> > > > to projects in your projects, ... and more.
> > > >  You can find the complete change log here :
> > > >
> > >
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > > >  If you want to test it before the launch of the vote you have to
> define
> > > > and activate this profile :
> > > >
> > > >    <profile>
> > > >      <id>apache.snapshots</id>
> > > >      <repositories>
> > > >        <repository>
> > > >          <releases>
> > > >            <enabled>false</enabled>
> > > >          </releases>
> > > >          <snapshots/>
> > > >          <id>apache.snapshots</id>
> > > >          <name>Maven Snapshots</name>
> > > >          <url>http://people.apache.org/maven-snapshot-repository
> </url>
> > > >        </repository>
> > > >      </repositories>
> > > >      <pluginRepositories>
> > > >        <pluginRepository>
> > > >          <releases>
> > > >            <enabled>false</enabled>
> > > >          </releases>
> > > >          <snapshots/>
> > > >          <id>apache.plugin.snapshots</id>
> > > >          <name>Maven Plugin Snapshots</name>
> > > >          <url>http://people.apache.org/maven-snapshot-repository
> </url>
> > > >        </pluginRepository>
> > > >      </pluginRepositories>
> > > >    </profile>
> > > >
> > > >  And then you can call this command :
> > > >
> > > >  mvn
> org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > > >
> > > > (or another mojo).
> > > >
> > > > The documentation of the 2.5 was previously deployed by error, thus
> I
> > > just
> > > > updated it to give you the new version.
> > > >
> > > > Cheers,
> > > >
> > > > Arnaud
> > > >
> > > > --
> > > > ..........................................................
> > > > Arnaud HERITIER
> > > > ..........................................................
> > > > OCTO Technology - aheritier AT octo DOT com
> > > > www.octo.com | blog.octo.com
> > > > ..........................................................
> > > > ASF - aheritier AT apache DOT org
> > > > www.apache.org | maven.apache.org
> > > > ...........................................................
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> >
> > ..........................................................
> > Arnaud HERITIER
> > ..........................................................
> > OCTO Technology - aheritier AT octo DOT com
> > www.octo.com | blog.octo.com
> > ..........................................................
> > ASF - aheritier AT apache DOT org
> > www.apache.org | maven.apache.org
> > ...........................................................
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Dan Tran <da...@gmail.com>.
I have <workspace>${basedir}</workspace> to point to the top directory
of my multi module project.
This element used to be recognizable ONLY  by
add-maven-repo/configure-workspace mojos.

however, in 2.5 eclipse goal now also recorgizes it at well.  Perhaps
eclipse:eclipse goal should have a different mojo's field name for
its own's workspace configuration? ( ie projectWorkspace )

Thanks


-D


On Jan 31, 2008 10:32 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> We have to document it. It's due to the workspace configuration parameter.
> workspace is now recognized by the eclipse:eclipse goal to find others
> projects :
> http://jira.codehaus.org/browse/MECLIPSE-344
> it should define where is your eclipse workspace.
> Why did you use it with ${basedir}?
> I'll see why the goal fails if the workspace parameter is wrong. It should
> warn us and ignore it.
>
> Arnaud
>
>
>
>
> On Jan 31, 2008 6:41 PM, Dan Tran <da...@gmail.com> wrote:
>
> > I ran into problem during eclipse:eclipse
> >
> > here is my configuration
> >
> >        <plugin>
> >          <artifactId>maven-eclipse-plugin</artifactId>
> >          <version>2.5-SNAPSHOT</version>
> >          <configuration>
> >            <workspace>${basedir}</workspace>
> >            <wtpversion>1.5</wtpversion>
> >            <workspaceCodeStylesURL>
> >
> > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
> >            </workspaceCodeStylesURL>
> >          </configuration>
> >        </plugin>
> >
> >
> >
> > =======================================================================
> > here is stack trace in one of my module
> >
> > [INFO] Building ipl-migrate
> > [INFO]    task-segment: [eclipse:eclipse]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Preparing eclipse:eclipse
> > [INFO] No goals needed for project - skipping
> > [INFO] [eclipse:eclipse]
> > [INFO] Adding support for WTP version 1.5.
> > [ERROR] Could not read workspace JRE preferences
> > java.io.FileNotFoundException:
> > C:\dev\iplocks\va\ipl-migrate\.metadata\.plugins\
> > org.eclipse.core.runtime\.settings\org.eclipse.jdt.launching.prefs (The
> > system c
> > annot find the path specified)
> >        at java.io.FileInputStream.open(Native Method)
> >        at java.io.FileInputStream.<init>(FileInputStream.java:106)
> >        at
> > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readAva
> > ilableJREs(ReadWorkspaceLocations.java:424)
> >        at
> > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.detectD
> > efaultJREContaigner(ReadWorkspaceLocations.java:191)
> >        at
> > org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init(Re
> > adWorkspaceLocations.java:89)
> >        at
> > org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati
> > on(EclipsePlugin.java:1343)
> >        at
> > org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon
> > tainers(EclipsePlugin.java:1092)
> >        at org.apache.maven.plugin.eclipse.EclipsePlugin.setup(
> > EclipsePlugin.jav
> > a:662)
> >        at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
> > (AbstractId
> > eSupportMojo.java:502)
> >        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > (DefaultPlugi
> > nManager.java:447)
> >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> > (Defa
> > ultLifecycleExecutor.java:539)
> >        at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> > Goal(DefaultLifecycleExecutor.java:493)
> >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> > (Defau
> > ltLifecycleExecutor.java:463)
> >        at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > dleFailures(DefaultLifecycleExecutor.java:311)
> >        at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > ts(DefaultLifecycleExecutor.java:278)
> >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > (DefaultLi
> > fecycleExecutor.java:143)
> >        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
> >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >        at sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.
> > java:39)
> >        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAcces
> > sorImpl.java:25)
> >        at java.lang.reflect.Method.invoke(Method.java:585)
> >        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> > :315)
> >        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
> > :430)
> >
> >        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > [ERROR] Could not read workspace wtp server runtimes preferences :
> > C:\dev\iplock
> >
> > s\va\ipl-migrate\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclip
> > se.wst.server.core.prefs (The system cannot find the path specified)
> > [INFO] Using as WTP server : null
> > [INFO] Adding default classpath contaigner:
> > org.eclipse.jdt.launching.JRE_CONTAI
> > NER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
> > [INFO] Using source status cache: C:\dev\iplocks\va\target\mvn-
> > eclipse-cache.pro
> > perties
> > [INFO] Wrote settings to
> > C:\dev\iplocks\va\ipl-migrate\.settings\org.eclipse.jdt
> > .core.prefs
> > [INFO] Wrote Eclipse project for "ipl-migrate" to
> > C:\dev\iplocks\va\ipl-migrate.
> >
> > On Jan 31, 2008 7:27 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > Hi all,
> > >
> > >  We fixed a lot of issues for the version 2.5 of the eclipse plugin and
> > > we'll launch the vote to release it in few days.
> > >  In this version we improved a lot the support for RAD 6 / RAD 7 and we
> > > added  new features like WTP 2.0 support,  MyEclipse support,
> >  dependencies
> > > to projects in your projects, ... and more.
> > >  You can find the complete change log here :
> > >
> > http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > >  If you want to test it before the launch of the vote you have to define
> > > and activate this profile :
> > >
> > >    <profile>
> > >      <id>apache.snapshots</id>
> > >      <repositories>
> > >        <repository>
> > >          <releases>
> > >            <enabled>false</enabled>
> > >          </releases>
> > >          <snapshots/>
> > >          <id>apache.snapshots</id>
> > >          <name>Maven Snapshots</name>
> > >          <url>http://people.apache.org/maven-snapshot-repository</url>
> > >        </repository>
> > >      </repositories>
> > >      <pluginRepositories>
> > >        <pluginRepository>
> > >          <releases>
> > >            <enabled>false</enabled>
> > >          </releases>
> > >          <snapshots/>
> > >          <id>apache.plugin.snapshots</id>
> > >          <name>Maven Plugin Snapshots</name>
> > >          <url>http://people.apache.org/maven-snapshot-repository</url>
> > >        </pluginRepository>
> > >      </pluginRepositories>
> > >    </profile>
> > >
> > >  And then you can call this command :
> > >
> > >  mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > >
> > > (or another mojo).
> > >
> > > The documentation of the 2.5 was previously deployed by error, thus I
> > just
> > > updated it to give you the new version.
> > >
> > > Cheers,
> > >
> > > Arnaud
> > >
> > > --
> > > ..........................................................
> > > Arnaud HERITIER
> > > ..........................................................
> > > OCTO Technology - aheritier AT octo DOT com
> > > www.octo.com | blog.octo.com
> > > ..........................................................
> > > ASF - aheritier AT apache DOT org
> > > www.apache.org | maven.apache.org
> > > ...........................................................
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
>
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>

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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
We have to document it. It's due to the workspace configuration parameter.
workspace is now recognized by the eclipse:eclipse goal to find others
projects :
http://jira.codehaus.org/browse/MECLIPSE-344
it should define where is your eclipse workspace.
Why did you use it with ${basedir}?
I'll see why the goal fails if the workspace parameter is wrong. It should
warn us and ignore it.

Arnaud



On Jan 31, 2008 6:41 PM, Dan Tran <da...@gmail.com> wrote:

> I ran into problem during eclipse:eclipse
>
> here is my configuration
>
>        <plugin>
>          <artifactId>maven-eclipse-plugin</artifactId>
>          <version>2.5-SNAPSHOT</version>
>          <configuration>
>            <workspace>${basedir}</workspace>
>            <wtpversion>1.5</wtpversion>
>            <workspaceCodeStylesURL>
>
> http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
>            </workspaceCodeStylesURL>
>          </configuration>
>        </plugin>
>
>
>
> =======================================================================
> here is stack trace in one of my module
>
> [INFO] Building ipl-migrate
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> [INFO] No goals needed for project - skipping
> [INFO] [eclipse:eclipse]
> [INFO] Adding support for WTP version 1.5.
> [ERROR] Could not read workspace JRE preferences
> java.io.FileNotFoundException:
> C:\dev\iplocks\va\ipl-migrate\.metadata\.plugins\
> org.eclipse.core.runtime\.settings\org.eclipse.jdt.launching.prefs (The
> system c
> annot find the path specified)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at
> org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readAva
> ilableJREs(ReadWorkspaceLocations.java:424)
>        at
> org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.detectD
> efaultJREContaigner(ReadWorkspaceLocations.java:191)
>        at
> org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init(Re
> adWorkspaceLocations.java:89)
>        at
> org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati
> on(EclipsePlugin.java:1343)
>        at
> org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon
> tainers(EclipsePlugin.java:1092)
>        at org.apache.maven.plugin.eclipse.EclipsePlugin.setup(
> EclipsePlugin.jav
> a:662)
>        at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute
> (AbstractId
> eSupportMojo.java:502)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> (DefaultPlugi
> nManager.java:447)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (Defa
> ultLifecycleExecutor.java:539)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> Goal(DefaultLifecycleExecutor.java:493)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> (Defau
> ltLifecycleExecutor.java:463)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (DefaultLi
> fecycleExecutor.java:143)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> :315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
> :430)
>
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [ERROR] Could not read workspace wtp server runtimes preferences :
> C:\dev\iplock
>
> s\va\ipl-migrate\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclip
> se.wst.server.core.prefs (The system cannot find the path specified)
> [INFO] Using as WTP server : null
> [INFO] Adding default classpath contaigner:
> org.eclipse.jdt.launching.JRE_CONTAI
> NER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
> [INFO] Using source status cache: C:\dev\iplocks\va\target\mvn-
> eclipse-cache.pro
> perties
> [INFO] Wrote settings to
> C:\dev\iplocks\va\ipl-migrate\.settings\org.eclipse.jdt
> .core.prefs
> [INFO] Wrote Eclipse project for "ipl-migrate" to
> C:\dev\iplocks\va\ipl-migrate.
>
> On Jan 31, 2008 7:27 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> > Hi all,
> >
> >  We fixed a lot of issues for the version 2.5 of the eclipse plugin and
> > we'll launch the vote to release it in few days.
> >  In this version we improved a lot the support for RAD 6 / RAD 7 and we
> > added  new features like WTP 2.0 support,  MyEclipse support,
>  dependencies
> > to projects in your projects, ... and more.
> >  You can find the complete change log here :
> >
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> >  If you want to test it before the launch of the vote you have to define
> > and activate this profile :
> >
> >    <profile>
> >      <id>apache.snapshots</id>
> >      <repositories>
> >        <repository>
> >          <releases>
> >            <enabled>false</enabled>
> >          </releases>
> >          <snapshots/>
> >          <id>apache.snapshots</id>
> >          <name>Maven Snapshots</name>
> >          <url>http://people.apache.org/maven-snapshot-repository</url>
> >        </repository>
> >      </repositories>
> >      <pluginRepositories>
> >        <pluginRepository>
> >          <releases>
> >            <enabled>false</enabled>
> >          </releases>
> >          <snapshots/>
> >          <id>apache.plugin.snapshots</id>
> >          <name>Maven Plugin Snapshots</name>
> >          <url>http://people.apache.org/maven-snapshot-repository</url>
> >        </pluginRepository>
> >      </pluginRepositories>
> >    </profile>
> >
> >  And then you can call this command :
> >
> >  mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> >
> > (or another mojo).
> >
> > The documentation of the 2.5 was previously deployed by error, thus I
> just
> > updated it to give you the new version.
> >
> > Cheers,
> >
> > Arnaud
> >
> > --
> > ..........................................................
> > Arnaud HERITIER
> > ..........................................................
> > OCTO Technology - aheritier AT octo DOT com
> > www.octo.com | blog.octo.com
> > ..........................................................
> > ASF - aheritier AT apache DOT org
> > www.apache.org | maven.apache.org
> > ...........................................................
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Dan Tran <da...@gmail.com>.
I ran into problem during eclipse:eclipse

here is my configuration

        <plugin>
          <artifactId>maven-eclipse-plugin</artifactId>
          <version>2.5-SNAPSHOT</version>
          <configuration>
            <workspace>${basedir}</workspace>
            <wtpversion>1.5</wtpversion>
            <workspaceCodeStylesURL>
              http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
            </workspaceCodeStylesURL>
          </configuration>
        </plugin>



=======================================================================
here is stack trace in one of my module

[INFO] Building ipl-migrate
[INFO]    task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Adding support for WTP version 1.5.
[ERROR] Could not read workspace JRE preferences
java.io.FileNotFoundException: C:\dev\iplocks\va\ipl-migrate\.metadata\.plugins\
org.eclipse.core.runtime\.settings\org.eclipse.jdt.launching.prefs (The system c
annot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.readAva
ilableJREs(ReadWorkspaceLocations.java:424)
        at org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.detectD
efaultJREContaigner(ReadWorkspaceLocations.java:191)
        at org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations.init(Re
adWorkspaceLocations.java:89)
        at org.apache.maven.plugin.eclipse.EclipsePlugin.getWorkspaceConfigurati
on(EclipsePlugin.java:1343)
        at org.apache.maven.plugin.eclipse.EclipsePlugin.fillDefaultClasspathCon
tainers(EclipsePlugin.java:1092)
        at org.apache.maven.plugin.eclipse.EclipsePlugin.setup(EclipsePlugin.jav
a:662)
        at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractId
eSupportMojo.java:502)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:447)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:493)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:463)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[ERROR] Could not read workspace wtp server runtimes preferences : C:\dev\iplock
s\va\ipl-migrate\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclip
se.wst.server.core.prefs (The system cannot find the path specified)
[INFO] Using as WTP server : null
[INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAI
NER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5
[INFO] Using source status cache: C:\dev\iplocks\va\target\mvn-eclipse-cache.pro
perties
[INFO] Wrote settings to C:\dev\iplocks\va\ipl-migrate\.settings\org.eclipse.jdt
.core.prefs
[INFO] Wrote Eclipse project for "ipl-migrate" to C:\dev\iplocks\va\ipl-migrate.

On Jan 31, 2008 7:27 AM, Arnaud HERITIER <ah...@gmail.com> wrote:
> Hi all,
>
>  We fixed a lot of issues for the version 2.5 of the eclipse plugin and
> we'll launch the vote to release it in few days.
>  In this version we improved a lot the support for RAD 6 / RAD 7 and we
> added  new features like WTP 2.0 support,  MyEclipse support,  dependencies
> to projects in your projects, ... and more.
>  You can find the complete change log here :
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
>  If you want to test it before the launch of the vote you have to define
> and activate this profile :
>
>    <profile>
>      <id>apache.snapshots</id>
>      <repositories>
>        <repository>
>          <releases>
>            <enabled>false</enabled>
>          </releases>
>          <snapshots/>
>          <id>apache.snapshots</id>
>          <name>Maven Snapshots</name>
>          <url>http://people.apache.org/maven-snapshot-repository</url>
>        </repository>
>      </repositories>
>      <pluginRepositories>
>        <pluginRepository>
>          <releases>
>            <enabled>false</enabled>
>          </releases>
>          <snapshots/>
>          <id>apache.plugin.snapshots</id>
>          <name>Maven Plugin Snapshots</name>
>          <url>http://people.apache.org/maven-snapshot-repository</url>
>        </pluginRepository>
>      </pluginRepositories>
>    </profile>
>
>  And then you can call this command :
>
>  mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
>
> (or another mojo).
>
> The documentation of the 2.5 was previously deployed by error, thus I just
> updated it to give you the new version.
>
> Cheers,
>
> Arnaud
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>

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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by nabcos <na...@gmx.net>.
If you produce a complete patch (code, doc, test) before this evening ....
;-)

Well, the patch ist attached
(http://jira.codehaus.org/secure/attachment/33142/javadoc-file-uri.patch),
it is changing one line, and the current junit-test does not even follow the
execution path down that road...

Trying to enhance the test fails for me when there's a NullPointer because
no ArtifactRepository-Object is available (I'm not familiar with maven
code)...

So, please consider to add this one line...

Regards,
Benjamin Hanzelmann

> Hi,
> we found http://jira.codehaus.org/browse/MECLIPSE-399 here which is quite
> annoying,
> but should be an easy fix. Is there still a chance getting this into the
> upcoming release? :-}

-- 
View this message in context: http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16035046.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
Benjamin,
  The fix is good.
  I can't reproduce your problem but I had it a long time ago. There's an
issue open for it. After the 2.5 I'll try to completly refactor the plugin
and I'll use xmlUnit to compare xml files instead of using line per line
checks.
  It's time to release !!! ;-)

Arnaud

On Fri, Mar 14, 2008 at 7:45 PM, Siarhei Dudzin <si...@gmail.com>
wrote:

> I don't think releasing anything with failing tests a good idea no matter
> whether the problem is with the test or with the plugin.
>
> Siarhei
>
> On Fri, Mar 14, 2008 at 11:07 AM, Benjamin Bentmann <
> benjamin.bentmann@udo.edu> wrote:
>
> >
> > > I had to fix the project testcase #10
> >
> > Indeed, we have a tricky thing here: While "file:${M2_REPO}" will expand
> > to
> > a proper URI on Unix, it won't on Windows which would rather need
> > "file:/${M2_REPO}".
> >
> > I added some hackery to AbstractEclipsePluginTestCase.assertFileEquals()
> > to
> > fix the URI read from the expected ".classpath". Please verify the tests
> > are
> > passing on Unix, too.
> >
> > The RadPluginTest.testProject6() is still failing for me because it does
> > not
> > account for XML attributes being unordered. But that's no failure of the
> > plugin itself and shouldn't stop the release.
> >
> >
> > Benjamin
> > --
> > View this message in context:
> >
> http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16047715.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Siarhei Dudzin <si...@gmail.com>.
I don't think releasing anything with failing tests a good idea no matter
whether the problem is with the test or with the plugin.

Siarhei

On Fri, Mar 14, 2008 at 11:07 AM, Benjamin Bentmann <
benjamin.bentmann@udo.edu> wrote:

>
> > I had to fix the project testcase #10
>
> Indeed, we have a tricky thing here: While "file:${M2_REPO}" will expand
> to
> a proper URI on Unix, it won't on Windows which would rather need
> "file:/${M2_REPO}".
>
> I added some hackery to AbstractEclipsePluginTestCase.assertFileEquals()
> to
> fix the URI read from the expected ".classpath". Please verify the tests
> are
> passing on Unix, too.
>
> The RadPluginTest.testProject6() is still failing for me because it does
> not
> account for XML attributes being unordered. But that's no failure of the
> plugin itself and shouldn't stop the release.
>
>
> Benjamin
> --
> View this message in context:
> http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16047715.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Benjamin Bentmann <be...@udo.edu>.
> I had to fix the project testcase #10

Indeed, we have a tricky thing here: While "file:${M2_REPO}" will expand to
a proper URI on Unix, it won't on Windows which would rather need
"file:/${M2_REPO}".

I added some hackery to AbstractEclipsePluginTestCase.assertFileEquals() to
fix the URI read from the expected ".classpath". Please verify the tests are
passing on Unix, too.

The RadPluginTest.testProject6() is still failing for me because it does not
account for XML attributes being unordered. But that's no failure of the
plugin itself and shouldn't stop the release.


Benjamin
-- 
View this message in context: http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16047715.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
Benjamin,I applied your patch but I had to change a little bit the test case
to pass it on MacOS and I had to fix the project testcase #10
Can you test the build of the plugin and the plugin iself please ?
It's too late now to launch the release. It will be for tomorrow.

cheers

On Fri, Mar 14, 2008 at 12:44 AM, Arnaud HERITIER <ah...@gmail.com>
wrote:

> Thanks nabcos and benjamin,
>
>   I'll apply it before to launch the vote.
>   In this case the documentation isn't necessary because it is a bug fix,
> but I prefer to always ask for it ;-)
>
> Thnaks
>
> Arnaud
>
> On Thu, Mar 13, 2008 at 7:38 PM, Benjamin Bentmann <
> benjamin.bentmann@udo.edu> wrote:
>
> >
> > > If you produce a complete patch (code, doc, test) before this evening
> > ....
> >
> > Patch has been extended with unit test, please give it a try.
> >
> > As for the doc: What exactly are you expecting? I mean, the plugin
> > configuration did not change, the issue is just about complying with the
> > URL
> > spec.
> >
> >
> > Benjamin
> > (the other one)
> > --
> > View this message in context:
> > http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16035084.html
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
Thanks nabcos and benjamin,

  I'll apply it before to launch the vote.
  In this case the documentation isn't necessary because it is a bug fix,
but I prefer to always ask for it ;-)

Thnaks

Arnaud

On Thu, Mar 13, 2008 at 7:38 PM, Benjamin Bentmann <
benjamin.bentmann@udo.edu> wrote:

>
> > If you produce a complete patch (code, doc, test) before this evening
> ....
>
> Patch has been extended with unit test, please give it a try.
>
> As for the doc: What exactly are you expecting? I mean, the plugin
> configuration did not change, the issue is just about complying with the
> URL
> spec.
>
>
> Benjamin
> (the other one)
> --
> View this message in context:
> http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16035084.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Benjamin Bentmann <be...@udo.edu>.
> If you produce a complete patch (code, doc, test) before this evening ....

Patch has been extended with unit test, please give it a try.

As for the doc: What exactly are you expecting? I mean, the plugin
configuration did not change, the issue is just about complying with the URL
spec.


Benjamin
(the other one)
-- 
View this message in context: http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16035084.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
If you produce a complete patch (code, doc, test) before this evening ....
;-)

Arnaud
On Thu, Mar 13, 2008 at 4:01 PM, nabcos <na...@gmx.net> wrote:

>
> Hi,
>
> we found http://jira.codehaus.org/browse/MECLIPSE-399 here which is quite
> annoying,
> but should be an easy fix. Is there still a chance getting this into the
> upcoming release? :-}
>
> Regards,
> Benjamin
>
> >
> > no issue found using the latest snapshot with our current devopment
> > env. , looking forward to the vote
> >> I deployed a new SNAPSHOT (maven-eclipse-plugin-2.5-20080309.224617-25)
> >> to
> >> fix MECLIPSE-392. It is the last one before the release. I'll launch
> the
> >> vote this week.
> [...]
> --
> View this message in context:
> http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16025384.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by nabcos <na...@gmx.net>.
Hi,

we found http://jira.codehaus.org/browse/MECLIPSE-399 here which is quite
annoying, 
but should be an easy fix. Is there still a chance getting this into the
upcoming release? :-}

Regards,
Benjamin

> 
> no issue found using the latest snapshot with our current devopment
> env. , looking forward to the vote
>> I deployed a new SNAPSHOT (maven-eclipse-plugin-2.5-20080309.224617-25)
>> to
>> fix MECLIPSE-392. It is the last one before the release. I'll launch the
>> vote this week.
[...]
-- 
View this message in context: http://www.nabble.com/maven-eclipse-plugin-2.5-coming-soon-tp15207954s177p16025384.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by Dan Tran <da...@gmail.com>.
no issue found using the latest snapshot with our current devopment
env. , looking forward to the vote

Thanks,

-D

On Sun, Mar 9, 2008 at 3:55 PM, Arnaud HERITIER <ah...@gmail.com> wrote:
> I deployed a new SNAPSHOT (maven-eclipse-plugin-2.5-20080309.224617-25) to
> fix MECLIPSE-392. It is the last one before the release. I'll launch the
> vote this week.
>
> Cheers
>
> Arnaud.
>
>
> On Fri, Feb 1, 2008 at 1:51 PM, Jim Sellers <ji...@gmail.com> wrote:
>
> > That's wonderful.  Thanks. ;-)
> >
> > Jim
> >
> >
> > On 2/1/08, nicolas de loof <ni...@apache.org> wrote:
> > >
> > > I've tested this patch and applied it with a minor change :
> > >
> > > separator for groupId and artifactId is ":", as used by other maven
> > > plugins
> > > (see maven-assembly-plugin)
> > >
> > > Nico.
> > >
> > > 2008/1/31, Jim Sellers <ji...@gmail.com>:
> > > >
> > > > Do you know if there are plans to include MECLIPSE-79 in 2.5?  I
> > believe
> > > > that it's the most voted for issue and it has a patch attached.
> > > > http://jira.codehaus.org/browse/MECLIPSE-79
> > > >
> > > > Or does anyone know why it's applied?
> > > >
> > > > Thanks for your time,
> > > > Jim
> > > >
> > > >
> > > > On 1/31/08, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > > >
> > > > > Hi all,
> > > > >
> > > > >   We fixed a lot of issues for the version 2.5 of the eclipse plugin
> > > and
> > > > > we'll launch the vote to release it in few days.
> > > > >   In this version we improved a lot the support for RAD 6 / RAD 7
> > and
> > > we
> > > > > added  new features like WTP 2.0 support,  MyEclipse
> > > > > support,  dependencies
> > > > > to projects in your projects, ... and more.
> > > > >   You can find the complete change log here :
> > > > >
> > > > >
> > > >
> > >
> > http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > > > >   If you want to test it before the launch of the vote you have to
> > > > define
> > > > > and activate this profile :
> > > > >
> > > > >     <profile>
> > > > >       <id>apache.snapshots</id>
> > > > >       <repositories>
> > > > >         <repository>
> > > > >           <releases>
> > > > >             <enabled>false</enabled>
> > > > >           </releases>
> > > > >           <snapshots/>
> > > > >           <id>apache.snapshots</id>
> > > > >           <name>Maven Snapshots</name>
> > > > >           <url>http://people.apache.org/maven-snapshot-repository
> > > </url>
> > > > >         </repository>
> > > > >       </repositories>
> > > > >       <pluginRepositories>
> > > > >         <pluginRepository>
> > > > >           <releases>
> > > > >             <enabled>false</enabled>
> > > > >           </releases>
> > > > >           <snapshots/>
> > > > >           <id>apache.plugin.snapshots</id>
> > > > >           <name>Maven Plugin Snapshots</name>
> > > > >           <url>http://people.apache.org/maven-snapshot-repository
> > > </url>
> > > > >         </pluginRepository>
> > > > >       </pluginRepositories>
> > > > >     </profile>
> > > > >
> > > > > And then you can call this command :
> > > > >
> > > > >   mvn
> > > org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > > > >
> > > > > (or another mojo).
> > > > >
> > > > > The documentation of the 2.5 was previously deployed by error, thus
> > I
> > > > just
> > > > > updated it to give you the new version.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Arnaud
> > > > >
> > > > > --
> > > > > ..........................................................
> > > > > Arnaud HERITIER
> > > > > ..........................................................
> > > > > OCTO Technology - aheritier AT octo DOT com
> > > > > www.octo.com | blog.octo.com
> > > > > ..........................................................
> > > > > ASF - aheritier AT apache DOT org
> > > > > www.apache.org | maven.apache.org
> > > > > ...........................................................
> > > > >
> > > >
> > >
> >
>
>
>
> --
>
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>

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


Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
I deployed a new SNAPSHOT (maven-eclipse-plugin-2.5-20080309.224617-25) to
fix MECLIPSE-392. It is the last one before the release. I'll launch the
vote this week.

Cheers

Arnaud.

On Fri, Feb 1, 2008 at 1:51 PM, Jim Sellers <ji...@gmail.com> wrote:

> That's wonderful.  Thanks. ;-)
>
> Jim
>
>
> On 2/1/08, nicolas de loof <ni...@apache.org> wrote:
> >
> > I've tested this patch and applied it with a minor change :
> >
> > separator for groupId and artifactId is ":", as used by other maven
> > plugins
> > (see maven-assembly-plugin)
> >
> > Nico.
> >
> > 2008/1/31, Jim Sellers <ji...@gmail.com>:
> > >
> > > Do you know if there are plans to include MECLIPSE-79 in 2.5?  I
> believe
> > > that it's the most voted for issue and it has a patch attached.
> > > http://jira.codehaus.org/browse/MECLIPSE-79
> > >
> > > Or does anyone know why it's applied?
> > >
> > > Thanks for your time,
> > > Jim
> > >
> > >
> > > On 1/31/08, Arnaud HERITIER <ah...@gmail.com> wrote:
> > > >
> > > > Hi all,
> > > >
> > > >   We fixed a lot of issues for the version 2.5 of the eclipse plugin
> > and
> > > > we'll launch the vote to release it in few days.
> > > >   In this version we improved a lot the support for RAD 6 / RAD 7
> and
> > we
> > > > added  new features like WTP 2.0 support,  MyEclipse
> > > > support,  dependencies
> > > > to projects in your projects, ... and more.
> > > >   You can find the complete change log here :
> > > >
> > > >
> > >
> >
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > > >   If you want to test it before the launch of the vote you have to
> > > define
> > > > and activate this profile :
> > > >
> > > >     <profile>
> > > >       <id>apache.snapshots</id>
> > > >       <repositories>
> > > >         <repository>
> > > >           <releases>
> > > >             <enabled>false</enabled>
> > > >           </releases>
> > > >           <snapshots/>
> > > >           <id>apache.snapshots</id>
> > > >           <name>Maven Snapshots</name>
> > > >           <url>http://people.apache.org/maven-snapshot-repository
> > </url>
> > > >         </repository>
> > > >       </repositories>
> > > >       <pluginRepositories>
> > > >         <pluginRepository>
> > > >           <releases>
> > > >             <enabled>false</enabled>
> > > >           </releases>
> > > >           <snapshots/>
> > > >           <id>apache.plugin.snapshots</id>
> > > >           <name>Maven Plugin Snapshots</name>
> > > >           <url>http://people.apache.org/maven-snapshot-repository
> > </url>
> > > >         </pluginRepository>
> > > >       </pluginRepositories>
> > > >     </profile>
> > > >
> > > > And then you can call this command :
> > > >
> > > >   mvn
> > org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > > >
> > > > (or another mojo).
> > > >
> > > > The documentation of the 2.5 was previously deployed by error, thus
> I
> > > just
> > > > updated it to give you the new version.
> > > >
> > > > Cheers,
> > > >
> > > > Arnaud
> > > >
> > > > --
> > > > ..........................................................
> > > > Arnaud HERITIER
> > > > ..........................................................
> > > > OCTO Technology - aheritier AT octo DOT com
> > > > www.octo.com | blog.octo.com
> > > > ..........................................................
> > > > ASF - aheritier AT apache DOT org
> > > > www.apache.org | maven.apache.org
> > > > ...........................................................
> > > >
> > >
> >
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Jim Sellers <ji...@gmail.com>.
That's wonderful.  Thanks. ;-)

Jim


On 2/1/08, nicolas de loof <ni...@apache.org> wrote:
>
> I've tested this patch and applied it with a minor change :
>
> separator for groupId and artifactId is ":", as used by other maven
> plugins
> (see maven-assembly-plugin)
>
> Nico.
>
> 2008/1/31, Jim Sellers <ji...@gmail.com>:
> >
> > Do you know if there are plans to include MECLIPSE-79 in 2.5?  I believe
> > that it's the most voted for issue and it has a patch attached.
> > http://jira.codehaus.org/browse/MECLIPSE-79
> >
> > Or does anyone know why it's applied?
> >
> > Thanks for your time,
> > Jim
> >
> >
> > On 1/31/08, Arnaud HERITIER <ah...@gmail.com> wrote:
> > >
> > > Hi all,
> > >
> > >   We fixed a lot of issues for the version 2.5 of the eclipse plugin
> and
> > > we'll launch the vote to release it in few days.
> > >   In this version we improved a lot the support for RAD 6 / RAD 7 and
> we
> > > added  new features like WTP 2.0 support,  MyEclipse
> > > support,  dependencies
> > > to projects in your projects, ... and more.
> > >   You can find the complete change log here :
> > >
> > >
> >
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> > >   If you want to test it before the launch of the vote you have to
> > define
> > > and activate this profile :
> > >
> > >     <profile>
> > >       <id>apache.snapshots</id>
> > >       <repositories>
> > >         <repository>
> > >           <releases>
> > >             <enabled>false</enabled>
> > >           </releases>
> > >           <snapshots/>
> > >           <id>apache.snapshots</id>
> > >           <name>Maven Snapshots</name>
> > >           <url>http://people.apache.org/maven-snapshot-repository
> </url>
> > >         </repository>
> > >       </repositories>
> > >       <pluginRepositories>
> > >         <pluginRepository>
> > >           <releases>
> > >             <enabled>false</enabled>
> > >           </releases>
> > >           <snapshots/>
> > >           <id>apache.plugin.snapshots</id>
> > >           <name>Maven Plugin Snapshots</name>
> > >           <url>http://people.apache.org/maven-snapshot-repository
> </url>
> > >         </pluginRepository>
> > >       </pluginRepositories>
> > >     </profile>
> > >
> > > And then you can call this command :
> > >
> > >   mvn
> org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> > >
> > > (or another mojo).
> > >
> > > The documentation of the 2.5 was previously deployed by error, thus I
> > just
> > > updated it to give you the new version.
> > >
> > > Cheers,
> > >
> > > Arnaud
> > >
> > > --
> > > ..........................................................
> > > Arnaud HERITIER
> > > ..........................................................
> > > OCTO Technology - aheritier AT octo DOT com
> > > www.octo.com | blog.octo.com
> > > ..........................................................
> > > ASF - aheritier AT apache DOT org
> > > www.apache.org | maven.apache.org
> > > ...........................................................
> > >
> >
>

Re: maven-eclipse-plugin 2.5 coming soon

Posted by nicolas de loof <ni...@apache.org>.
I've tested this patch and applied it with a minor change :

separator for groupId and artifactId is ":", as used by other maven plugins
(see maven-assembly-plugin)

Nico.

2008/1/31, Jim Sellers <ji...@gmail.com>:
>
> Do you know if there are plans to include MECLIPSE-79 in 2.5?  I believe
> that it's the most voted for issue and it has a patch attached.
> http://jira.codehaus.org/browse/MECLIPSE-79
>
> Or does anyone know why it's applied?
>
> Thanks for your time,
> Jim
>
>
> On 1/31/08, Arnaud HERITIER <ah...@gmail.com> wrote:
> >
> > Hi all,
> >
> >   We fixed a lot of issues for the version 2.5 of the eclipse plugin and
> > we'll launch the vote to release it in few days.
> >   In this version we improved a lot the support for RAD 6 / RAD 7 and we
> > added  new features like WTP 2.0 support,  MyEclipse
> > support,  dependencies
> > to projects in your projects, ... and more.
> >   You can find the complete change log here :
> >
> >
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> >   If you want to test it before the launch of the vote you have to
> define
> > and activate this profile :
> >
> >     <profile>
> >       <id>apache.snapshots</id>
> >       <repositories>
> >         <repository>
> >           <releases>
> >             <enabled>false</enabled>
> >           </releases>
> >           <snapshots/>
> >           <id>apache.snapshots</id>
> >           <name>Maven Snapshots</name>
> >           <url>http://people.apache.org/maven-snapshot-repository</url>
> >         </repository>
> >       </repositories>
> >       <pluginRepositories>
> >         <pluginRepository>
> >           <releases>
> >             <enabled>false</enabled>
> >           </releases>
> >           <snapshots/>
> >           <id>apache.plugin.snapshots</id>
> >           <name>Maven Plugin Snapshots</name>
> >           <url>http://people.apache.org/maven-snapshot-repository</url>
> >         </pluginRepository>
> >       </pluginRepositories>
> >     </profile>
> >
> > And then you can call this command :
> >
> >   mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> >
> > (or another mojo).
> >
> > The documentation of the 2.5 was previously deployed by error, thus I
> just
> > updated it to give you the new version.
> >
> > Cheers,
> >
> > Arnaud
> >
> > --
> > ..........................................................
> > Arnaud HERITIER
> > ..........................................................
> > OCTO Technology - aheritier AT octo DOT com
> > www.octo.com | blog.octo.com
> > ..........................................................
> > ASF - aheritier AT apache DOT org
> > www.apache.org | maven.apache.org
> > ...........................................................
> >
>

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Arnaud HERITIER <ah...@gmail.com>.
We effectively resolved all issues with a greater priority ;-)
I will have a look at it to see if it's easy to add with a test case (and if
it doesn't break something).

Arnaud

On Jan 31, 2008 9:00 PM, Jim Sellers <ji...@gmail.com> wrote:

> Do you know if there are plans to include MECLIPSE-79 in 2.5?  I believe
> that it's the most voted for issue and it has a patch attached.
> http://jira.codehaus.org/browse/MECLIPSE-79
>
> Or does anyone know why it's applied?
>
> Thanks for your time,
> Jim
>
>
> On 1/31/08, Arnaud HERITIER <ah...@gmail.com> wrote:
> >
> > Hi all,
> >
> >   We fixed a lot of issues for the version 2.5 of the eclipse plugin and
> > we'll launch the vote to release it in few days.
> >   In this version we improved a lot the support for RAD 6 / RAD 7 and we
> > added  new features like WTP 2.0 support,  MyEclipse
> > support,  dependencies
> > to projects in your projects, ... and more.
> >   You can find the complete change log here :
> >
> >
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> >   If you want to test it before the launch of the vote you have to
> define
> > and activate this profile :
> >
> >     <profile>
> >       <id>apache.snapshots</id>
> >       <repositories>
> >         <repository>
> >           <releases>
> >             <enabled>false</enabled>
> >           </releases>
> >           <snapshots/>
> >           <id>apache.snapshots</id>
> >           <name>Maven Snapshots</name>
> >           <url>http://people.apache.org/maven-snapshot-repository</url>
> >         </repository>
> >       </repositories>
> >       <pluginRepositories>
> >         <pluginRepository>
> >           <releases>
> >             <enabled>false</enabled>
> >           </releases>
> >           <snapshots/>
> >           <id>apache.plugin.snapshots</id>
> >           <name>Maven Plugin Snapshots</name>
> >           <url>http://people.apache.org/maven-snapshot-repository</url>
> >         </pluginRepository>
> >       </pluginRepositories>
> >     </profile>
> >
> > And then you can call this command :
> >
> >   mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
> >
> > (or another mojo).
> >
> > The documentation of the 2.5 was previously deployed by error, thus I
> just
> > updated it to give you the new version.
> >
> > Cheers,
> >
> > Arnaud
> >
> > --
> > ..........................................................
> > Arnaud HERITIER
> > ..........................................................
> > OCTO Technology - aheritier AT octo DOT com
> > www.octo.com | blog.octo.com
> > ..........................................................
> > ASF - aheritier AT apache DOT org
> > www.apache.org | maven.apache.org
> > ...........................................................
> >
>



-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Jim Sellers <ji...@gmail.com>.
Do you know if there are plans to include MECLIPSE-79 in 2.5?  I believe
that it's the most voted for issue and it has a patch attached.
http://jira.codehaus.org/browse/MECLIPSE-79

Or does anyone know why it's applied?

Thanks for your time,
Jim


On 1/31/08, Arnaud HERITIER <ah...@gmail.com> wrote:
>
> Hi all,
>
>   We fixed a lot of issues for the version 2.5 of the eclipse plugin and
> we'll launch the vote to release it in few days.
>   In this version we improved a lot the support for RAD 6 / RAD 7 and we
> added  new features like WTP 2.0 support,  MyEclipse
> support,  dependencies
> to projects in your projects, ... and more.
>   You can find the complete change log here :
>
> http://jira.codehaus.org/browse/MECLIPSE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
>   If you want to test it before the launch of the vote you have to define
> and activate this profile :
>
>     <profile>
>       <id>apache.snapshots</id>
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>false</enabled>
>           </releases>
>           <snapshots/>
>           <id>apache.snapshots</id>
>           <name>Maven Snapshots</name>
>           <url>http://people.apache.org/maven-snapshot-repository</url>
>         </repository>
>       </repositories>
>       <pluginRepositories>
>         <pluginRepository>
>           <releases>
>             <enabled>false</enabled>
>           </releases>
>           <snapshots/>
>           <id>apache.plugin.snapshots</id>
>           <name>Maven Plugin Snapshots</name>
>           <url>http://people.apache.org/maven-snapshot-repository</url>
>         </pluginRepository>
>       </pluginRepositories>
>     </profile>
>
> And then you can call this command :
>
>   mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
>
> (or another mojo).
>
> The documentation of the 2.5 was previously deployed by error, thus I just
> updated it to give you the new version.
>
> Cheers,
>
> Arnaud
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Siarhei Dudzin <si...@gmail.com>.
Arnaud, please don't loose this one
http://jira.codehaus.org/browse/MECLIPSE-316 :)
There is also a minor RAD issue coming, I'll put it in JIRA in a few...

Siarhei

Re: maven-eclipse-plugin 2.5 coming soon

Posted by Martin Höller <ma...@xss.co.at>.
Hi!

On Thursday 31 January 2008 wrote Arnaud HERITIER:

>   We fixed a lot of issues for the version 2.5 of the eclipse plugin and
> we'll launch the vote to release it in few days.

I'm using it here and it works without problems (beside the one I just 
reported).

- martin
-- 
Martin Höller                   | martin.hoeller@xss.co.at
*x Software + Systeme           | http://www.xss.co.at/
Karmarschgasse 51/2/20          | Tel: +43-1-6060114-30
A-1100 Vienna, Austria          | Fax: +43-1-6060114-71