En löydä mistään oikeita Maven 2 .jar -kirjastoja kun yritän kääntää Continous Integraatiossa Maven 2:sella Confluence Appia.
Esim. tässä linkki yhteen tarvittavaan mutta ks. artifaktia ei voi ladata tuolta mitenkään jotta voisin asentaa sen manuaalisesti omaan Maven Repositoryyni:
https://mvnrepository.com/artifact/xmlrpc/xmlrpc/2.0 xmlrpc61.1 sbfix
BUILD ERROR
Failed to resolve artifact.
Missing:
----------
1) dom4j:dom4j:jar:1.4-full
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=dom4j -DartifactId=dom4j -Dversion=1.4-full -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=dom4j -DartifactId=dom4j -Dversion=1.4-full -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) xxx
2) org.apache.poi:poi-ooxml:jar:3.9
3) dom4j:dom4j:jar:1.4-full
2) velocity-tools:velocity-tools:jar:view-1.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=velocity-tools -DartifactId=velocity-tools -Dversion=view-1.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=velocity-tools -DartifactId=velocity-tools -Dversion=view-1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) xxx
2) com.atlassian.confluence:confluence:jar:5.3.4
3) velocity-tools:velocity-tools:jar:view-1.1
3) xmlrpc:xmlrpc:jar:2.0+xmlrpc61.1+sbfix
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=xmlrpc -DartifactId=xmlrpc -Dversion=2.0+xmlrpc61.1+sbfix -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=xmlrpc -DartifactId=xmlrpc -Dversion=2.0+xmlrpc61.1+sbfix -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) xxx
2) com.atlassian.confluence:confluence:jar:5.3.4
3) xmlrpc:xmlrpc:jar:2.0+xmlrpc61.1+sbfix
4) slide:slide:jar:2.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=slide -DartifactId=slide -Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=slide -DartifactId=slide -Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) xxx
2) com.atlassian.confluence:confluence:jar:5.3.4
3) slide:slide:jar:2.1
5) org.eclipse.core:runtime:jar:20070801
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.core -DartifactId=runtime -Dversion=20070801 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.eclipse.core -DartifactId=runtime -Dversion=20070801 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) xxxx
2) com.atlassian.confluence:confluence:jar:5.3.4
3) org.outerj.daisy:daisydiff:jar:1.1-atlassian-5
4) org.eclipse.core:runtime:jar:20070801
----------
5 required artifacts are missing.Onko mitään mahdollista saadea nämä jos kerran Atlassian on poistanut artifaktit heidän omasta repositrystä: https://packages.atlassian.com/maven-3rdparty/
Täältä tosin löytyy mutta väärät versiot: http://central.maven.org/maven2/
Lisäys: Tarkistin nyt kuitenkin, että oikeat jar-paketit löytyvät CI:n omasta repositorystä mutta silti kääntäminen ei onnistu.
Nyt sain Build Successin siis vaikka Maven 2 -setting.xml-tiedostossa on oikea localRepository mistä löysin oikeat jar-tiedostot niin piti silti asnetaa ne erikseen shared-repositoryyn CI:ssä.
Aihe on jo aika vanha, joten et voi enää vastata siihen.