The error message says repo1.maven.org is an unknown host.  Are you able to
ping repo1.maven.org and get a response?

On Sun, Jun 24, 2012 at 2:15 AM, Bhathiya Jayasekara
<[email protected]>wrote:

> Hi devs,
>
> When I try to build Sling from trunk, I get following error. Can you please
> help me to fix that?
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6.889s
> [INFO] Finished at: Sun Jun 24 14:39:27 IST 2012
> [INFO] Final Memory: 30M/250M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on
> project apache-sling-jar-resource-bundle: Error to resolving surefire
> provider dependency: Unable to get dependency information for
> org.apache.maven.surefire:surefire-junit3:jar:2.7.2: Failed to retrieve POM
> for org.apache.maven.surefire:surefire-junit3:jar:2.7.2: Could not transfer
> artifact org.apache.maven.surefire:surefire-junit3:pom:2.7.2 from/to
> central (http://repo1.maven.org/maven2): Error transferring file:
> repo1.maven.org
> [ERROR] org.apache.maven.surefire:surefire-junit3:jar:2.7.2
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] central (http://repo1.maven.org/maven2, releases=true,
> snapshots=false)
> [ERROR] Path to dependency:
> [ERROR] 1) dummy:dummy:jar:1.0: Unknown host repo1.maven.org
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
> Thank you,
>
>  --Bhathiya
>

Reply via email to