javaee-samples/javaee7-samples

Unknown host repository.codehaus.org

blabno opened this issue · 1 comments

I have cleaned ~/.m2/repository

mvn help:all-profiles

gives me this:

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.codehaus.groovy:groovy-eclipse-compiler:2.8.0-01 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.groovy:groovy-eclipse-compiler:jar:2.8.0-01 -> org.codehaus.groovy:groovy-eclipse-batch:jar:2.2.1-01-SNAPSHOT @ 
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.javaee7:javaee7-samples:1.0-SNAPSHOT (/home/bernard/projects/javaee7-samples/pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.codehaus.groovy:groovy-eclipse-compiler:2.8.0-01 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.groovy:groovy-eclipse-compiler:jar:2.8.0-01 -> org.codehaus.groovy:groovy-eclipse-batch:jar:2.2.1-01-SNAPSHOT: Failed to read artifact descriptor for org.codehaus.groovy:groovy-eclipse-batch:jar:2.2.1-01-SNAPSHOT: Could not transfer artifact org.codehaus.groovy:groovy-eclipse-batch:pom:2.2.1-01-20140221.233444-1 from/to codehaus.org (http://repository.codehaus.org): repository.codehaus.org: Unknown host repository.codehaus.org -> [Help 2]

I've reinstalled maven, removed ~/.m2 and the problem is gone.