Hi Fernando, The best way to get those dependencies is to run mvn install from the top level OODT checkout/src directory. That will build the dependencies and install them in order that you need them for the rest of the subsequent components to build.
Cheers, Chris On Mar 6, 2011, at 1:16 AM, Fernando Arreola wrote: > Hello, > > I am new to OODT and am having trouble building OODT. My end goal is to learn > more about how the different components work internally. > > I have downloaded the 0.2 release by obtaining the > "apache-oodt-0.2-src.tar.gz" file and extracting its contents. I also > installed Maven 2.2.1 in order to build OODT. I ran the "mvn install" command > from the top level directory but it tells me the build failed. The only > failure I see is an XMLTest failure, but I am unable to find any compile > artifacts (i.e. .jar files or .class files). > > If I try to build individual components I also get a build error. For > example, if I try to build the metadata component I get the following error: > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.apache.oodt:oodt-commons:jar:0.2 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.oodt > -DartifactId=oodt-commo > ns -Dversion=0.2 -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.apache.oodt > -DartifactId=oodt-commons > -Dversion=0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[ > id] > > Path to dependency: > 1) org.apache.oodt:cas-metadata:jar:0.2 > 2) org.apache.oodt:oodt-commons:jar:0.2 > > 2) org.apache.oodt:pcs-input:jar:0.2 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.oodt > -DartifactId=pcs-input > -Dversion=0.2 -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.apache.oodt -DartifactId=pcs-input > -D > version=0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > > Path to dependency: > 1) org.apache.oodt:cas-metadata:jar:0.2 > 2) org.apache.oodt:pcs-input:jar:0.2 > > > I cannot find either file in any repository. Am I missing a step that is > needed in order to get the compile artifacts? > > Thanks, > Fernando Arreola ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: [email protected] WWW: http://sunset.usc.edu/~mattmann/ Twitter: @chrismattmann Facebook: http://facebook.com/chris.mattmann ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
