Hi Brian,

Please refer to this guide
http://maven.apache.org/guides/development/guide-testing-development-plugins.html

Regards,
-allan

Brian Burridge wrote:

Do I have to define something to tell Maven to go to that repository? When
it fails it seems to indicate that it only checked the one repository.

Reason: Unable to download the artifact from any repository

 org.codehaus.mojo:jdepend-maven-plugin:pom:2.0-beta-1-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

brian

On 2/9/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
because they are snapshots, and go to other repo
http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo

On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote:
Why is it that when I go to
http://www.ibiblio.org/maven2/org/codehaus/mojo/I don't see either the
findbugs or jdepends plugins in there?

Brian

On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote:
This is the first time I've used Maven in over a year, so the first
time
I've tried these plugins with this repository.

brian

On 2/9/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:

Have you changed your repositories? it should look into the snapshot
repo

On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote:
I get the same errors:

[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: jdepend-maven-plugin
Version: 2.0-beta-1-SNAPSHOT

Reason: Unable to download the artifact from any repository

 org.codehaus.mojo:jdepend-maven-plugin:pom:2.0-beta-1-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException : Unable to
build
project for plugin 'org.codehaus.mojo:jdepend-maven-plugin': POM '
org.codehaus.mojo:jdepend-maven-plugin' not found in repository:
Unable to
download the artifact from any repository

 org.codehaus.mojo:jdepend-maven-plugin:pom:2.0-beta-1-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2 )


On 2/9/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
Instructions in the site are wrong

                <groupId> org.codehaus.mojo</groupId>
                <artifactId>jdepend-maven-plugin</artifactId>
                <version>2.0-beta-1-SNAPSHOT</version>

something similar to findbugs

     <groupId>org.codehaus.mojo</groupId>
     <artifactId>findbugs-maven-plugin</artifactId>
     <version>1.0-SNAPSHOT</version>



On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote:
I have the same problem with the find bugs plugin. Here is the
error
message:

Caused by: org.apache.maven.plugin.InvalidPluginException:
Unable
to
build
project for plugin '
org.apache.maven.plugins:maven-findbugs-plugin': POM
'
org.apache.maven.plugins:maven-findbugs-plugin' not found in
repository:
Unable to download the artifact from any repository


org.apache.maven.plugins:maven-findbugs-plugin:pom:1.0-SNAPSHOT
from the specified remote repositories:
 central (http://repo1.maven.org/maven2 )

       at

org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(
DefaultPluginManager.java:268)
       at

org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin
(
DefaultPluginManager.java:185)
       at
org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(
DefaultPluginManager.java:490)
       at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(
DefaultLifecycleExecutor.java:1258)
       ... 19 more
Caused by: org.apache.maven.project.ProjectBuildingException:
POM
'
org.apache.maven.plugins:maven-findbugs-plugin' not found in
repository:
Unable to download the artifact from any repository

AND

Caused by:
org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

 org.codehaus.mojo:maven-jdepend-plugin:pom:1.0-SNAPSHOT

from the specified remote repositories:
 central ( http://repo1.maven.org/maven2)

       at

org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(
DefaultArtifactResolver.java:136)
       at

org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(
DefaultArtifactResolver.java:63)
       at

org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository
(
DefaultMavenProjectBuilder.java:386)
       ... 24 more
Caused by:
org.apache.maven.wagon.ResourceDoesNotExistException :
Unable
to
download the artifact from any repository
       at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java :260)
       at

org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve
(
DefaultArtifactResolver.java:124)
       ... 26 more


On 2/9/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
Then please post the output. May it be a timeout with
ibiblio
being
slow?
On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote:
I'm not sure if this is what he means, but I tried to add
that
plugin to
my
POM today, and when I ran mvn site, it was unable to
download
jpend
into
my
repository.

brian

On 2/9/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
What do you mean with " the plugin not connect to
repository."?
On 2/9/06, Silva, Vandermi Joao Da <
[EMAIL PROTECTED]
wrote:

I would like to know, how can I configure in the my
POM.xml the
jdepend
plugin report, because I try insert the configuration
below
, but
the
plugin
not connect to repository.
See below the XML.

<reporting>
         <plugins>
             <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>maven-jdepend-plugin</artifactId>
                <version>1.0-SNAPSHOT</version>
             </plugin>
         </plugins>
</reporting>


Best Regards


                Vandermi Jo�o da Silva
R&D MAO - Core Engines
BenQ Eletroeletr�nica Ltda.

TEL +55(92) 2127-8015
Mobile: +55(92) 8125-2248
FAX +55(92) 2127-8102
[EMAIL PROTECTED]
www.BenQMobile.com
Rua Jo�o Alfredo, 536 - Edif�cio Gabriela
Bairro S�o Geraldo
CEP: 69053-270 - Manaus/AM
Brasil


---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to