You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ANA FARIÑAS RODRIGUEZ <an...@yahoo.es> on 2011/03/05 19:25:43 UTC
question
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.
Re: Question on packaging types, maven-install and maven ejb/ear
plugin
Posted by Pablo <pa...@anahata-it.com>.
There's also a difference between the packaging type (ejb) and the file
extension (jar) so to me there's something to do. ;)
I have created the issue in the jira [0] and attached the patch. The
CarModule currently hardcodes the changing .car to .jar.
>> If you want to add an official support in the ear plugin, your
packaging type should be backed by the community. Is this the case?
Yes, this is just i would like. JEE spec defininf four types of modules
that can be bundled in an EAR:
1. ejb,
2. war,
3. car (application client),
4. rar (resource adapter),
I dont see why maven has not got packaging type 'car' already for app
clients..
No I was not aware of Geronimos car packaging type. but it has nothing
to do with this. To me doesn't matter calling it car or acr. (app client
archive). But I do feel is needed.
Let me know if there is anything else i can do to contribute or how to
raise the new packaging type to the community.
[0]
http://jira.codehaus.org/browse/MEAR-137
Pablo.
On 03/07/2011 08:43 PM, Stephane Nicoll wrote:
> There's a difference between the packaging type (car) and the file
> extension (jar) so there's nothing to do actually.
>
> That being said, there's already a 'car' type out there in Geronimo
> [1]. Are you aware of this? If you want to add an official support in
> the ear plugin, your packaging type should be backed by the community.
> Is this the case?
>
> Thanks,
> Stéphane
>
>
> [1] http://geronimo.apache.org/maven/server/maven-plugins/car-maven-plugin
>
> On Mon, Mar 7, 2011 at 12:41 PM, Pablo <pablo@anahata-it.com
> <ma...@anahata-it.com>> wrote:
>
> Cool,
>
> I added that to my META-INF/plexus/components.xml
>
> <component>
> <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
> <role-hint>car</role-hint>
> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
> <configuration>
> <type>car</type>
> <extension>jar</extension>
> <language>java</language>
> <addedToClasspath>true</addedToClasspath>
> </configuration>
> </component>
>
> Looks good, gets installed in the repo as .jar (50% done)
>
> The problem is that the maven-ear-plugin resolves it to .car again
>
> Copying artifact[ejb:com.mycompany:MavenEar-ejb:1.0-SNAPSHOT]
> to[MavenEar-ejb-1.0-SNAPSHOT.jar]
> Copying
> artifact[jar:com.mycompany:maven-app-client-attempt:1.0-SNAPSHOT]
> to[maven-app-client-attempt-1.0-SNAPSHOT.car]
>
> And that's how it gets written to application.xml too
>
> <module>
> <java>maven-app-client-attempt-1.0-SNAPSHOT.car</java>
> </module>
>
> Now i just need the maven-ear-plugin to handle it as .jar. Know
> how to do this?
>
>
>
>
>
>
> On 03/07/2011 07:28 PM, Benjamin Bentmann wrote:
>> Pablo wrote:
>>
>>> The behaviour i want is the same as the maven-ejb-plugin:
>>> Defines an ejb
>>> packaging type but the artifact gets installed in the repo as a
>>> .jar and
>>> gets bundled in the ear as .jar too.
>>
>> The relevant magic is called an artifact handler. See [0] and
>> look for the EJB case.
>>
>>
>> Benjamin
>>
>>
>> [0]
>> http://svn.apache.org/repos/asf/maven/maven-3/trunk/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml
>>
>> ---------------------------------------------------------------------
>>
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> <ma...@maven.apache.org>
>> For additional commands, e-mail: dev-help@maven.apache.org
>> <ma...@maven.apache.org>
>>
>
>
> --
>
> Pablo Rodriguez Pina
> Director
> Anahata Technologies PTY LTD
> Phone 04 1091 5078
> E-mail pablo@anahata-it.com <ma...@anahata-it.com>
> Web anahata-it.com <http://www.anahata-it.com>
>
>
--
Pablo Rodriguez Pina
Director
Anahata Technologies PTY LTD
Phone 04 1091 5078
E-mail pablo@anahata-it.com <ma...@anahata-it.com>
Web anahata-it.com <http://www.anahata-it.com>
Re: Question on packaging types, maven-install and maven ejb/ear plugin
Posted by Stephane Nicoll <st...@gmail.com>.
There's a difference between the packaging type (car) and the file extension
(jar) so there's nothing to do actually.
That being said, there's already a 'car' type out there in Geronimo [1]. Are
you aware of this? If you want to add an official support in the ear plugin,
your packaging type should be backed by the community. Is this the case?
Thanks,
Stéphane
[1] http://geronimo.apache.org/maven/server/maven-plugins/car-maven-plugin
On Mon, Mar 7, 2011 at 12:41 PM, Pablo <pa...@anahata-it.com> wrote:
> Cool,
>
> I added that to my META-INF/plexus/components.xml
>
> <component>
> <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
> <role-hint>car</role-hint>
>
> <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
> <configuration>
> <type>car</type>
> <extension>jar</extension>
> <language>java</language>
> <addedToClasspath>true</addedToClasspath>
> </configuration>
> </component>
>
> Looks good, gets installed in the repo as .jar (50% done)
>
> The problem is that the maven-ear-plugin resolves it to .car again
>
> Copying artifact[ejb:com.mycompany:MavenEar-ejb:1.0-SNAPSHOT]
> to[MavenEar-ejb-1.0-SNAPSHOT.jar]
> Copying artifact[jar:com.mycompany:maven-app-client-attempt:1.0-SNAPSHOT]
> to[maven-app-client-attempt-1.0-SNAPSHOT.car]
>
> And that's how it gets written to application.xml too
>
> <module>
> <java>maven-app-client-attempt-1.0-SNAPSHOT.car</java>
> </module>
>
> Now i just need the maven-ear-plugin to handle it as .jar. Know how to do
> this?
>
>
>
>
>
>
> On 03/07/2011 07:28 PM, Benjamin Bentmann wrote:
>
> Pablo wrote:
>
> The behaviour i want is the same as the maven-ejb-plugin: Defines an ejb
> packaging type but the artifact gets installed in the repo as a .jar and
> gets bundled in the ear as .jar too.
>
>
> The relevant magic is called an artifact handler. See [0] and look for the
> EJB case.
>
>
> Benjamin
>
>
> [0]
> http://svn.apache.org/repos/asf/maven/maven-3/trunk/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
> --
> Pablo Rodriguez Pina
> Director
> Anahata Technologies PTY LTD
> Phone 04 1091 5078
> E-mail pablo@anahata-it.com
> Web anahata-it.com <http://www.anahata-it.com>
>
Re: Question on packaging types, maven-install and maven ejb/ear
plugin
Posted by Pablo <pa...@anahata-it.com>.
Cool,
I added that to my META-INF/plexus/components.xml
<component>
<role>org.apache.maven.artifact.handler.ArtifactHandler</role>
<role-hint>car</role-hint>
<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
<configuration>
<type>car</type>
<extension>jar</extension>
<language>java</language>
<addedToClasspath>true</addedToClasspath>
</configuration>
</component>
Looks good, gets installed in the repo as .jar (50% done)
The problem is that the maven-ear-plugin resolves it to .car again
Copying artifact[ejb:com.mycompany:MavenEar-ejb:1.0-SNAPSHOT]
to[MavenEar-ejb-1.0-SNAPSHOT.jar]
Copying
artifact[jar:com.mycompany:maven-app-client-attempt:1.0-SNAPSHOT]
to[maven-app-client-attempt-1.0-SNAPSHOT.car]
And that's how it gets written to application.xml too
<module>
<java>maven-app-client-attempt-1.0-SNAPSHOT.car</java>
</module>
Now i just need the maven-ear-plugin to handle it as .jar. Know how to
do this?
On 03/07/2011 07:28 PM, Benjamin Bentmann wrote:
> Pablo wrote:
>
>> The behaviour i want is the same as the maven-ejb-plugin: Defines an ejb
>> packaging type but the artifact gets installed in the repo as a .jar and
>> gets bundled in the ear as .jar too.
>
> The relevant magic is called an artifact handler. See [0] and look for
> the EJB case.
>
>
> Benjamin
>
>
> [0]
> http://svn.apache.org/repos/asf/maven/maven-3/trunk/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
--
Pablo Rodriguez Pina
Director
Anahata Technologies PTY LTD
Phone 04 1091 5078
E-mail pablo@anahata-it.com <ma...@anahata-it.com>
Web anahata-it.com <http://www.anahata-it.com>
Re: Question on packaging types, maven-install and maven ejb/ear
plugin
Posted by Benjamin Bentmann <be...@udo.edu>.
Pablo wrote:
> The behaviour i want is the same as the maven-ejb-plugin: Defines an ejb
> packaging type but the artifact gets installed in the repo as a .jar and
> gets bundled in the ear as .jar too.
The relevant magic is called an artifact handler. See [0] and look for
the EJB case.
Benjamin
[0]
http://svn.apache.org/repos/asf/maven/maven-3/trunk/maven-core/src/main/resources/META-INF/plexus/artifact-handlers.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Question on packaging types, maven-install and maven ejb/ear plugin
Posted by Pablo <pa...@anahata-it.com>.
Hi,
I am trying to come out with a plugin to detect and process JEE
application clients.
I created a new packaging type called 'car' through
META-INF/plexus/components.xml
(http://maven-car-plugin.googlecode.com/svn/trunk/maven-car-plugin/src/main/resources/META-INF/plexus/components.xml)
and a corresponding mojo for JEE app clients. I have pretty much
followed the same steps as the maven-ejb-plugin.
The behaviour i want is the same as the maven-ejb-plugin: Defines an ejb
packaging type but the artifact gets installed in the repo as a .jar and
gets bundled in the ear as .jar too.
I believe must be configurable some how because ejb packaging type gets
installed as .jar but war packaging type produces a .war.
The problem in my case is that a .car file gets installed in the repo
and a .car file gets bundled in the ear.
Does anyone know how to make sure it gets installed in the repo as a
.jar file?
*//*
Regards,
Pablo.
RE: question
Posted by ANA FARIÑAS RODRIGUEZ <an...@yahoo.es>.
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 <mg...@hotmail.com> escribió:
De: Martin Gainty <mg...@hotmail.com>
Asunto: RE: question
Para: dev@maven.apache.org
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: anifarinhas@yahoo.es
> Subject: question
> To: dev@maven.apache.org
>
>
>
> 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.
>
>
>
>
>
>
>
RE: question
Posted by Martin Gainty <mg...@hotmail.com>.
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: anifarinhas@yahoo.es
> Subject: question
> To: dev@maven.apache.org
>
>
>
> 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.
>
>
>
>
>
>
>