Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleError when building with Maven 3.8.1 onwards
org.eclipse.aether.transfer.ArtifactTransferException:
Could not transfer artifact org.ow2.jonas.tools.configurator:api:pom:1.10.1213-SNAPSHOT from/to maven-default-http-blocker (http://0.0.0.0/):
Blocked mirror for repositories: [ow2-snapshot (http://repository.ow2.org/nexus/content/repositories/snapshots, default, snapshots)]

...

Code Block
titleError when building with JDK 8 or JDK 12 and above
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.6.1:copy (copy-test-ear) on project cargo-core-container-jonas:
Unable to find/resolve artifact.: Could not find artifact org.codehaus.cargo:simple-ear:ear:1.10.1213-SNAPSHOT -> [Help 1]

To build on these JDKs, you can either have a "pre-build" in JDK 11, or use the snapshots repository by adding the below to your Maven settings.xml:

...