You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oodt.apache.org by Fernando Arreola <jf...@usc.edu> on 2011/03/06 10:16:05 UTC

Getting Started with OODT

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<http://mirror.olnevhost.net/pub/apache//oodt/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

Re: Getting Started with OODT

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
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: chris.a.mattmann@nasa.gov
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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Getting Started with OODT

Posted by Sean Kelly <ke...@apache.org>.
> 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).

Try running: mvn install -DskipTests

> If I try to build individual components I also get a build error.

Yes, that is because many of the individual components have dependencies on other components (especially the "commons" component which has the XMLTest failure you're seeing).

However, once you can successfully run "mvn install -DskipTests" those dependencies will be available.

--k


Re: Getting Started with OODT

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Niloofar,

(note to all: I'm having my CSCI 578 students at USC this semester look at OODT in a number of their assignments, see [1])

As far as discussing the below, please provide some context for your questions/discussion on this mailing lists. Remember, not everyone here is a student in CSCI 578, and currently working on assignment #2 :)

Answers below:

> 1) I wanted to ask you whether you are able to identify different relationships (inheritance, method call, ...) with CDA? Do I need to install any plug-ins? Currently it only shows one kind of arrow to depict dependencies. 

CDA is a class dependency analysis tool that the class is using to do static analysis on OODT. The tool should provide you with visualization of the relationships you cite above w/o any additional plugins. If it's only showing 1 arrow, I think there is an issue.

> 
> 2) I gave the CDA the root directory of the downloaded OODT code and it lists a huge number of packages and it becomes very difficult to search for the class and package names. Do you have the same problem?

This is a side effect of the size of the OODT code base. Hard to get around it :(

> 
> 3) It seems that now that I have loaded all packages into CDA, it doesn't show the some dependency graphs anymore. Should I restrict the packages that I import?

I think you may want to restrict your focus to your components that you are working on as part of your assignment.

Cheers,
Chris

[1] http://sunset.usc.edu/classes/cs578_2011b/

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Getting Started with OODT

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Niloofar,

(note to all: I'm having my CSCI 578 students at USC this semester look at OODT in a number of their assignments, see [1])

As far as discussing the below, please provide some context for your questions/discussion on this mailing lists. Remember, not everyone here is a student in CSCI 578, and currently working on assignment #2 :)

Answers below:

> 1) I wanted to ask you whether you are able to identify different relationships (inheritance, method call, ...) with CDA? Do I need to install any plug-ins? Currently it only shows one kind of arrow to depict dependencies. 

CDA is a class dependency analysis tool that the class is using to do static analysis on OODT. The tool should provide you with visualization of the relationships you cite above w/o any additional plugins. If it's only showing 1 arrow, I think there is an issue.

> 
> 2) I gave the CDA the root directory of the downloaded OODT code and it lists a huge number of packages and it becomes very difficult to search for the class and package names. Do you have the same problem?

This is a side effect of the size of the OODT code base. Hard to get around it :(

> 
> 3) It seems that now that I have loaded all packages into CDA, it doesn't show the some dependency graphs anymore. Should I restrict the packages that I import?

I think you may want to restrict your focus to your components that you are working on as part of your assignment.

Cheers,
Chris

[1] http://sunset.usc.edu/classes/cs578_2011b/

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Getting Started with OODT

Posted by niloofar montazeri <mo...@gmail.com>.
Hi Fernando,

First of all, Is that ok that I contact you about the assignment? If not,
you can ignore the following questions :)

1) I wanted to ask you whether you are able to identify different
relationships (inheritance, method call, ...) with CDA? Do I need to install
any plug-ins? Currently it only shows one kind of arrow to depict
dependencies.

2) I gave the CDA the root directory of the downloaded OODT code and it
lists a huge number of packages and it becomes very difficult to search for
the class and package names. Do you have the same problem?

3) It seems that now that I have loaded all packages into CDA, it doesn't
show the some dependency graphs anymore. Should I restrict the packages that
I import?

Thanks
Niloofar

Re: Getting Started with OODT

Posted by niloofar montazeri <mo...@gmail.com>.
Hi Fernando,

First of all, Is that ok that I contact you about the assignment? If not,
you can ignore the following questions :)

1) I wanted to ask you whether you are able to identify different
relationships (inheritance, method call, ...) with CDA? Do I need to install
any plug-ins? Currently it only shows one kind of arrow to depict
dependencies.

2) I gave the CDA the root directory of the downloaded OODT code and it
lists a huge number of packages and it becomes very difficult to search for
the class and package names. Do you have the same problem?

3) It seems that now that I have loaded all packages into CDA, it doesn't
show the some dependency graphs anymore. Should I restrict the packages that
I import?

Thanks
Niloofar

Re: Getting Started with OODT

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
No problem!

Cheers,
Chris

On Mar 8, 2011, at 1:36 PM, Fernando Arreola wrote:

> Sorry about the double post I had sent the first one out before I had subscribed and once I subscribed I didn't think the original one had taken so I sent this one. 
> 
> I was running on Windows XP, using Maven 2.2.1 (Maven 3.0.3 didn't seem to work at all). I used the command to skip the tests and that resolved the issue. 
> 
> Thanks for the help!
> 
> Fernando
> 
> On Sun, Mar 6, 2011 at 1:16 AM, Fernando Arreola <jf...@usc.edu> 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: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Getting Started with OODT

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
No problem!

Cheers,
Chris

On Mar 8, 2011, at 1:36 PM, Fernando Arreola wrote:

> Sorry about the double post I had sent the first one out before I had subscribed and once I subscribed I didn't think the original one had taken so I sent this one. 
> 
> I was running on Windows XP, using Maven 2.2.1 (Maven 3.0.3 didn't seem to work at all). I used the command to skip the tests and that resolved the issue. 
> 
> Thanks for the help!
> 
> Fernando
> 
> On Sun, Mar 6, 2011 at 1:16 AM, Fernando Arreola <jf...@usc.edu> 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: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Getting Started with OODT

Posted by Fernando Arreola <jf...@usc.edu>.
Sorry about the double post I had sent the first one out before I had
subscribed and once I subscribed I didn't think the original one had taken
so I sent this one.

I was running on Windows XP, using Maven 2.2.1 (Maven 3.0.3 didn't seem to
work at all). I used the command to skip the tests and that resolved the
issue.

Thanks for the help!

Fernando

On Sun, Mar 6, 2011 at 1:16 AM, Fernando Arreola <jf...@usc.edu> 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<http://mirror.olnevhost.net/pub/apache//oodt/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
>

Re: Getting Started with OODT

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
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: chris.a.mattmann@nasa.gov
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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: Getting Started with OODT

Posted by Fernando Arreola <jf...@usc.edu>.
Sorry about the double post I had sent the first one out before I had
subscribed and once I subscribed I didn't think the original one had taken
so I sent this one.

I was running on Windows XP, using Maven 2.2.1 (Maven 3.0.3 didn't seem to
work at all). I used the command to skip the tests and that resolved the
issue.

Thanks for the help!

Fernando

On Sun, Mar 6, 2011 at 1:16 AM, Fernando Arreola <jf...@usc.edu> 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<http://mirror.olnevhost.net/pub/apache//oodt/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
>