Try to run "eclipse:eclipse" using -U to update all plugins.

Kind Regards

On 5/3/07, Borut Bolčina <[EMAIL PROTECTED]> wrote:

Hello,

checking out

svn checkout https://svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/
tacos-project

and then

mvn eclipse:eclipse

inside tacos-project directory

gives me:

[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org/codehaus/plexus/util/IOUtil
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/codehaus/plexus/util/IOUtil
        at
org.apache.maven.plugin.ide.AbstractIdeSupportMojo.resolveSourceArtifacts(
AbstractIdeSupportMojo.ja
va:878)
        at org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(
AbstractIdeSupportMojo.java:416)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:539)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal
(DefaultLifecycleExecutor.
java:493)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(
DefaultLifecycleExecutor.java:463)
        at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleEx
ecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.ja
va:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 23 seconds
[INFO] Finished at: Thu May 03 17:34:54 CEST 2007
[INFO] Final Memory: 6M/11M
[INFO]
------------------------------------------------------------------------


Running the second time gives me:

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Tacos - 4.1.0-SNAPSHOT
[INFO]   Tacos Core - 4.1.0-SNAPSHOT
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]

----------------------------------------------------------------------------
[INFO] Building Tacos - 4.1.0-SNAPSHOT
[INFO]    task-segment: [eclipse:eclipse]
[INFO]

----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Not running eclipse plugin goal for pom project
[INFO]

----------------------------------------------------------------------------
[INFO] Building Tacos Core - 4.1.0-SNAPSHOT
[INFO]    task-segment: [eclipse:eclipse]
[INFO]

----------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse]
[INFO] Using source status cache: C:\Documents and
Settings\Borut\Desktop\Workspace\tacos-project\target\mvn-e
clipse-cache.properties
[INFO] Wrote settings to C:\Documents and
Settings\Borut\Desktop\Workspace\tacos-project\tacos-core\.settings\
org.eclipse.jdt.core.prefs
[INFO] Creating maven-eclipse.xml Ant file to handle resources
[INFO] Creating external launcher file
[INFO] Wrote Eclipse project for "tacos-core" to C:\Documents and
Settings\Borut\Desktop\Workspace\tacos-proje
ct\tacos-core.
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] Tacos - 4.1.0-SNAPSHOT ................................ SUCCESS [
0.921s]
[INFO] Tacos Core - 4.1.0-SNAPSHOT ........................... SUCCESS [
1.063s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu May 03 17:35:04 CEST 2007
[INFO] Final Memory: 5M/10M
[INFO]
------------------------------------------------------------------------


On one workstation I could then import the tacos-core as existing project
and on one I couldn't. Strange at least.

-Borut




--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com
  • Re: eclipse:eclipse Marcos Silva Pereira

Reply via email to