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

Failed to read artifact descriptor for Spoon 10.4.1-SNAPSHOT #5340

Closed
seintur opened this issue Jul 10, 2023 · 7 comments
Closed

Failed to read artifact descriptor for Spoon 10.4.1-SNAPSHOT #5340

seintur opened this issue Jul 10, 2023 · 7 comments

Comments

@seintur
Copy link
Contributor

seintur commented Jul 10, 2023

Dear all,

Since 10.4.1-SNAHPSHOT my projects that use Spoon fail with

Failed to read artifact descriptor for fr.inria.gforge.spoon:spoon-core:jar:10.4.1-SNAPSHOT: Failure to find fr.inria.gforge.spoon:spoon-pom:pom:10.4.1-SNAPSHOT in https://repository.ow2.org/nexus/content/repositories/snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of ow2.org-snapshot has elapsed or updates are forced

For those with access to the Spoon Inria CI server, basically all projects are down with this issue.

Are we missing something? Or is it related to the (new?) way the snapshot is deployed?

Thanks,
Lionel.

@MartinWitt
Copy link
Collaborator

MartinWitt commented Jul 10, 2023

Hey,

yeah sorry we upgraded/changed our CI script and did some testing with snapshot releases. I wasn't aware these are used in production. I will make a new snapshot release which resolves this issue.

Edit: Release is up and is getting synced now

@seintur
Copy link
Contributor Author

seintur commented Jul 13, 2023

Good for me, thanks.

@seintur seintur closed this as completed Jul 13, 2023
@seintur
Copy link
Contributor Author

seintur commented Aug 22, 2023

Hi,

Sorry for reopening the issue, I though it was ok, but it is not.

The deployed snapshots on https://repository.ow2.org/nexus/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.1-SNAPSHOT/ , so far any of spoon-core-10.4.1-*.pom refers to the parent artifact

<parent>
<groupId>fr.inria.gforge.spoon</groupId>
<artifactId>spoon-pom</artifactId>
<version>10.4.1-SNAPSHOT</version>
<relativePath>spoon-pom</relativePath>
</parent>

Unless I am missing something there is not such fr.inria.gforge.spoon:spoom-pom:10.4.1-SNAPSHOT deployed. The maven resolution fails on this.

Thanks,
Lionel.

PS: this is not that I am using "in production". I am running a project that uses Spoon with the latest snapshot to ensure that it is still running with the latest snapshot.

@monperrus
Copy link
Collaborator

There are different options:

@monperrus
Copy link
Collaborator

@MartinWitt says that the parent pom snapshot will be CDed and deployed to https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-pom/ once #5394 is merged

@monperrus
Copy link
Collaborator

@seintur the fix is to change the snapshot repo, see SpoonLabs/npefix@b8b2e6e

@seintur
Copy link
Contributor Author

seintur commented Aug 31, 2023

Good, thanks Martin, it works for me. I am closing the issue.

@seintur seintur closed this as completed Aug 31, 2023
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.

3 participants