Hi there,

See inline message

[EMAIL PROTECTED] wrote:

Hello All,

I am a newbie to Maven2, it worked great when I followed instructions to create a sample project. But I\'ve 2 issues:

1) When I did
mvn eclipse:eclipse

It generated the Eclipse project and stuff and also added the M2_REPO variable with following name

M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar

and value to

M2_REPO/Documents and Settings/user/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar

and I get an error in eclipse saying

Required library cannot denote external folder.

I\'m using eclipse 3.0

Can you paste your stacktrace?

2) the other problem, I want to add my company\'s jars to the repository, can anyone please explain how can i do that.

You can use deploy:deploy-file plugin to install your jars to your company's repository. See http://docs.codehaus.org/display/MAVENUSER/FAQs and look for the question "How do I install artifacts in a remote repository?"

Please refer to this page to use the SNAPSHOT version of the deploy-plugin
http://maven.apache.org/guides/development/guide-testing-development-plugins.html


thanks for help


khurram.

This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates


------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/195 - Release Date: 12/8/2005

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to