how to install java sdk with maven? #9194
-
I read the md documentation in https://github.com/argoproj/argo-workflows/tree/master/sdks/java this link, I have never used github's maven repository, so I don't know how to use maven argo-client-java is imported into my java project, can someone tell me how to import the jar package of github's maven repository, thank you! ! ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Try this: <profile>
<id>github</id>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>false</enabled></snapshots>
</repository>
<repository>
<id>github</id>
<name>GitHub argoproj Apache Maven Packages</name>
<url>https://maven.pkg.github.com/argoproj/argo-workflows</url>
</repository>
</repositories>
</profile> |
Beta Was this translation helpful? Give feedback.
-
I followed the recomendation from @terrytangyuan in my maven settings.xml and add the depedency in my pom file like this: <dependency>
<groupId>io.argoproj.workflow</groupId>
<artifactId>argo-client-java</artifactId>
<version>v3.3.8</version>
</dependency> Also using this dependency <dependency>
<groupId>io.argoproj.workflow</groupId>
<artifactId>argo-client-java</artifactId>
<version>v3.4.5</version>
</dependency> In any test it not works. My Eclipse UI detects it as missing artifact. What is it wrong? |
Beta Was this translation helpful? Give feedback.
Try this: