i just downloaded wildfly 9.02 with the quickstarts and the jboss developer studio. I am a total newbie to jboss, i am following the guide on github https://github.com/wildfly/quickstart/ to build and deploy the sources. i got my maven installed (v 3.3.3) with java 8. settings.xml copied to my $HOME/.m2 directory but it seems to me that the urls of the artifcats are all broken
[ERROR] The project org.wildfly.quickstarts:wildfly-helloworld:10.0.0-SNAPSHOT (C:\jboss\quickstart\helloworld\pom.xml) has 4 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.jboss.spec:jboss-javaee-7.0:pom:1.0.3.Final
from/to jboss-earlyaccess-repository (http://maven.repository.redhat.com/earlyaccess/all/):
Connect to maven.repository.redhat.com:80 [maven.repository.redhat.com/104.66.178.195] failed: Connection timed out: connect @ line 66, column 25 ->
[Help 2]
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 79, column 21
[ERROR] 'dependencies.dependency.version' fororg.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar is missing. @ line 87, column 21
[ERROR] 'dependencies.dependency.version' fororg.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar is missing. @ line 94, column 21
[ERROR]
I am supposing something is messed up there because i can't be the only one having this.
appreciate all the help. thanks
It is maven that is giving you a problem. It says that the artifact:
org.jboss.spec:jboss-javaee-7.0:pom:1.0.3.Final
cannot be found in themaven.repository.redhat.com:80
, as you can see here.What you need to do is remove the redhat maven repository that is somewhere added, so the artifacts are resolved from the standard maven central repository, which does provide this artifact as you see here