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

Maven project cannot correctly reference iwf-java-sdk dependencies #210

Open
WinfredEU opened this issue Nov 17, 2023 · 4 comments
Open

Comments

@WinfredEU
Copy link

pom.xml
<dependency> <artifactId>iwf-java-sdk</artifactId> <groupId>io.iworkflow</groupId> <type>pom</type> <version>2.4.0</version> </dependency>

Snipaste_2023-11-17_10-15-36

But using gradle everything is OK!

@longquanzheng
Copy link
Contributor

Hello, I don't use pom, but here should be some setup issues with you env.
The java library is available: https://www.javadoc.io/doc/io.iworkflow/iwf-java-sdk/latest/index.html

@WinfredEU
Copy link
Author

I found a solution, Gradle generat iwf-java-sdk-2.4.0-plain.jar , Maven only default catch iwf-java-sdk-2.4.0.jar, so that's the problem.
Change build.gradle, jar section add archiveClassifier = ''
then Gradle will generat iwf-java-sdk-2.4.0.jar

https://stackoverflow.com/questions/67663728/spring-boot-2-5-0-generates-plain-jar-file-can-i-remove-it
Snipaste_2023-11-17_14-20-07
Snipaste_2023-11-17_14-32-37

@longquanzheng
Copy link
Contributor

Ohh interesting. Should I fix the gradle then? Would it be a broken change if change it or is there a way to keep both?

@WinfredEU
Copy link
Author

I'm not familiar with Gradle.

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

2 participants