See
<https://builds.apache.org/job/OpenWebBeans-trunk-deploy/org.apache.openwebbeans.samples$guess/283/>
------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building Sample Guess Application
[INFO] task-segment: [clean, deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [remote-resources:process {execution: default}]
Downloading:
http://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-api/2.2.8/myfaces-api-2.2.8.pom
33K downloaded (myfaces-api-2.2.8.pom)
Downloading:
http://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-core-project/2.2.8/myfaces-core-project-2.2.8.pom
25K downloaded (myfaces-core-project-2.2.8.pom)
Downloading:
http://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-impl/2.2.8/myfaces-impl-2.2.8.pom
61K downloaded (myfaces-impl-2.2.8.pom)
Downloading:
http://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-api/2.2.8/myfaces-api-2.2.8.jar
[WARNING] Unable to get resource
'org.apache.myfaces.core:myfaces-api:jar:2.2.8' from repository central
(http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP
response code: 503 for URL:
http://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-api/2.2.8/myfaces-api-2.2.8.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/myfaces/core/myfaces-impl/2.2.8/myfaces-impl-2.2.8.jar
2457K downloaded (myfaces-impl-2.2.8.jar)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve dependencies for one or more projects in the reactor.
Reason: Missing:
----------
1) org.apache.myfaces.core:myfaces-api:jar:2.2.8
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.myfaces.core
-DartifactId=myfaces-api -Dversion=2.2.8 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.apache.myfaces.core
-DartifactId=myfaces-api -Dversion=2.2.8 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.openwebbeans.samples:guess:war:1.6.3-SNAPSHOT
2) org.apache.myfaces.core:myfaces-api:jar:2.2.8
----------
1 required artifact is missing.
for artifact:
org.apache.openwebbeans.samples:guess:war:1.6.3-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
Nexus (http://repository.apache.org/snapshots)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 minutes 56 seconds
[INFO] Finished at: Sat Jan 23 08:35:12 UTC 2016
[INFO] Final Memory: 151M/676M
[INFO] ------------------------------------------------------------------------