Hi, I'm trying to build my project using Maven, but when i run mvn:compile this error is generated:
E:\apache-tomcat-6.0.10\webapps\oficina>mvn compile [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Application Test [INFO] task-segment: [compile] [INFO] ---------------------------------------------------------------------------- [INFO] Ignoring available plugin update: 2.0-beta-5 as it requires Maven version 2.0.2 [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2//com/sun/tools/1.5.0/tools-1.5.0.pom [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/maven2) Downloading: http://maven.opensymphony.com/com.sun/jars/tools-1.5.0.jar [WARNING] Unable to get resource from repository opensymphony ( http://maven.opensymphony.com) Downloading: http://repo1.maven.org/maven2//com/sun/tools/1.5.0/tools-1.5.0.jar [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/maven2) [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] Failed to resolve artifact. GroupId: com.sun ArtifactId: tools Version: 1.5.0 Reason: Unable to download the artifact from any repository com.sun:tools:1.5.0:jar from the specified remote repositories: Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/), central (http://repo1.maven.org/maven2), opensymphony (http://maven.opensymphony.com), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), snapshots-maven-codehaus (http://snapshots.maven.codehaus.org/maven2) [INFO] ---------------------------------------------------------------------------- [INFO] For more information, run Maven with the -e switch [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 17 seconds [INFO] Finished at: Sat Apr 07 14:54:18 BRT 2007 [INFO] Final Memory: 3M/6M [INFO] ---------------------------------------------------------------------------- Maven settings file: <settings> <localRepository>C:/Documents and Settings/guilherme.SERVER/.m2/repository</localRepository> <mirrors> <mirror> <id>planetmirror.com</id> <name>planetmirror Mirror of http://repo1.maven.org/maven2/</name> <url>http://repo1.maven.org/maven2/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> </settings> Somebody can help me to solve this problem ? Regards. -- Att Guilherme Mello do Nascimento PortalJava.com - A maior comunidade Java do Brasil