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

Publish packages to Maven Central #64

Merged
merged 9 commits into from
Sep 10, 2024
Merged

Conversation

bertrand-lorentz
Copy link
Contributor

@bertrand-lorentz bertrand-lorentz commented Sep 9, 2024

Publish releases to Maven Central, and snapshots to the corresponding OSS snapshot repository.
See the version published from this branch:
https://s01.oss.sonatype.org/content/repositories/snapshots/eu/europa/ted/eforms/eforms-sdk-analyzer/1.13.0-SNAPSHOT/

We now build a normal JAR, and the full JAR will all dependencies is renamed to have the "-all" suffix.
As the SDK runs the Analyzer via a Maven dependency, it will download the dependencies anyways, so it does not need to use the "full" JAR. We still publish the full JAR in case someone just wants to download it to run it from the command line.

Various other small clean-ups in pom.xml. See individual commits.

These dependencies are not optional, they are used by all features.
They are included in the full/shaded JAR with all other dependencies
anyways.
It's a dependency of drools-ruleunits-engine, and we don't use anything
from it directly, so we don't need to have it in our pom.
Don't replace the original JAR with the full/shaded JAR, but create
the full JAR with the "-all" suffix.
It's is set to the default value, so we actually don't need to specify
it.
@bertrand-lorentz bertrand-lorentz merged commit 72ffc5f into develop Sep 10, 2024
3 checks passed
@bertrand-lorentz bertrand-lorentz deleted the publish-to-maven branch September 10, 2024 08:57
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.

2 participants