You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mac-Systems <ma...@mac-systems.de> on 2008/06/15 18:46:27 UTC

Surefire Plugin 2.4.3 -> Plugin not found

Hello,

Im try to "mavenize" on of my Projects..

I try to user Surefire Plugin by:

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.4.3</version>
                </plugin>


I have proper Proxy Settings, but i always get

 >mvn -U Site

[INFO]    task-segment: [site]
[INFO] 
------------------------------------------------------------------------
Downloading: 
http://repository.codehaus.org/org/codehaus/mojo//org/apache/maven/
plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi
re-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefi
re-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-surefire-plugin

Reason: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found 
in reposi
tory: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-surefire-plugin:pom:2.4.3

from the specified remote repositories:
  Codehaus mojo (http://repository.codehaus.org/org/codehaus/mojo/),
  central (http://repo1.maven.org/maven2)
 for project org.apache.maven.plugins:maven-surefire-plugin


Anyone can tell whats wrong ?

PS: Using maven 2.08

regards,
Jens




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


Re: Surefire Plugin 2.4.3 -> Plugin not found

Posted by Mac-Systems <ma...@mac-systems.de>.
Wendy Smoak schrieb:
> On Sun, Jun 15, 2008 at 10:08 AM, Mac-Systems
> <ma...@mac-systems.de> wrote:
>
>   
>> I Tested with and without Proxy settings, no success.
>> Also i use -U to force update.
>> I also removed any repo (codehaus) in my POM.
>> Cleared whole repository.
>>
>> No Success :(
>>
>> Last Option maven 2.09, but well i dont thing it's is really a maven problem
>> at all.
>> Actually also clean plugin is missing (local repo cleaned) which also causes
>> a problem now.
>>     
>
> It really sounds like Maven is unable to contact the remote
> repository, so I suspect the proxy configuration is not correct.
>
> What has changed since it last worked for you?  (You had the clean
> plugin in your local repo, so it must have worked at some point?)
>
>   
Clean worked before (until global local repo removed). I renamed 
settings.xml to test without proxy config.
One thing makes my curious : how maven determine the version of the 
clean plugin ?
I havent specified this anywhere, so for me it seems  maven can access 
the central repo.

- Jens

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


Re: Surefire Plugin 2.4.3 -> Plugin not found

Posted by Wendy Smoak <ws...@gmail.com>.
On Sun, Jun 15, 2008 at 10:08 AM, Mac-Systems
<ma...@mac-systems.de> wrote:

> I Tested with and without Proxy settings, no success.
> Also i use -U to force update.
> I also removed any repo (codehaus) in my POM.
> Cleared whole repository.
>
> No Success :(
>
> Last Option maven 2.09, but well i dont thing it's is really a maven problem
> at all.
> Actually also clean plugin is missing (local repo cleaned) which also causes
> a problem now.

It really sounds like Maven is unable to contact the remote
repository, so I suspect the proxy configuration is not correct.

What has changed since it last worked for you?  (You had the clean
plugin in your local repo, so it must have worked at some point?)

-- 
Wendy

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


Re: Surefire Plugin 2.4.3 -> Plugin not found

Posted by Mac-Systems <ma...@mac-systems.de>.
I Tested with and without Proxy settings, no success.
Also i use -U to force update.
I also removed any repo (codehaus) in my POM.
Cleared whole repository.

No Success :(

Last Option maven 2.09, but well i dont thing it's is really a maven 
problem at all.
Actually also clean plugin is missing (local repo cleaned) which also 
causes a problem now.

- Jens

> On Sun, Jun 15, 2008 at 9:46 AM, Mac-Systems <ma...@mac-systems.de> wrote:
>
>   
>> I have proper Proxy Settings, but i always get
>>     
> ...
>   
>> [ERROR] BUILD ERROR
>>     
> ...
>   
>> Reason: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in
>> repository: Unable to download the artifact from any repository
>>     
> ...
>   
>>  org.apache.maven.plugins:maven-surefire-plugin:pom:2.4.3
>> Anyone can tell whats wrong ?
>> PS: Using maven 2.08
>>     
>
> Did it fail once today by any chance, before you added your http proxy
> configuration?
>
> Try it with -U on the command line, or delete the plugin from your
> local repository.  This will force Maven to download the plugin again.
>  (The messages may say it's trying, but I don't think it actually
> is... if it cached the earlier failure, it won't try again until
> tomorrow.)
>
> You can also upgrade to Maven 2.0.9, I believe it handles this situation better.
>
>   


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


Re: Surefire Plugin 2.4.3 -> Plugin not found

Posted by Wendy Smoak <ws...@gmail.com>.
On Sun, Jun 15, 2008 at 9:46 AM, Mac-Systems <ma...@mac-systems.de> wrote:

> I have proper Proxy Settings, but i always get
...
> [ERROR] BUILD ERROR
...
> Reason: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in
> repository: Unable to download the artifact from any repository
...
>  org.apache.maven.plugins:maven-surefire-plugin:pom:2.4.3
> Anyone can tell whats wrong ?
> PS: Using maven 2.08

Did it fail once today by any chance, before you added your http proxy
configuration?

Try it with -U on the command line, or delete the plugin from your
local repository.  This will force Maven to download the plugin again.
 (The messages may say it's trying, but I don't think it actually
is... if it cached the earlier failure, it won't try again until
tomorrow.)

You can also upgrade to Maven 2.0.9, I believe it handles this situation better.

-- 
Wendy

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