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

Cannot build. Error "Failed to read artifact descriptor for fish.payara.distributions:payara-web:zip:5.183-SNAPSHOT" #7

Open
sharpedavid opened this issue Feb 3, 2020 · 2 comments

Comments

@sharpedavid
Copy link

sharpedavid commented Feb 3, 2020

I'd like to compile this project so that I can deploy the Payara OpenId example. When I try, I get this error:

$ mvn --version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T12:00:29-07:00)
Maven home: C:\Dev\apache-maven-3.6.1
Java version: 11.0.5, vendor: AdoptOpenJDK, runtime: C:\Dev\AdoptOpenJDK11
Default locale: en_CA, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

$ ls
payara/  pom.xml  README.md  target/  test-utils/  tomcat/
$ mvn package
...
[INFO] Reactor Summary for EE Vendor specific samples : root 1.0-SNAPSHOT:
[INFO]
[INFO] EE Vendor specific samples : root .................. FAILURE [  4.000 s]
[INFO] Vendor EE: test-utils .............................. SKIPPED
[INFO] Vendor EE: Payara .................................. SKIPPED
[INFO] Vendor EE: Payara - Jacc Providers per Application . SKIPPED
[INFO] Vendor EE: Payara - Roles Permitted ................ SKIPPED
[INFO] Vendor EE: Payara - OAuth2 ......................... SKIPPED
[INFO] Vendor EE: Payara - OpenId Connect ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.283 s
[INFO] Finished at: 2020-02-03T12:21:31-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.0:unpack (unpack) on project samples-parent: Unable to find/resolve artifact.: Failed to read artifact descriptor for fish.payara.distributions:payara-web:zip:5.183-SNAPSHOT: Failure to find org.glassfish.main.distributions:distributions:pom:5.183-SNAPSHOT in https://artifactory.hlth.gov.bc.ca/artifactory was cached in the local repository, resolution will not be reattempted until the update interval of artifactoryRepo has elapsed or updates are forced -> [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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
@sharpedavid sharpedavid changed the title Cannot build. Error "Failed to read artifact descriptor for fish.payara.distributions:payara-web:zip:5.183-SNAPSHOT Cannot build. Error "Failed to read artifact descriptor for fish.payara.distributions:payara-web:zip:5.183-SNAPSHOT" Feb 3, 2020
@OndroMih
Copy link

OndroMih commented Feb 4, 2020

You can build if you override the payara.version with a public version. For example, you can build against Payara 5.194 with the following command:

mvn -Dpayara.version=5.194 clean package

@OndroMih
Copy link

OndroMih commented Feb 4, 2020

The tests will fail on 5.194 because of payara/Payara#4366. But should pass on 5.193.

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

2 participants