Hi
I've a fresh new maven 2.5 install with the following settings: ------------- <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository>w:/mvn-repository</localRepository> <usePluginRegistry>false</usePluginRegistry> <interactiveMode>true</interactiveMode> <proxies> <proxy> <id>xxs</id> <active>true</active> <protocol>http</protocol> <host>172.31.22.1</host> <port>8080</port> </proxy> </proxies> <mirrors> <mirror> <id>ibiblio.org</id> <name>ibiblio Mirror of http://repo1.maven.org/maven2/</name> <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url> <mirrorOf>central</mirrorOf> </mirror> .... ------------------------------------------------------ I'm trying to compile a project but when I did mvn compile I got the error: ----------------------------------------------------- mvn compile [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------- --- [INFO] Building ws [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------- --- Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour ces-plugin/2.0/maven-resources-plugin-2.0.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi n:pom:2.0' from repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour ces-plugin/2.0/maven-resources-plugin-2.0.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi n:pom:2.0' from repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-resources-plugin Reason: POM 'org.apache.maven.plugins:maven-resources-plugin' not found in repos itory: Unable to download the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 42 seconds [INFO] Finished at: Thu Feb 22 12:17:50 CET 2007 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ ------------------------------------------------------------------- I've tried to delete maven-resources-plugin folder from plugins and the I did: mvn -X -cpu compile but I got the error: ------------------------------------------------------ mvn -X -cpu compile + Error stacktraces are turned on. Maven version: 2.0.5 [DEBUG] Building Maven user-level plugin registry from: 'D:\asf1\usersnt\K049118 \.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'd:\maven\conf\plugin- registry.xml' [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------- --- [INFO] Building ws [INFO] task-segment: [compile] [INFO] ------------------------------------------------------------------------- --- [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour ces-plugin/2.0/maven-resources-plugin-2.0.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi n:pom:2.0' from repository central (http://repo1.maven.org/maven2) [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resour ces-plugin/2.0/maven-resources-plugin-2.0.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-resources-plugi n:pom:2.0' from repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-resources-plugin Reason: POM 'org.apache.maven.plugins:maven-resources-plugin' not found in repos itory: Unable to download the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'org.apache.maven.plugins:maven-resources-plugin': POM 'org.apache.ma ven.plugins:maven-resources-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1274) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor (DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP ackaging(DefaultLifecycleExecutor.java:1016) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl eMappings(DefaultLifecycleExecutor.java:980) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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:597) 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) Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build proje ct for plugin 'org.apache.maven.plugins:maven-resources-plugin': POM 'org.apache .maven.plugins:maven-resources-plugin' not found in repository: Unable to downlo ad the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersio n(DefaultPluginManager.java:268) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De faultPluginManager.java:186) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:166) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1257) ... 18 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.ma ven.plugins:maven-resources-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo sitory(DefaultMavenProjectBuilder.java:528) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito ry(DefaultMavenProjectBuilder.java:228) at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersio n(DefaultPluginManager.java:252) ... 21 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.apache.maven.plugins:maven-resources-plugin:pom:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De faultArtifactResolver.java:197) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De faultArtifactResolver.java:73) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo sitory(DefaultMavenProjectBuilder.java:482) ... 23 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to downl oad the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def aultWagonManager.java:308) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De faultArtifactResolver.java:185) ... 25 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 42 seconds [INFO] Finished at: Thu Feb 22 12:20:25 CET 2007 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ ------------------------------------------------------------ I thought it could be that mvn wasn´t reading my settings so I forced it with -s option with same results.... :( I did everything I can to solve the problem. Ideas about how to solve it are welcome.... Thanks in advance J -- View this message in context: http://www.nabble.com/Problem-with-resources-plugin-tf3272234s177.html#a9098190 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]