You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Torsten Curdt <tc...@apache.org> on 2006/05/24 14:51:53 UTC

cannot find plugin

Lots printed (see below) ...but I still cannot figure out why it
actually failed. It says "using locally found snapshot" ...and then
cannot find the plugin!?!

...any why is repository "central" disabled? I have this in my pom

	<repositories>
		<repository>
			<id>apache-snapshots</id>
			<name>Apache Maven2 Repository</name>
			<url>http://cvs.apache.org/maven-snapshot-repository</url>
		</repository>
		<repository>
			<id>codehaus-snapshot</id>
			<name>Maven snapshot Repository</name>
			<url>http://snapshots.maven.codehaus.org/maven2</url>
		</repository>
	</repositories>


shodan:~/dev/jakarta/bcel tcurdt$ mvn -X site
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from:
'/Users/tcurdt/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/Users/tcurdt/Library/Java/m2/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building bcel
[INFO]    task-segment: [site]
[INFO] ----------------------------------------------------------------------------
[DEBUG] maven-site-plugin: resolved to version 2.0-SNAPSHOT from local
repository
[DEBUG] Skipping disabled repository central
[DEBUG] maven-site-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1 for project:
null:maven-site-plugin:maven-plugi
n:2.0-SNAPSHOT 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] maven-site-plugin: using locally installed snapshot
[DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository central
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugin-parent::2.0 for project:
null:maven-compiler-plugin
:maven-plugin:2.0 from the repository.
[DEBUG] maven-surefire-plugin: resolved to version 2.2-SNAPSHOT from
local repository
[DEBUG] Skipping disabled repository central
[DEBUG] maven-surefire-plugin: using locally installed snapshot
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::1 for project:
null:maven-surefire-plugin:maven-p
lugin:2.2-SNAPSHOT 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] maven-surefire-plugin: using locally installed snapshot
[DEBUG] maven-site-plugin: using locally installed snapshot
[DEBUG] Skipping disabled repository central
[DEBUG] Skipping disabled repository central
[DEBUG] findbugs-maven-plugin: resolved to version
1.0-20060209.222358-1 from repository codehaus-snapshot
[DEBUG] Retrieving parent-POM:
org.codehaus.mojo:mojo-sandbox::2-SNAPSHOT for project:
null:findbugs-maven-plugin:maven-
plugin:1.0-20060209.222358-1 from the repository.
[DEBUG] Skipping disabled repository central
[DEBUG] Skipping disabled repository central
[DEBUG] mojo-sandbox: resolved to version 2-20060213.034901-2 from
repository codehaus-snapshot
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project:
null:mojo-sandbox:pom:2-SNAPSHOT from the reposito
ry.
[DEBUG] findbugs-maven-plugin: using locally installed snapshot
[DEBUG] Skipping disabled repository central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: Unable to downl
oad the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.codehaus.mojo
-DartifactId=findbugs-maven-plugin \
        -Dversion=1.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file


  org.codehaus.mojo:findbugs-maven-plugin:maven-plugin:1.0-SNAPSHOT

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org