Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#4554 fix Class not found exception in maven server #4613

Merged
merged 1 commit into from
Mar 31, 2017
Merged

Conversation

evidolob
Copy link
Contributor

What does this PR do?

Fixes ClassNotFoundException when download maven artifact sources.

What issues does this PR fix or reference?

#4554

Signed-off-by: Even Vidolob <evidolob@codenvy.com>
} catch (ArtifactResolutionException e) {
MavenServerContext.getLogger().info(e);
} catch (ArtifactResolutionException ignored) {
//we need ignore exception, it's some times has class that client doesn't has
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be system.error.println()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All sdtout/stderr of the maven sever is logged by client, but 'ArtifactResolutionException' is normal when maven can't find or download artifact, so I not sure that this exception need to be logged.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

up2you

@vparfonov vparfonov added this to the 5.7.0 milestone Mar 29, 2017
@codenvy-ci
Copy link

Copy link
Contributor

@dmytro-ndp dmytro-ndp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It definitely fixes issue #4554
screenshot from 2017-03-30 16 19 58

@evidolob evidolob merged commit 339ea53 into master Mar 31, 2017
@evidolob evidolob deleted the #4554-download branch March 31, 2017 06:17
@gazarenkov gazarenkov added the kind/bug Outline of a bug - must adhere to the bug report template. label Apr 6, 2017
@JamesDrummond JamesDrummond mentioned this pull request Apr 9, 2017
9 tasks
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
@dmytro-ndp dmytro-ndp restored the #4554-download branch December 8, 2017 08:56
@dmytro-ndp dmytro-ndp deleted the #4554-download branch December 8, 2017 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants