-
Notifications
You must be signed in to change notification settings - Fork 305
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
payara embedded/micro artifacts unresolvable in maven central repo #288
Comments
Same problem. The problem is with the parent of these artifacts - it has "Oracle's" identifiers, but Payara's version and it is not in public repos. Other dependencies can be excluded, but not the parent (and it's parents). |
Same with [payara-embedded-web]: |
We are working on it should be fixed in maven central soon |
Thanks, just wanted to give you the maven ERROR. also for the [payara-embedded-all], but you probably know that :) |
We've uploaded a new POM to maven central, so if someone can try it again and report back if it succeeds or fails we would appreciate it. We've removed the dependencies and parent, as they shouldn't be needed (they're only needed to build the JAR). I've tested it myself by removing my maven repository and running a project with payara-embedded-all as a dependency, and it worked, but a second test by someone outside of the Payara team would be appreciated. Thanks |
Had to remove |
yeah we haven't changed the version number so you will need to delete any locally downloaded artefacts. |
It resolves perfectly now. Thanks! |
It looks as if there is a slight problem with resolving the payara embedded/micro artifacts in the central repo. While it's possible to search, find, and download the artifacts from central via the web interface, it doesn't seem possible to resolve them in maven. I believe the issue is that the modules point to glassfish artifacts as parents, but the glassfish artifacts are not versioned the same as payara's artifacts.
To illustrate, here's an excerpt from the full gist:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn't download artifact: Unable to get dependency information for fish.payara.extras:payara-micro:jar:4.1.152.1: Failed to process POM for fish.payara.extras:payara-micro:jar:4.1.152.1: Non-resolvable parent POM for fish.payara.extras:payara-micro:4.1.152.1: Could not find artifact org.glassfish.main.extras:extras:pom:4.1.152.1 in central (https://repo.maven.apache.org/maven2)
The text was updated successfully, but these errors were encountered: