Aspose for Maven 使用 3年前

https://blog.aspose.com/2014/08/12/aspose-for-maven-aspose-cloud-maven-repository/

https://marketplace.eclipse.org/content/aspose-maven-project-wizard

上述配置的URL的地址是失效的!!!即:http://maven.aspose.com/repository/ext-release-local/是错误地址。

正确地址:http://maven.aspose.com/repository/repo/

Maven Settings

http://maven.aspose.com/repository/webapp/mavensettings.html?5

经过验证,可用的配置pom.xml:

<mirror>
        <id>offical</id>  
        <name>Maven Official Repository</name>  
        <url>http://repo1.maven.org/maven2</url>  
        <mirrorOf>central</mirrorOf>  
    </mirror>
    <mirror>
        <id>jboss</id>  
        <name>Jboss Repository</name>  
        <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url>  
        <mirrorOf>central</mirrorOf>  
    </mirror>
    <mirror>
      <id>AsposeJavaAPI</id>
      <name>Aspose Java API</name>
      <url>http://maven.aspose.com/repository/repo</url>
      <mirrorOf>*</mirrorOf>
    </mirror>
    <mirror>
        <id>mvn</id>
        <name>Mvn Repository</name>  
        <url>https://mvnrepository.com/</url>
        <mirrorOf>central</mirrorOf>  
    </mirror>

上述方案,如果对于要修改aspose-email-16.10.0-jdk16.jar里的方式不奏效,可以采用自己上传jar到本地nexus repository的方式:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>fakepath</groupId>
  <artifactId>aspose-email</artifactId>
  <version>16.10.0</version>
  <description>POM was created by Sonatype Nexus</description>
</project>

image
天降之物
我将一直找寻,为你翻遍这世上所有的宝石,每日每夜我都为你痛苦地哭泣,犹如你一次又一次地呼唤我,而在我灵魂深处,我听见了你的呼唤。
3
发布数
3
关注者
1398
累计阅读

热门教程文档

Kotlin
68小节
CSS
33小节
Maven
5小节
Gin
17小节
Spring Cloud
8小节