I am using Aspose.Pdf third party Java library. I declared the dependency as below
Aspose is suggsting to include their own repository in pom.xml. as below
<name>Aspose Java API</name>
I have included above repository after <properties></properties>
Now maven was unable to download the jar files. When I ran mvn clean compile command it is giving me below
[ERROR] Failed to execute goal on project test.core:
Could not resolve dependencies for project com.test.core:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at com.aspose:aspose-pdf:jar:22.12: Failed to read artifact descriptor for com.aspose:aspose-pdf:jar:22.12:
Could not transfer artifact com.aspose:aspose-pdf:pom:22.12
I am also using Adobe public Repository as well.
How can I make com.aspose dependency get downloaded from their own repository(AsposeJavaAPI) instead of maven or adobe repository? What is the configuration that I need to use?
Thanks in advance!
Solved! Go to Solution.