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

[Maintenance] Maven Build fails when running with Maven 3.8.1 #271

Closed
sparsick opened this issue May 29, 2021 · 2 comments · Fixed by #273
Closed

[Maintenance] Maven Build fails when running with Maven 3.8.1 #271

sparsick opened this issue May 29, 2021 · 2 comments · Fixed by #273
Milestone

Comments

@sparsick
Copy link
Collaborator

When running the build with Maven 3.8.1, two it tests fails

  • feature-14-it
  • bug-17-it

because of

[ERROR] Failed to execute goal org.reficio:p2-maven-plugin:2.0.0-SNAPSHOT:site (default-cli) on project config: Execution default-cli of goal org.reficio:p2-maven-plugin:2.0.0-SNAPSHOT:site failed: java.lang.RuntimeException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.hibernate:hibernate-core:jar:4.3.0-SNAPSHOT from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [hibernate-snapshots (http://snapshots.jboss.org/maven2, default, releases+snapshots)] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.reficio:p2-maven-plugin:2.0.0-SNAPSHOT:site (default-cli) on project config: Execution default-cli of goal org.reficio:p2-maven-plugin:2.0.0-SNAPSHOT:site failed: java.lang.RuntimeException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.hibernate:hibernate-core:jar:4.3.0-SNAPSHOT from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [hibernate-snapshots (http://snapshots.jboss.org/maven2, default, releases+snapshots)]
@bmarwell
Copy link
Collaborator

bmarwell commented May 31, 2021

use https, that's all :)
// edit: this pom does not contain distribution management. There is no parent either. It is probably in your $HOME/.m2/settings.xml on you local system only. ;-)

@sparsick
Copy link
Collaborator Author

sparsick commented May 31, 2021

👍 yes, thanks.

no my local settings.xml is fine. Maybe the invoker tests use a seperate settings.xml. I have to check it. Therefore, this issue is reminder ;)

@sparsick sparsick added this to the 2.0.0 milestone May 31, 2021
sparsick added a commit to sparsick/p2-maven-plugin that referenced this issue May 31, 2021
@sparsick sparsick linked a pull request Jan 3, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants