You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There might be multiple issues here but we can decompose if needed. Often times I'll need to retry a build due to an artifact failure or some other glitch. Here's an example output.
[ERROR] Failed to execute goal on project lambeaux-app: Could not resolve dependencies for project net.lambeaux.project.distribution:lambeaux-app:pom:15.15.1-SNAPSHOT: The following artifacts could not be resolved: ddf.jaxb:catalog-transformer-xml-binding:jar:1.0.1, ddf.security.servlet:security-servlet-logout:jar:2.19.11, ddf.catalog.transformer:catalog-transformer-html:jar:2.19.11, ddf.catalog.rest:catalog-rest-endpoint:jar:2.19.11: Could not transfer artifact ddf.jaxb:catalog-transformer-xml-binding:jar:1.0.1 from/to m2-mirror (http://localhost:52697): Socket closed -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :lambeaux-app
(node:36522) UnhandledPromiseRejectionWarning: undefined
(node:36522) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:36522) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
It would be helpful if cx printed the maven command it last used. I suspect it would look something like this.
Was able to work-around the m2 proxy server being down by doing:
python -m SimpleHTTPServer 54805
which works quite well. But based upon how maven mirrors work, changing the mirror or the settings.xml will trigger a re-download of all dependencies, even versioned ones.
There appears to be metadata linking the artifacts with their origin. It seems maven invalidates the artifact when the origin changes. There are some settings for <update-strategy> that we can play with to see if they make any difference but I haven't tried that yet.
There might be multiple issues here but we can decompose if needed. Often times I'll need to retry a build due to an artifact failure or some other glitch. Here's an example output.
It would be helpful if
cx
printed the maven command it last used. I suspect it would look something like this.Issue is the m2 proxy server is down so troubleshooting outside of the
cx
command becomes challenging for these cases.The text was updated successfully, but these errors were encountered: