you can just add MAVEN_REPO as a java build classpath variable, point to
directory from within Eclipse GUI
Adrian
At 10/12/2005 04:58 PM, Siegfried Heintze wrote:
Thanks,
I tried that and I still get the red squigglies! I even tried stopping and
restarting eclipse.
Maybe I'm specifying the maven repository incorrectly. I'm just using the
default that maven 1.0.2 set up. Does this look like a correct value for
maven_repo in eclipse? (I noticed Eclipse 3.1 already had a maven_repo
variable, but it had no value set)(.
C:/Documents and Settings/Administrator/.maven/repository
Here is my c:/Documents and
Settings/Administrator/workspace/finance_yahoo/project.properties file -- I
assume this is the file they were talking about in
http://maven.apache.org/reference/plugins/eclipse/properties.html . Again,
I'm using the defaults:
# Project property file for finance_yahoo
maven.eclipse.workspace=c:\\Documents and
Settings\\Administrator\\workspace\\
Woops -- that line is not supposed to have wrapped.
Here is what I get when I use that command:
$ maven eclipse:add-maven-repo
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
eclipse:add-maven-repo:
[propertyfile] Creating new property file: C:\Documents and
Settings\Adminis
trator\workspace\.metadata\.plugins\org.eclipse.jdt.core\pref_store.ini
BUILD SUCCESSFUL
Total time: 1 seconds
Finished at: Wed Oct 12 17:44:28 MDT 2005
[EMAIL PROTECTED] /c/Documents and
Settings/Administrator/workspace/financ
e_yahoo
$
-----Original Message-----
From: Anthony Kong [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 5:08 PM
To: 'Maven Users List'
Subject: RE: Wanted: Help getting first Eclipse/Maven program running
You can take a look at the maven eclipse plugin for a start.
(http://maven.apache.org/reference/plugins/eclipse/goals.html)
In partciular, the goal "eclipse:add-maven-repo" should be able to help you
out to make the dependencies visible in eclipse.
Cheers,
AK
org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Regards,
Adrian Zaharie
ParaSoft Corporation
(888) 305-0041 x 1229
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]