Hi all, I downloaded Maven 2.0.7 on a new installation. I'm running JDK 6 on 
Windows XP.

When I try to build anything, I get the following error:

C:\Projects\jemmaiel\rda\jboss-microcontainer>mvn archetype:create 
-DgroupId=uk.co.jemos -DartifactId=jboss-microcontainer
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.codehaus.mojo: checking for updates from central
[WARNING] repository metadata for: 'org.codehaus.mojo' 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-archetype-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: 2 seconds
[INFO] Finished at: Sun Nov 25 23:52:05 GMT 2007
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------

I looked on the internet and I found the following

http://jira.codehaus.org/browse/MNG-2792

Although it seems from JIRA that the issue has been fixed, could please someone 
of you confirm that Maven 2 actually works/doesn't work with JDK6?

I'm writing a project for my MSc and would like to use Maven as project 
management tool, but I need to be sure on the technology to use (i.e. if I can 
use JDK6 or I have to downgrade to JDK5).

Thank you for any answers.

M.

Reply via email to