Share this:

On my first attempt using ‘Liberty App Accelerator’ encountered error in POM file generated for a sample Servlet. Please advice.

Failure to transfer org.apache.maven.plugins:maven-failsafe-plugin:pom:2.18.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-failsafe-plugin:pom:2.18.1 from/to central (https://repo.maven.apache.org/maven2): connect timed out

Project build error: Unresolveable build extension: Plugin net.wasdev.wlp.maven.plugins:liberty-maven-plugin:1.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for net.wasdev.wlp.maven.plugins:liberty-maven-plugin:jar:1.2

Maven Built errors …
[INFO] Scanning for projects…
[INFO] Downloading: https://repo.maven.apache.org/maven2/net/wasdev/wlp/maven/plugins/liberty-maven-plugin/1.2/liberty-maven-plugin-1.2.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin net.wasdev.wlp.maven.plugins:liberty-maven-plugin:1.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for net.wasdev.wlp.maven.plugins:liberty-maven-plugin:jar:1.2 @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project liberty.maven:test:1.0-SNAPSHOT (C:\Users\ual\Downloads\LibertyProject\pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin net.wasdev.wlp.maven.plugins:liberty-maven-plugin:1.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for net.wasdev.wlp.maven.plugins:liberty-maven-plugin:jar:1.2: Could not transfer artifact net.wasdev.wlp.maven.plugins:liberty-maven-plugin:pom:1.2 from/to central (https://repo.maven.apache.org/maven2): connect timed out -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

Hey Ulises, having ran through this again to replicate the issue I’ve found that the accelerator has generated a pom.xml with an outdated cxf-rt-rs-client dependency. In the meantime if you change the following: