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

payara embedded/micro artifacts unresolvable in maven central repo #288

Closed
phillipross opened this issue May 16, 2015 · 8 comments
Closed
Assignees

Comments

@phillipross
Copy link
Contributor

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)

@dmatej
Copy link
Contributor

dmatej commented May 17, 2015

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).

@pejomstd
Copy link

Same with [payara-embedded-web]:
[ERROR] Failed to execute goal on project gf-runner: Could not resolve dependencies for project se.ironic:gf-runner:jar:1.0-SNAPSHOT: Failed to collect dependencies at fish.payara.extras:payara-embedded-web:jar:4.1.152.1: Failed to read artifact descriptor for fish.payara.extras:payara-embedded-web:jar:4.1.152.1: Could not find artifact org.glassfish.main.extras:extras:pom:4.1.152.1 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

@smillidge
Copy link
Contributor

We are working on it should be fixed in maven central soon

@pejomstd
Copy link

Thanks, just wanted to give you the maven ERROR. also for the [payara-embedded-all], but you probably know that :)

@Pandrex247
Copy link
Member

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

@pejomstd
Copy link

Had to remove "./fish/" under "repository/org" in my local repository, then it seams to work.
Thanks for a quick solution to this :)

@smillidge
Copy link
Contributor

yeah we haven't changed the version number so you will need to delete any locally downloaded artefacts.

@phillipross
Copy link
Contributor Author

It resolves perfectly now. Thanks!

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

No branches or pull requests

5 participants