Anyone to explain me the problem ? I don't understand why Maven doesn't download automatically new dependencies while it does when it is called by Runas => Maven package.
Thanks Damien 2008/10/3 Damien Lecan <[EMAIL PROTECTED]>: > Hello, > > I'm working with Eclipse 3.4.1 and M2Eclipse 0.9.6. > > When I add a new dependency in poms, this dependency is not > automatically downloaded when pom is saved. I get an error in pom > (cannot find artifact ...) and the console shows : > > 03/10/08 14:24:11 CEST: [DEBUG] Reading global settings from: null > 03/10/08 14:24:11 CEST: [DEBUG] Settings file is null. Returning null. > 03/10/08 14:24:11 CEST: [DEBUG] Reading user settings from: > C:\Documents and Settings\my.user\.m2\settings.xml > 03/10/08 14:24:11 CEST: [DEBUG] Reading global settings from: null > 03/10/08 14:24:11 CEST: [DEBUG] Settings file is null. Returning null. > 03/10/08 14:24:11 CEST: [DEBUG] Reading user settings from: > C:\Documents and Settings\my.user\.m2\settings.xml > 03/10/08 14:24:11 CEST: [DEBUG] Scanning for extensions: > D:\workspaces\workspace\project-parent\pom.xml > 03/10/08 14:24:11 CEST: [DEBUG] Activated the following profiles for > standalone super-pom: [] > 03/10/08 14:24:11 CEST: [DEBUG] Pre-scanning POM lineage of: > D:\workspaces\workspace\project-parent\pom.xml for build extensions. > 03/10/08 14:24:11 CEST: [DEBUG] Building model-lineage for: > D:\workspaces\workspace\project-parent\pom.xml to pre-scan for > extensions. > 03/10/08 14:24:11 CEST: [DEBUG] Checking for external profiles in: > D:\workspaces\workspace\project-parent\profiles.xml > 03/10/08 14:24:11 CEST: [DEBUG] Trying repository central > 03/10/08 14:24:11 CEST: [INFO] Using mirror: internal-repository for > repository: central > (mirror url: http://repo.internal.lan/maven/content/groups/public/) > 03/10/08 14:24:11 CEST: [DEBUG] Unable to get resource > 'my.company:my.dependency:pom:1' from repository central > (http://repo1.maven.org/maven2) Error transferring file > 03/10/08 14:24:11 CEST: [INFO] Using mirror: internal-repository for > repository: central > (mirror url: http://repo.internal.lan/maven/content/groups/public/) > > Monitoring of nexus repository through Apache doesn't show any HTTP request. > > But if I do right-click=>run as=>Maven package, this dependency is downloaded. > > What's wrong with my configuration ? > > Thanks > > Damien > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email