Please let me know how to download jar file via maven repository
Mainly, I’ve tried below two maven url and they are not working.
https://releases.aspose.com/words/java/
Please let me know the exact url.
Thanks.
Please let me know how to download jar file via maven repository
Mainly, I’ve tried below two maven url and they are not working.
https://releases.aspose.com/words/java/
Please let me know the exact url.
Thanks.
Hi Changro,
Thanks for your inquiry. I have attached a sample “IntelliJ Idea” project here for your reference. Please download “AsposeWordsMavenTest.zip” and see how it goes on your end. I hope, this helps.
Best regards,
I’ve used the repository from the sample source code. But applied little change to the dependency part as below.
com.aspose
aspose-words
16.4.0
jdk18
Since I’m using Java 1.8 version, I’ve changed classifier to jdk18.
After setting the pom.xml file, I’ve tested with the following maven command.
mvn -X clean install
Unfortunately, the maven command has failed with the following message.
[ERROR] Failed to execute goal on project euroscope: Could not resolve dependencies for project com.euroscope:euroscope:war:0.0.1-SNAPSHOT: Could not find artifact com.aspose:aspose-words:jar:jdk18:16.4.0 in AsposeJavaAPI (https://releases.aspose.com/words/java/) → [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project euroscope: Could not resolve dependencies for project com.euroscope:euroscope:war:0.0.1-SNAPSHOT: Could not find artifact com.aspose:aspose-words:jar:jdk18:16.4.0 in AsposeJavaAPI (https://releases.aspose.com/words/java/)
Can you please check one more time and let me know.
Thanks.
Hi Changro,
Thanks for your inquiry. There is no separate library for Java 8. You should use following. This will work for Java 8 as well.
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-words</artifactId>
<version>16.5.0</version>
<classifier>jdk16</classifier>
</dependency>
</dependencies>
Best regards,