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

Parent pom for 2.4.4 missing in Maven Central #69

Closed
vdzhuvinov opened this issue Apr 18, 2021 · 21 comments
Closed

Parent pom for 2.4.4 missing in Maven Central #69

vdzhuvinov opened this issue Apr 18, 2021 · 21 comments
Assignees

Comments

@vdzhuvinov
Copy link

Thanks for the recent 2.x updates!

On trying to use the new v2.4.4 Maven aborted with the message

Failed to read artifact descriptor for net.minidev:json-smart:jar:2.4.4: Could not find artifact net.minidev:minidev-parent:pom:2.4.3 in central (https://repo.maven.apache.org/maven2)

It appears the parent POM needs to be uploaded to Central as well:

https://search.maven.org/artifact/net.minidev/minidev-parent
https://search.maven.org/artifact/net.minidev/json-smart/2.4.4/bundle

@UrielCh
Copy link
Contributor

UrielCh commented Apr 19, 2021

I removed modules from the parent pom.
and try to release it again.

if it does not work I will switch t a new version number

@UrielCh UrielCh self-assigned this Apr 19, 2021
@radarsh
Copy link

radarsh commented Apr 19, 2021

I get the same error. Please try to release a new clean version. Thank you :)

@UrielCh
Copy link
Contributor

UrielCh commented Apr 19, 2021

publishing V 2.4.5 is progress.

@zeldigas
Copy link

So far json-smart 2.4.5 points to minidev-parent 2.4.4 that is also not available in central

@UrielCh
Copy link
Contributor

UrielCh commented Apr 20, 2021

NNNNOOOOOOOO !!!!!!

@UrielCh
Copy link
Contributor

UrielCh commented Apr 20, 2021

Using minidev-parent 2.4.4 as the parent for json-smart 2.4.5 was intended.

I have just publish the parent, that should fix json-smart 2.4.4 too.

details:

Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/2.4.4/minidev-parent-2.4.4.pom
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/2.4.4/minidev-parent-2.4.4.pom (8.6 kB at 544 B/s)
Downloading from ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/maven-metadata.xml
Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/maven-metadata.xml
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/maven-metadata.xml (305 B at 199 B/s)
Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/2.4.4/minidev-parent-2.4.4.pom.asc
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/2.4.4/minidev-parent-2.4.4.pom.asc (833 B at 2.3 kB/s)

@goughy000
Copy link

json-smart 2.4.5 is requesting accessors-smart 2.4.3 as a dependency, however this is missing from central too

image

image

@UrielCh
Copy link
Contributor

UrielCh commented Apr 20, 2021

Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/2.4.3/minidev-parent-2.4.3.pom
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/2.4.3/minidev-parent-2.4.3.pom (8.6 kB at 138 B/s)
Downloading from ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/maven-metadata.xml
Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/maven-metadata.xml
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/maven-metadata.xml (305 B at 133 B/s)
Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/2.4.3/minidev-parent-2.4.3.pom.asc
Uploaded to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/net/minidev/minidev-parent/2.4.3/minidev-parent-2.4.3.pom.asc (833 B at 2.1 kB/s)

one more!

@zeldigas
Copy link

@UrielCh Does it adresses issues with version 2.4.4 or for version 2.4.5? As @goughy000 mentioned, 2.4.5 currently fails due to missing accessors-smart-2.4.2

@UrielCh
Copy link
Contributor

UrielCh commented Apr 20, 2021

Just tell me if it works now, I stopped java development 5 years ago.
All my projects are now written inTypescript.

@zeldigas
Copy link

zeldigas commented Apr 20, 2021

@UrielCh no it does not work. Currently maven fails to net.minidev:accessors-smart:jar:2.4.3.
This problem is same for both net.minidev:json-smart:2.4.4 and net.minidev:json-smart:2.4.5

You bumped it in this commit: 00955f7, but for some reason this artifact is not present in maven central

@UrielCh
Copy link
Contributor

UrielCh commented Apr 20, 2021

thx to issue #70, I have a reason to update accessors-smart.

so I will upgrade everything to V 2.5.0.

@radarsh
Copy link

radarsh commented Apr 22, 2021

@UrielCh do you have an ETA for this?

@vdzhuvinov
Copy link
Author

Does anyone have a step by step suggestion for Uriel how to push to Maven Central the parent POMs from the previous version?
It appears to me that those POMs were deployed to his local repo only. If there is a way to push them retroactively to Maven Central we should be all fine.

@UrielCh
Copy link
Contributor

UrielCh commented Apr 23, 2021

What pom is missing for now? I'm a little bit lost.

minidev-parent is published as:

  • V 2.4.4
  • V 2.4.3
  • V 2.4.2
  • V 2.4.1

@UrielCh
Copy link
Contributor

UrielCh commented Apr 23, 2021

from V 2.5.0 parent pom if GONE!
I should have done that 10 years ago...

You have 24 hours to give feedback about the current master/main branch.

The root pom.xml is now deleted.


Releasing a V 2.4.6 is finally semantically better.

@mmoayyed
Copy link

Switching to 2.4.5 causes the following failure:

Execution failed for task ':core:cas-server-core-util-api:compileJava'.
> Could not resolve all files for configuration ':core:cas-server-core-util-api:compileClasspath'.
   > Could not find net.minidev:accessors-smart:2.4.3.
     Searched in the following locations:
       - file:/Users/Misagh/.m2/repository/net/minidev/accessors-smart/2.4.3/accessors-smart-2.4.3.pom
       - https://repo.maven.apache.org/maven2/net/minidev/accessors-smart/2.4.3/accessors-smart-2.4.3.pom
       - https://oss.sonatype.org/content/repositories/releases/net/minidev/accessors-smart/2.4.3/accessors-smart-2.4.3.pom
     Required by:
         project :core:cas-server-core-util-api > net.minidev:json-smart:2.4.5

Is net.minidev:accessors-smart:2.4.3 not published to central? I don't see there it.

@zeldigas
Copy link

Does anyone have a step by step suggestion for Uriel how to push to Maven Central the parent POMs from the previous version

@UrielCh please run publishing form another artifact - accessors-smart for version 2.4.3. Right now it's missing in maven central and cause build to fail. I suppose you have it configured using nexus oss plugin, so it should be possible to run deployment only for this one.

If it does not work, than I suppose the proper solution would be to do a techinical release of 2.4.6 where you'd synchronize versions for all modules, disregarding the fact if there are changes or not. You can use mvn versions:set plugin to assist you with bumping versions.

@UrielCh
Copy link
Contributor

UrielCh commented Apr 23, 2021

no problemo.

@UrielCh
Copy link
Contributor

UrielCh commented Apr 23, 2021

accessors-smart:2.4.3 is out for delivery.

see:

Can I close the issue?

@vdzhuvinov
Copy link
Author

With the new 2.4.6 all deps resolved successfully and compile works too.

Cheers!

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

6 participants