hi william,
thanks for your answer, though same problem still exists. i removed
0.0.10 m2eclipse (by deleteting respective jars in eclipse folders
plugin/ and features/) and replaced them with 0.0.11.20070603-1200
version. it seems to use the proper version, because in
Preferences->Maven i can see a form, asking for user and global settings.
but unfortunately still same problem: command-line mvn works fine
eclipse plugin is not.
it seems (already with 0.0.10) that it looks for HOME/.m2/settings.xml,
because when making settings.xml crappy (non wellformed XML) m2eclipse
tells me that there is something wrong with the file. so it must somehow
try to parse it.
I think you'll find if you switch to the
found at
http://m2eclipse.codehaus.org/update-dev/
You will get your profiles as it allows configuration of the location of
the user and global settings files.
William
-----Original Message-----
From: manuel aldana [mailto:[EMAIL PROTECTED]
Sent: Sunday, 19 August 2007 8:51 PM
To: [email protected]
Subject: [***POSSIBLE SPAM***] - [m2eclipse-user] possible bug:
<repositories> in settings.xml ignored - Email found in subject
hi,
i am using m2eclipse 0.0.10. inside eclipse accessing dependencies in
repositories configured in HOME/.m2/settings.xml does not work.
following settings.xml:
<settings>
<profiles>
<profile>
<id>internal</id>
<repositories>
<repository>
<id>internalRep</id>
<name>Internal Repository</name>
<url>file:///d:/repository/</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>internal</activeProfile>
</activeProfiles>
</settings>
when trying to access a dependency, which exists only in internal
repository, m2eclipse cannot resolve it and thus not download it. when
working with commandline resolving/downloading with same settings.xml
works. is this a bug or maybe i need to configure something inside
m2eclipse (though i think m2eclipse should use default behaviour...).
thanks for information.
--
manuel aldana
[EMAIL PROTECTED]
homepage: http://www.aldana-online.de
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--
manuel aldana
[EMAIL PROTECTED]
homepage: http://www.aldana-online.de
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email