Thank you for your answer, but I have the same problem
 
I have the log ... 
 
 
 
 
mvn clean eclipse:clean eclipse:eclipse -Declipse -Dlocalds install 
-Dmaven.test.skip
 

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   e-Commerce Logistics ~ Project
[INFO]   e-Commerce Logistics ~ Common
[INFO]   e-Commerce Logistics ~ Data Access Layer
[INFO]   e-Commerce Logistics ~ Core
[INFO]   e-Commerce Logistics ~ Webapp
[INFO]   e-Commerce Logistics ~ Webservices
[INFO]   e-Commerce Logistics ~ EAR
[INFO] ------------------------------------------------------------------------
[INFO] Building e-Commerce Logistics ~ Project
[INFO]    task-segment: [clean, eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse {execution: default-cli}]
[INFO] Not running eclipse plugin goal for pom project
[INFO] Adding support for WTP version 2.0.
[INFO] Using Eclipse Workspace: C:\IBM\WCDE_ENT7\workspace
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\IBM\SDP\runtimes\base_v7\java\jre
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\IBM\SDP\runtimes\base_v6_stub\java\jre
[INFO] no substring wtp server match.
[INFO] Using as WTP server : WebSphere Application Server v7.0
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER
[INFO] ------------------------------------------------------------------------
[INFO] Building e-Commerce Logistics ~ Common
[INFO]    task-segment: [clean, eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse {execution: default-cli}]
[INFO] Adding support for WTP version 2.0.
[INFO] Using Eclipse Workspace: C:\IBM\WCDE_ENT7\workspace
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\IBM\SDP\runtimes\base_v7\java\jre
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\IBM\SDP\runtimes\base_v6_stub\java\jre
[INFO] no substring wtp server match.
[INFO] Using as WTP server : WebSphere Application Server v7.0
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER
[WARNING] POM for 'com.ibm.icu:icu4j:pom:3.4.4:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] Wrote settings to C:\IBM\WCDE_ENT7\workspace\logistics2\common\.settings\
org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "eclogistics-common" to C:\IBM\WCDE_ENT7\worksp
ace\logistics2\common.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building e-Commerce Logistics ~ Data Access Layer
[INFO]    task-segment: [clean, eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse {execution: default-cli}]
[INFO] Adding support for WTP version 2.0.
[INFO] Using Eclipse Workspace: C:\IBM\WCDE_ENT7\workspace
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\IBM\SDP\runtimes\base_v7\java\jre
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\IBM\SDP\runtimes\base_v6_stub\java\jre
[INFO] no substring wtp server match.
[INFO] Using as WTP server : WebSphere Application Server v7.0
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER
[WARNING] POM for 'com.ibm.icu:icu4j:pom:3.4.4:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] Wrote settings to C:\IBM\WCDE_ENT7\workspace\logistics2\dal\.settings\org
.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "eclogistics-dal" to C:\IBM\WCDE_ENT7\workspace
\logistics2\dal.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building e-Commerce Logistics ~ Core
[INFO]    task-segment: [clean, eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] [eclipse:eclipse {execution: default-cli}]
[INFO] Adding support for WTP version 2.0.
[INFO] Using Eclipse Workspace: C:\IBM\WCDE_ENT7\workspace
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\IBM\SDP\runtimes\base_v7\java\jre
[WARNING] Workspace defines a VM that does not contain a valid jre/lib/rt.jar: C
:\IBM\SDP\runtimes\base_v6_stub\java\jre
[INFO] no substring wtp server match.
[INFO] Using as WTP server : WebSphere Application Server v7.0
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER
Downloading: file:////axinic/mavenrepo/com/ibm/mq-jms/6.0.1.1/mq-jms-6.0.1.1.pom
[INFO] Unable to find resource 'com.ibm:mq-jms:pom:6.0.1.1' in repository Indite
x (file:////axinic/mavenrepo)
Downloading: http://repository.jboss.org/maven2//com/ibm/mq-jms/6.0.1.1/mq-jms-6
.0.1.1.pom
[INFO] Unable to find resource 'com.ibm:mq-jms:pom:6.0.1.1' in repository jboss
(http://repository.jboss.org/maven2/)
Downloading: http://ejb3unit.sourceforge.net/maven2/com/ibm/mq-jms/6.0.1.1/mq-jm
s-6.0.1.1.pom
[INFO] Unable to find resource 'com.ibm:mq-jms:pom:6.0.1.1' in repository ejb3un
it (http://ejb3unit.sourceforge.net/maven2)
Downloading: http://repo1.maven.org/maven2/com/ibm/mq-jms/6.0.1.1/mq-jms-6.0.1.1
.pom
[INFO] Unable to find resource 'com.ibm:mq-jms:pom:6.0.1.1' in repository centra
l (http://repo1.maven.org/maven2)
[WARNING] POM for 'com.ibm.icu:icu4j:pom:3.4.4:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] Wrote settings to C:\IBM\WCDE_ENT7\workspace\logistics2\core\.settings\or
g.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "eclogistics-core" to C:\IBM\WCDE_ENT7\workspac
e\logistics2\core.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building e-Commerce Logistics ~ Webapp
[INFO]    task-segment: [clean, eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Preparing eclipse:eclipse
[INFO] [buildnumber:create {execution: default}]
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[INFO] Working directory: C:\IBM\WCDE_ENT7\workspace\logistics2\web
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Index: 0, Size: 0
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:546)
        at java.util.ArrayList.get(ArrayList.java:321)
        at org.codehaus.mojo.build.CreateMojo.getRevision(CreateMojo.java:581)
        at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:414)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecy
cle(DefaultLifecycleExecutor.java:1205)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Def
aultLifecycleExecutor.java:1038)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:643)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
        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:592)
        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: 8 seconds
