Free Support Forum - groupdocs.com

2.9.1 -> Wrong Aspose-mail version in maven pom.xml


#1

In the maven pom of GroupDocs.Viewer 2.9.1 you are referring to version 5.0.0.0 of aspose-email.


com.aspose
aspose-email
5.0.0.0


This version cannot be found on the aspose server. 5.0.0 can be found… but for this version you also need to specify a classifier (jdk16 or jdk17)


#2
Hello,

Sorry for the inconvenience. At this moment in the pom file for the aspose-email library specified the version that are stored in our slim sample here. This jar file applies to the classifier jdk16, because our Viewer for Java can be used with Java 6 version, but you can also specify other versions of classifier or versions of Aspouse libraries for testing our product. Basically we specify in our library, the Aspose libraries which was tested and satisfied our requirements.

If you will have more questions please feel free to contact us.

Best regards
Evgen Efimov

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


#4
Hello,

Thank you for your clarification. But we use in our samples the Aspose library from Aspose web site . After downloading this library you will see two jar files with 5.0.0.0 version stored in the package as shown on the screenshot. And how I said earlier, it is the sample and you can change independently the versions of library in it.

Best regards
Evgen Efimov

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


#5

I think this is a mistake from Apose then. As you can see the versionnumber of the zipfile is 5.0.0…

And in their maven repository they are using this versionnumber as well. Now I have to manually change the version in your poms. I think it would be better/easier if you stick to the maven version numbers as used by Apose.

Any suggestion how I can specifically use and specify the jdk16 of jdk17 versions as used by the Aspose libraries in maven?


#6

Hello,


At this moment as workaround I can propose you to add such code lines to the pom.xml file of your project :
Aspose repo
http://maven.aspose.com/artifactory/simple/ext-release-local/

com.groupdocs
groupdocs-viewer
${groupdocs.viewer}
com.aspose
aspose-email
jar

com.aspose
aspose-email
5.0.0
jdk16

Best regards
Evgen Efimov

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