Aspose for Maven 使用

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

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

 

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

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

 

 

Maven Settings

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

通過驗證,可用的配置pom.xml:webapp

<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的方式:maven

<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>

相關文章
相關標籤/搜索