Skip to content

Travis: Mark all Linux builds as sudo-required as maven workaround #2863

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

Merged
merged 1 commit into from
Aug 30, 2018

Conversation

tautschnig
Copy link
Collaborator

Running maven yields access-denied errors:

[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer
artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central
(https://repo.maven.apache.org/maven2): Access denied to:
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom
, ReasonPhrase:Forbidden. -> [Help 1]

This appears to be a recurring issue, described at
travis-ci/travis-ci#6593 - now applying the workaround
described in the same issue.

Running maven yields access-denied errors:

[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its
dependencies could not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer
artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central
(https://repo.maven.apache.org/maven2): Access denied to:
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom
, ReasonPhrase:Forbidden. -> [Help 1]

This appears to be a recurring issue, described at
travis-ci/travis-ci#6593 - now applying the workaround
described in the same issue.
Copy link
Member

@peterschrammel peterschrammel left a comment

Choose a reason for hiding this comment

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

Let's try this.

@tautschnig
Copy link
Collaborator Author

Recent reports of the same: travis-ci/travis-ci#10053 and travis-ci/travis-ci#10055.

@peterschrammel
Copy link
Member

@tautschnig, looks good.

@tautschnig tautschnig merged commit 930ca47 into diffblue:develop Aug 30, 2018
@tautschnig tautschnig deleted the maven-workaround branch August 30, 2018 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants