Skip to content

Update parent and dependencies#61

Merged
wing328 merged 3 commits intoOpenAPITools:masterfrom
Til7701:update
Apr 4, 2025
Merged

Update parent and dependencies#61
wing328 merged 3 commits intoOpenAPITools:masterfrom
Til7701:update

Conversation

@Til7701
Copy link
Copy Markdown
Contributor

@Til7701 Til7701 commented Mar 17, 2025

Changes

  • updated Maven Wrapper to 3.9.8
  • updated Parent to 2.18.3 (latest)
  • updated other dependencies; Note that hibernate validator cannot be updated above 6 since newer releases target Jakarta.
  • added JUnit dependency managed by Parent

Checks

  • test are passing
  • build runs successfully

@EliasZ
Copy link
Copy Markdown

EliasZ commented Mar 25, 2025

Tested locally against JDK21 and this works fine.

@lesteenman
Copy link
Copy Markdown

Same here, with another project, also JDK21.

@Til7701
Copy link
Copy Markdown
Contributor Author

Til7701 commented Mar 25, 2025

I also have a new compile config ready to build this as a Multi Release JAR. This would allow the OpenAPI Generator to be used when packaging with JLink. However this PR is needed for that. If you are interested, you can take a look at the module branch of my fork.

@agaidaichuk
Copy link
Copy Markdown

@wing328 is it possible to get this PR merged and release a new version of the lib?
I saw in multiple forks that people, including me, were interested in these changes and it might be very valuable to have them available in the common repo.

@hanikhan
Copy link
Copy Markdown

hanikhan commented Apr 4, 2025

+1
Can we please merge this @wing328 , let me know if any help is required here, happy to contribute

@wing328 wing328 merged commit 6687b74 into OpenAPITools:master Apr 4, 2025
@wing328
Copy link
Copy Markdown
Member

wing328 commented Apr 4, 2025

PR merged. Thanks for contributing, testing and reviewing the changes.

I'll try to cut a release this coming weekend.

@Til7701 Til7701 mentioned this pull request Apr 4, 2025
@agaidaichuk
Copy link
Copy Markdown

@wing328, is there any chance of getting it released this weekend?

@wing328
Copy link
Copy Markdown
Member

wing328 commented Apr 27, 2025

Was busy with openapi generator v7.13.0 release: https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.13.0 (released an hour ago).

will try to cut a release for this repo tomorrow (Monday).

Sorry for the delay.

@wing328
Copy link
Copy Markdown
Member

wing328 commented Apr 28, 2025

Tried but got errors

[INFO] --- jar:3.4.2:jar (default-jar) @ jackson-databind-nullable ---
[INFO] Building jar: C:\Users\wing3\code\jackson-databind-nullable\target\jackson-databind-nullable-0.2.7.jar
[INFO]
[INFO] --- site:4.0.0-M16:attach-descriptor (attach-descriptor) @ jackson-databind-nullable ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- install:3.1.3:install (default-install) @ jackson-databind-nullable ---
[INFO] Installing C:\Users\wing3\code\jackson-databind-nullable\pom.xml to C:\Users\wing3\.m2\repository\org\openapitools\jackson-databind-nullable\0.2.7\jackson-databind-nullable-0.2.7.pom
[INFO] Installing C:\Users\wing3\code\jackson-databind-nullable\target\jackson-databind-nullable-0.2.7.jar to C:\Users\wing3\.m2\repository\org\openapitools\jackson-databind-nullable\0.2.7\jackson-databind-nullable-0.2.7.jar
[INFO]
[INFO] --- nexus-staging:1.6.13:deploy (injected-nexus-deploy) @ jackson-databind-nullable ---
[INFO] Performing local staging (local stagingDirectory="C:\Users\wing3\code\jackson-databind-nullable\target\nexus-staging\staging")...
[INFO]  + Using server credentials "sonatype-nexus-staging" from Maven settings.
[INFO]  * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.15.2-03 and edition "Professional"
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.184 s
[INFO] Finished at: 2025-04-28T17:37:37+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (injected-nexus-deploy) on project jackson-databind-nullable: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy failed: 403 - Forbidden -> [Help 1]

looks like something changed in nexus side

https://community.sonatype.com/t/401-content-access-is-protected-by-token-authentication-failure-while-performing-maven-release/12741

tried resetting the token twice but still no luck

@wing328
Copy link
Copy Markdown
Member

wing328 commented Apr 28, 2025

update: pushed the change to latest master

https://app.travis-ci.com/github/OpenAPITools/jackson-databind-nullable/builds/275026511?serverType=git is green but the signing failed as shown in the log.

will figure out how to create sec.gpg.enc again (I used to have it in my old machine)

https://github.com/OpenAPITools/jackson-databind-nullable/blob/master/.travis.yml#L13C110-L13C117

if anyone has a clue, please share below. thank you.

@wing328
Copy link
Copy Markdown
Member

wing328 commented Apr 28, 2025

as a workaround, one can pull the latest master and do a mvn clean install to install v0.2.7 in the local maven repo/cache in your machine.

@wing328
Copy link
Copy Markdown
Member

wing328 commented May 2, 2025

update: got more open source build credits from TravisCI but still no luck after retriggering the workflow with sec.gpg.enc

will try again this weekend to do a release locally with new gpg keys for signing.

@wing328
Copy link
Copy Markdown
Member

wing328 commented May 8, 2025

no luck with new gpg keys as maven was complaining about missing settings-security.xml file (that doesn't seem required in the travis ci publish workflow)

@wing328
Copy link
Copy Markdown
Member

wing328 commented May 16, 2025

update: will try to migrate to new platform according to https://central.sonatype.org/news/20240617_migration_of_accounts/ this weekend

The OSSRH service will reach end-of-life on [June 30th, 2025](https://central.sonatype.org/news/20250326_ossrh_sunset/). Learn more about how to transfer to the Central Publishing Portal [here](https://central.sonatype.org/faq/what-is-different-between-central-portal-and-legacy-ossrh/#process-to-migrate).

@TotallyMehis
Copy link
Copy Markdown

Any updates on the release?

@wing328
Copy link
Copy Markdown
Member

wing328 commented Aug 20, 2025

https://central.sonatype.com/artifact/org.openapitools/jackson-databind-nullable/0.2.7
please give it a try 🙏

@wing328
Copy link
Copy Markdown
Member

wing328 commented Sep 9, 2025

HI all,

We're looking for maintainers: #71

Let me know if you're interesting in maintaining this project. Thank you.

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 this pull request may close these issues.

7 participants