You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by anshree123 <an...@tcs.com> on 2009/10/06 06:38:46 UTC

The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found

Hi,
I am working with ServiceMix ESB and for that i need to use Maven.
I created a simple pom.xml file:
<?xml version="1.0" encoding="utf-8"?>
<project 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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.servicemix.tutorial</groupId>
  <artifactId>parent</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>Tutorial</name>
  <url>http://servicemix.org</url>
</project>

and then ran the command mvn install.
I am getting the following error
[anushree@3D27 project1]$ mvn install
/home/anushree/java-jdk/jdk1.5.0_18
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Tutorial
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
updates from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-site-plugin' could not be retrieved from
repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 42 seconds
[INFO] Finished at: Tue Oct 06 10:04:47 IST 2009
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

I am new at Maven so not able to figure out the problem. I have done the
proxy settings in ../.m2/settings.xml file still the problem persists.
Please help me out..
Thanks..
-- 
View this message in context: http://www.nabble.com/The-plugin-%27org.apache.maven.plugins%3Amaven-site-plugin%27-does-not-exist-or-no-valid-version-could-be-found-tp25762828p25762828.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found

Posted by anshree123 <an...@tcs.com>.
Hi Thanks for your reply.
I have removed the comment markings.
I think i am missing something out in configuration.
I have just modified the proxy settings.
Is there anything else i need ot modify??

Regards,
Anushree


Wayne Fay wrote:
> 
>> I am new at Maven so not able to figure out the problem. I have done the
>> proxy settings in ../.m2/settings.xml file still the problem persists.
> 
> Generally, this occurs when you have configured things in your
> settings.xml file, but failed to delete the XML comment markings <!--
> and --> that surround the configuration block. As a result, your
> configuration is ignored.
> 
> Wayne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/The-plugin-%27org.apache.maven.plugins%3Amaven-site-plugin%27-does-not-exist-or-no-valid-version-could-be-found-tp25762828p25783769.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found

Posted by Wayne Fay <wa...@gmail.com>.
> I am new at Maven so not able to figure out the problem. I have done the
> proxy settings in ../.m2/settings.xml file still the problem persists.

Generally, this occurs when you have configured things in your
settings.xml file, but failed to delete the XML comment markings <!--
and --> that surround the configuration block. As a result, your
configuration is ignored.

Wayne

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