Include third party repository in pom.xml
Hi Team,
I am using Aspose.Pdf third party Java library. I declared the dependency as below
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>22.12</version>
</dependency>
Aspose is suggsting to include their own repository in pom.xml. as below
<repositories>
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://releases.aspose.com/java/repo/</url>
</repository>
</repositories>
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
[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?
@lukasz-m @skmaem @vijayalakshmi_s @asutosh_jena_
Thanks in advance!
