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

working publishMavenJavaPublicationToMavenLocal #62

Closed
delanym opened this issue Oct 6, 2022 · 1 comment
Closed

working publishMavenJavaPublicationToMavenLocal #62

delanym opened this issue Oct 6, 2022 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@delanym
Copy link

delanym commented Oct 6, 2022

On the front page https://github.com/prowide/prowide-iso20022

If instead of depending on the uber jar you want to have a subset of the library for some message types you can just take the base and common jars and the specific category modules.

But how do I get these in a way that I can use them dynamically?

The task ./gradlew publishMavenJavaPublicationToMavenLocal doesn't work.

@ptorres-prowide
Copy link
Contributor

ptorres-prowide commented Nov 15, 2022

Hello, you can add the following line to the gradle command in order to avoid the error: -xpublishMavenJavaPublicationToSonatypeRepositor

Besides that, please check the last section of the project readme, it explains how to create specific libs for each module.

**If instead of depending on the uber jar you want to have a subset of the library for some message types you can just take the base and common jars and the specific category modules. For instance to use ony the pacs and camt messages, you need:

iso20022-core -> pw-iso20022-core-SRUYYYY-version.jar
model-common-types -> pw-iso20022-common-types-SRUYYYY-version.jar
model-pacs-mx -> pw-iso20022-pacs-mx-SRUYYYY-version.jar
model-pacs-types -> pw-iso20022-pacs-types-SRUYYYY-version.jar
model-camt-mx -> pw-iso20022-camt-mx-SRUYYYY-version.jar
model-camt-types -> pw-iso20022-camt-types-SRUYYYY-version.jar

In this case, you can run the following commands:

./gradlew :iso20022-core:jar
./gradlew :model-common-types:jar
./gradlew :model-pacs-mx:jar
./gradlew :model-pacs-types:jar
./gradlew :model-camt-mx:jar
./gradlew :model-camt-types:jar**

@zubri zubri added the question Further information is requested label Nov 18, 2022
@zubri zubri closed this as completed Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants