vladmihalcea / hypersistence-optimizer

Hypersistence Optimizer allows you to get the most out of JPA and Hibernate. By scanning your application configuration and mappings, Hypersistence Optimizer can tell you what changes you need to do to speed up your data access layer.
https://vladmihalcea.com/hypersistence-optimizer/
Apache License 2.0
306 stars 43 forks source link

Provide a private Maven Repository #202

Closed AlexanderNZ closed 1 year ago

AlexanderNZ commented 1 year ago

Hey Vlad,

I've loved following your articles, I decided to buy a licence and I'm now trying to improve my software with Hypsersistence Optimizer.

I read https://vladmihalcea.com/hypersistence-optimizer/docs/user-guide/#fail-build-on-issues - I wondered if there is a Maven repository (presumably not Maven Central!) where I can get access to io.hypersistence:hypersistence-optimizer:2.6.3-jakarta? I don't operate Apache Archiva or JFrog or anything like that, and I would like to avoid uploading the artefact in my git repo and running the install script and so on each build.

What do you think?

Cheers

Alex

vladmihalcea commented 1 year ago

Thanks for buying a license, and enjoy detecting the cause of many performance issues automatically.

There is no private Maven repository at the moment, but I could add one in the future once I find a good solution for that.

I would like to avoid uploading the artifact in my git repo and running the install script and so on each build.

You only need to call the install script only once per Optimizer version. Once the artifact is in your local Maven repository, it will be used by all builds.

AlexanderNZ commented 1 year ago

Thanks Vlad!

You only need to call the install script only once per Optimizer version. Once the artifact is in your local Maven repository, it will be used by all builds.

Sorry! I meant that I don't want to have to script that as part of my Github Action workflow. I'll wait for that Maven repo. My project uses trunk based dev, so I'll have to pull out the Hypersistence Optimizer implementation into a long lived branch that I merge main into regularly, not an ideal solution but better then not using it.

Thanks again!

vladmihalcea commented 1 year ago

I understand. I'll see what I can do about it.

vladmihalcea commented 1 year ago

Fixed.