[INFO] Finished at: Mon Mar 07 09:20:13 CET 2011
[INFO] Final Memory: 19M/34M
[INFO] ------------------------------------------------------------------------

 
 
Thank you.
 


--- El dom, 6/3/11, Martin Gainty <[email protected]> escribió:


De: Martin Gainty <[email protected]>
Asunto: RE: question
Para: [email protected]
Fecha: domingo, 6 de marzo, 2011 03:28



maven-eclipse-plugin site is located at 
http://maven.apache.org/plugins/maven-eclipse-plugin

svn co 
http://svn.apache.org/repos/asf/maven/plugins/tags/maven-eclipse-plugin-2.8 .
mvn -e -X compile
mvn -e -X package

mvn -e -X install:install-file -DgroupId=org.apache.maven.plugins 
-DartifactId=maven-eclipse-plugin -Dversion=2.8 -Dfile=pom. -Dpackaging=pom
deploy or 
cp  /target/maven-eclipse-plugin-2.8.jar 
$USERPROFILE/.m2/repository/org/apache/maven/plugins/2.8

mvn -e -X eclipse:to-maven
//Add eclipse artifacts from an eclipse installation to the local repo

eclipse:install-plugins 
//installs all resolved project dependencies of a particular type 
(usually 'eclipse-plugin') into the specified Eclipse installation 
directory.

eclipse:eclipse
//generates the Eclipse configuration files (.projects) to 
/src/test/resources/projects

no problemo 
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.






> Date: Sat, 5 Mar 2011 18:25:43 +0000
> From: [email protected]
> Subject: question
> To: [email protected]
> 
> 
> 
> Hi,
> 
> I have a IDE eclipse, WAS (Wesphere Apliccation SErver 7.0), jdk1.5. I have a 
> repository with Maven's libraries.
> 
> When I writte  :   >>   mvn clean eclipse:eclipse , I receive some errors :
> 
> 1 .-  Unable resource or not found the libraries :  icu4j.jar (6.0.1) and 
> mq-qs 4.1. ..jar.
> 
> 2.-   jre/rt.jar is not valid.
> 
> 3.-  arrayoutofboundsexception
> 
> At this moment, I haven't the logs but on Monday I can catch it. 
> 
> Thank you in advanced for your answer.
> 
> 
> 
> 
> 
> 
>       
                          


      

Reply via email to