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
[anush...@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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to