[ http://jira.codehaus.org/browse/MNGECLIPSE-148?page=comments#action_68884 ]
Eugene Kuleshov commented on MNGECLIPSE-148: -------------------------------------------- Do you see this error when running Maven from the command line? Do you have any proxy configured for Eclipse (anywhere) or in Maven configs? Is that jar actually downloaded completely and correct? Anyways, I still not convinced that this is issue with the plugin. > Trying to build Goal: package fails on "[INFO] artifact > org.apache.maven.plugins:maven-surefire-plugin: checking for updates from > central" > ------------------------------------------------------------------------------------------------------------------------------------------ > > Key: MNGECLIPSE-148 > URL: http://jira.codehaus.org/browse/MNGECLIPSE-148 > Project: Maven 2.x Extension for Eclipse > Type: Bug > Components: Dependency Resolver > Versions: 0.0.9 > Environment: Suse Linux > Eclipse 3.2RC7 > Reporter: Gabe Schnaubelt > Assignee: Eugene Kuleshov > Attachments: pom.xml > > > [DEBUG] Found 0 components to load on start > [DEBUG] Building Maven user-level plugin registry from: > '/users/gtschnau/.m2/plugin-registry.xml' > [DEBUG] Building Maven global-level settings from: > '/fs32/c/gtschnau/workspace/simpletest/conf/settings.xml' > [DEBUG] Building Maven user-level settings from: > '/users/gtschnau/.m2/settings.xml' > [DEBUG] gabe.simpletest:simpletest:jar:0.0.1 (selected for null) > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Unnamed - gabe.simpletest:simpletest:jar:0.0.1 > [INFO] task-segment: [package] > [INFO] > ---------------------------------------------------------------------------- > [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository > central > [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for > project: null:maven-resources-plugin:maven-plugin:2.2 from the repository. > [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: > org.apache.maven.plugins:maven-plugins:pom:1 from the repository. > [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: > org.apache.maven:maven-parent:pom:1 from the repository. > [DEBUG] Found 0 components to load on start > [DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository > central > [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for > project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the repository. > [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: > org.apache.maven.plugins:maven-plugins:pom:1 from the repository. > [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: > org.apache.maven:maven-parent:pom:1 from the repository. > [DEBUG] Found 0 components to load on start > [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for > updates from central > [WARN] repository metadata for: 'artifact > org.apache.maven.plugins:maven-surefire-plugin' could not be retrieved from > repository: central due to an error: Error transferring file > [INFO] Repository 'central' will be blacklisted > [DEBUG] Exception Error transferring file > [DEBUG] maven-surefire-plugin: using locally installed snapshot > [DEBUG] Artifact not found - using stub model: Unable to determine the latest > version > org.apache.maven.plugins:maven-surefire-plugin:pom:LATEST > [DEBUG] Using defaults for missing POM > org.apache.maven.plugins:maven-surefire-plugin:pom:LATEST > [DEBUG] maven-surefire-plugin: using locally installed snapshot > [DEBUG] Artifact not found - using stub model: Unable to determine the > release version > org.apache.maven.plugins:maven-surefire-plugin:pom:RELEASE > [DEBUG] Using defaults for missing POM > org.apache.maven.plugins:maven-surefire-plugin:pom:RELEASE > [ERROR] project-execute : gabe.simpletest:simpletest:jar:0.0.1 ( > task-segment: [package] ) > Diagnosis: The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does > not exist or no valid version could be found > FATAL ERROR: Error executing Maven for a project > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin > 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid > version could be found > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) > at > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:441) > at > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382) > at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68) > Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: > The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or > no valid version could be found > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225) > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87) > at > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252) > ... 10 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira