Mavening Your Repository
Maven is a project system (analogous to qmake, or the file organization in IDEs) that complements the ant build system (analogous to make). Maven allows a project to specify dependencies in the form of Jars available from a repository, the default of which is http://www.ibiblio.org/maven. It will get these automagically if you don't already have them. If for some reason you really just want to download them to your computer, type this in your shell:
Then, for each library that you need (if you are like me, you're looking at broken dependencies in Eclipse), change to your Maven repository directory (set when you install maven) and type "maven_repos_get ". If you're wondering how I got these broken dependencies in eclipse, check out "maven eclipse", and don't forget to define MAVEN_REPO.
function maven_repos_get() {
FOLDER=$1; VER=$2; mkdir $1; mkdir $1/jars; pushd $1/jars;
curl -O http://www.ibiblio.org/maven/$1/jars/$1-$2.jar; popd;
}
Then, for each library that you need (if you are like me, you're looking at broken dependencies in Eclipse), change to your Maven repository directory (set when you install maven) and type "maven_repos_get
0 Comments:
Post a Comment
<$I18N$LinksToThisPost>:
Create a Link
<< Home