GroupDocs Viewer 2.12.0 - Maven - Aspose

Hi,
I tried to run sample Viewer application but on build, Maven couldn’t get dependency from Aspose repositories.
Can You help me with this?
Maven output:

mvn clean install tomcat7:run

Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
[INFO] Scanning for projects…
[INFO]
[INFO] -----------------------------------------------------------------------
[INFO] Building GroupDocs Java Viewer - Sample Spring 2.12.0
[INFO] ------------------------------------------------------------------------
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-cells/8.5.0/aspose-cells-8.5.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-cells/8.6.2)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-cells/8.5.0/aspose-cells-8.5.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-cells/8.6.2)
[WARNING] The POM for com.aspose:aspose-cells:jar:8.5.0 is missing, no dependency information available
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-diagram/5.4.0/aspose-diagram-5.4.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-diagram/21.6)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-diagram/5.4.0/aspose-diagram-5.4.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-diagram/21.6)
[WARNING] The POM for com.aspose:aspose-diagram:jar:5.4.0 is missing, no dependency information available
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-email/5.3.0.0/aspose-email-5.3.0.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-email/21.5)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-email/5.3.0.0/aspose-email-5.3.0.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-email/21.5)
[WARNING] The POM for com.aspose:aspose-email:jar:5.3.0.0 is missing, no dependency information available
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-imaging/2.9.0/aspose-imaging-2.9.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-imaging/2.1.0.0)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-imaging/2.9.0/aspose-imaging-2.9.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-imaging/2.1.0.0)
[WARNING] The POM for com.aspose:aspose-imaging:jar:2.9.0 is missing, no dependency information available
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-pdf/10.4.0/aspose-pdf-10.4.0.pom](https://mvnrepository.com/artifact/com.aspose.pdf/aspose-pdf-jdk16/9.3.1.0)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-pdf/10.4.0/aspose-pdf-10.4.0.pom](https://mvnrepository.com/artifact/com.aspose.pdf/aspose-pdf-jdk16/9.3.1.0)
[WARNING] The POM for com.aspose:aspose-pdf:jar:10.4.0 is missing, no dependency information available
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-slides/15.5.1/aspose-slides-15.5.1.pom](https://mvnrepository.com/artifact/com.aspose/aspose-slides/14.7.0)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-slides/15.5.1/aspose-slides-15.5.1.pom](https://mvnrepository.com/artifact/com.aspose/aspose-slides/14.7.0)
[WARNING] The POM for com.aspose:aspose-slides:jar:15.5.1 is missing, no dependency information available
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-tasks/8.4.0/aspose-tasks-8.4.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-tasks/21.11)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-tasks/8.4.0/aspose-tasks-8.4.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose-tasks/21.11)
[WARNING] The POM for com.aspose:aspose-tasks:jar:8.4.0 is missing, no dependency information available
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-words/15.6.0/aspose-words-15.6.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose.words/14.2.0)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-words/15.6.0/aspose-words-15.6.0.pom](https://mvnrepository.com/artifact/com.aspose/aspose.words/14.2.0)
[WARNING] The POM for com.aspose:aspose-words:jar:15.6.0 is missing, no dependency information available
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-cells/8.5.0/aspose-cells-8.5.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-cells/8.6.2)
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-diagram/5.4.0/aspose-diagram-5.4.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-diagram/21.6)
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-email/5.3.0.0/aspose-email-5.3.0.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-email/21.5)
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-pdf/10.4.0/aspose-pdf-10.4.0.jar](https://mvnrepository.com/artifact/com.aspose.pdf/aspose-pdf-jdk16/9.3.1.0)
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-imaging/2.9.0/aspose-imaging-2.9.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-imaging/2.1.0.0)
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-slides/15.5.1/aspose-slides-15.5.1.jar](https://mvnrepository.com/artifact/com.aspose/aspose-slides/14.7.0)
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-tasks/8.4.0/aspose-tasks-8.4.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-tasks/21.11)
Downloading: [https://repo.maven.apache.org/maven2/com/aspose/aspose-words/15.6.0/aspose-words-15.6.0.jar](https://mvnrepository.com/search?q=aspose.words)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-cells/8.5.0/aspose-cells-8.5.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-cells/8.6.2)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-diagram/5.4.0/aspose-diagram-5.4.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-diagram/21.6)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-imaging/2.9.0/aspose-imaging-2.9.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-imaging/2.1.0.0)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-pdf/10.4.0/aspose-pdf-10.4.0.jar](https://mvnrepository.com/artifact/com.aspose.pdf/aspose-pdf-jdk16/9.3.1.0)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-email/5.3.0.0/aspose-email-5.3.0.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-email/21.5)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-slides/15.5.1/aspose-slides-15.5.1.jar](https://mvnrepository.com/artifact/com.aspose/aspose-slides/14.7.0)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-tasks/8.4.0/aspose-tasks-8.4.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose-tasks/21.11)
Downloading: [http://repository.springsource.com/maven/bundles/external/com/aspose/aspose-words/15.6.0/aspose-words-15.6.0.jar](https://mvnrepository.com/artifact/com.aspose/aspose.words/14.2.0)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.113 s
[INFO] Finished at: 2015-08-21T11:10:01+02:00
[INFO] Final Memory: 11M/240M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project groupdocs-viewer-spring: Could not resolve dependencies for project com.groupdocs.samples:groupdocs-viewer-spring:war:2.12.0: The following artifacts could not be resolved: com.aspose:aspose-cells:jar:8.5.0, com.aspose:aspose-diagram:jar:5.4.0, com.aspose:aspose-email:jar:5.3.0.0, com.aspose:aspose-imaging:jar:2.9.0, com.aspose:aspose-pdf:jar:10.4.0, com.aspose:aspose-slides:jar:15.5.1, com.aspose:aspose-tasks:jar:8.4.0, com.aspose:aspose-words:jar:15.6.0: Could not find artifact com.aspose:aspose-cells:jar:8.5.0 in central (Central Repository:) → [Help 1]
[ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] DependencyResolutionException - Apache Maven - Apache Software Foundation

Hello,

Thank you for your inquiry.

Seems that you use our slim GroupDocs.Viewer for Java library for Spring sample, that should include our fat library .

Please try to use our slim spring sample from here .
Or you can download our fat library from here and then reinstall it in your local maven repository. For how to install our library please check this article .

-------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

I’ve already try this solution before. I done everything one more time with same result. On manual exploration Aspose repository I’ve got information that file doesn’t exists or I don’t have permission to get this resource.


Maven couldn’t get libs from repository.

Can You check this issue?
Hello,

Thank you for coming back.

If you still have some issues with install Aspose libraries, then you can manually download them from here from section "ext-release-local" and then install them to your local maven repository via such code :

mvn install:install-file -Dpackaging=jar -Dversion=5.3.0 -DgroupId=com.aspose -DartifactId=aspose-email -Dfile=aspose-email-5.3.0-jdk16.jar

But we think that you have the issue because you incorrect installed our fat library. Please try to delete all cache files of the Aspose libraries and our Viewer library from you local maven repository. After this, please download our library from here and try to install it via such code:

mvn install:install-file -Dpackaging=jar -Dversion=2.12.0 -DgroupId=com.groupdocs -DartifactId=groupdocs-viewer -Dfile=GroupDocs.Viewer.jar

Then you can use our Spring sample from here .

We hope that this helps you with your issue.

-------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+