Code: Select all
ant -f build.xml jetty-demo
Code: Select all
Unable to resolve artifact: Missing:
[artifact:dependencies] ----------
[artifact:dependencies] 1) com.mycompany:core:jar:1.0
[artifact:dependencies]
[artifact:dependencies] Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies] Then, install it using the command:
[artifact:dependencies] mvn install:install-file -DgroupId=com.mycompany -DartifactId=core -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies] mvn deploy:deploy-file -DgroupId=com.mycompany -DartifactId=core -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies] 1) com.mycompany:combined:war:1.0
[artifact:dependencies] 2) com.mycompany:core:jar:1.0
[artifact:dependencies]
[artifact:dependencies] 2) com.mycompany:site:war:1.0
[artifact:dependencies]
[artifact:dependencies] Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies] Then, install it using the command:
[artifact:dependencies] mvn install:install-file -DgroupId=com.mycompany -DartifactId=site -Dversion=1.0 -Dpackaging=war -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies] mvn deploy:deploy-file -DgroupId=com.mycompany -DartifactId=site -Dversion=1.0 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies] 1) com.mycompany:combined:war:1.0
[artifact:dependencies] 2) com.mycompany:site:war:1.0
[artifact:dependencies]
[artifact:dependencies] 3) com.mycompany:admin:war:1.0
[artifact:dependencies]
[artifact:dependencies] Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies] Then, install it using the command:
[artifact:dependencies] mvn install:install-file -DgroupId=com.mycompany -DartifactId=admin -Dversion=1.0 -Dpackaging=war -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies] mvn deploy:deploy-file -DgroupId=com.mycompany -DartifactId=admin -Dversion=1.0 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies] 1) com.mycompany:combined:war:1.0
[artifact:dependencies] 2) com.mycompany:admin:war:1.0
[artifact:dependencies]
[artifact:dependencies] ----------
[artifact:dependencies] 3 required artifacts are missing.
I tried installing them manually with mvn install, but didn't work either...
How do I run the combined (site + adimn) version?
Please help.