Greetings:  

I'm trying to prepare a project for inclusion to the Maven Central
Repository which requires that all dependencies for the project can be found
within the Maven Central Repository.  

I"m including this dependency: 
<dependency>
<groupId>com.google.code.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.2.5</version>
</dependency>

which can be found in the central repo here: 
http://repo1.maven.org/maven2/com/google/code/maven-license-plugin/maven-license-plugin/1.2.5/
 
(I'd really like to use the 1.4.0 version but I note that it is not in the
maven-metadata.xml file here: 
http://repo1.maven.org/maven2/com/google/code/maven-license-plugin/maven-license-plugin/maven-metadata.xml)

Anyway, a simple 'mvn clean package' on an empty .m2 local repository
produces the fillowing build error:

$ mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Atomsphere
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin
'com.google.code.maven-license-plugin:maven-license-plugin' do
es not exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Sep 18 10:22:29 CDT 2009
[INFO] Final Memory: 2M/6M
[INFO]
------------------------------------------------------------------------


Does anyone know why the maven build is failing to find the
maven-license-plugin ?  

Thanks for looking at this. 
Bill

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


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

Reply via email to