Professor,
Thank you for your reply, I installed maven apache-maven-2.2.1-bin.zipfrom
this site http://maven.apache.org/download.html.When i installed it and run mvn
install under oodt directory, it shows error from profile service.In order to
check only selected components, do i need to have the successful install under
oodt directory as well as under each component directory with pom.xml?will it
work if I have successful build under the component directory i'm interested
in?Thank you so much.
Regards,Krittaya
> From: [email protected]
> To: [email protected]
> Date: Thu, 17 Mar 2011 20:19:52 -0700
> Subject: Re: unable to build OODT
>
> Looks like you are using Maven3 -- you'll want to use Maven 2.2.1.
>
> Thanks!
>
> Cheers,
> Chris
>
> On Mar 17, 2011, at 9:59 AM, krittaya chunhaviriyakul wrote:
>
> >
> > Hi all,
> > I am using mac os x as well, and I have some errors when mvn install the
> > oodt directory.
> > [INFO] BUILD FAILURE[INFO]
> > ------------------------------------------------------------------------[INFO]
> > Total time: 5:43.356s[INFO] Finished at: Thu Mar 17 08:51:00 PDT
> > 2011[INFO] Final Memory: 21M/81M[INFO]
> > ------------------------------------------------------------------------[ERROR]
> > Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.7.1:test (default-test) on
> > project oodt-profile: There are test failures.[ERROR] [ERROR] Please refer
> > to
> > /Users/krittayachunhaviriyakul/apache-oodt-0.2-src/profile/target/surefire-reports
> > for the individual test results.[ERROR] -> [Help 1][ERROR] [ERROR] To see
> > the full stack trace of the errors, re-run Maven with the -e switch.[ERROR]
> > Re-run Maven using the -X switch to enable full debug logging.[ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:[ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR]
> > [ERROR] After cor
rect
> > ing the problems, you can resume the build with the command[ERROR] mvn
> > <goals> -rf :oodt-profile
> > Can anyone tell me how to fix the error?
> > Thank you.
> > Krittaya
> >
> >
> >> From: [email protected]
> >> Date: Thu, 17 Mar 2011 11:42:17 -0400
> >> Subject: Re: unable to build OODT
> >> To: [email protected]
> >> CC: [email protected]
> >>
> >> If I can add onto this, I find that building on Mac has some minor issues
> >> with the following:
> >>
> >> - CAS Workflow Monitor Web Application
> >>
> >> and other modules along the way where javadoc generation fails and needs to
> >> be skipped. Also I have to manually install some dependencies myself but
> >> I'm
> >> not sure if this is because my Java installation has been bastardized at
> >> some point or not. I haven't taken a look at the code but have simply been
> >> skipping the failing test/javadoc generations and compiling said modules
> >> manually.
> >>
> >> So mvn -DskipTest=true -Dmaven.javadoc.skip=True install whatever
> >>
> >> If it would be beneficial i'll provide a list of the failures and take a
> >> look at some of this stuff as I'd like to actually try using some of it.
> >>
> >>
> >> On Thu, Mar 17, 2011 at 1:30 AM, Cameron Goodale <[email protected]>
> >> wrote:
> >>
> >>> Andy, thanks for the thorough root cause analysis. One word of caution re:
> >>> maven on the mac, the latest round of updates will update the default
> >>> maven
> >>> that comes installed to version 3.
> >>>
> >>> It seems you are out of the woods now but something to be aware of when
> >>> using maven on the mac.
> >>>
> >>> Best regards,
> >>>
> >>> Cameron
> >>> On Mar 16, 2011 10:18 PM, "Andy Bauch" <[email protected]> wrote:
> >>>> Cameron:
> >>>>
> >>>> Andys-Mac-Book-Pro:Desktop andybauch$ md5 apache-oodt-0.2-src.tar.gz
> >>>> MD5 (apache-oodt-0.2-src.tar.gz) = a90f7b457f3b1dc9eb460343ee280481
> >>>>
> >>>> Chris:
> >>>>
> >>>> After trying to build in Windows with Maven 2.2.1 I ran into the XMLTest
> >>>> failure that others were encountering. Unfortunately I can't recall the
> >>>> subsequent error I was looking into when I decided to switch gears to my
> >>>> Mac.
> >>>>
> >>>> The steps I can take to reproduce the issue (which in reality appears to
> >>> be
> >>>> an issue with my Unarchiver application) are:
> >>>>
> >>>> 1. wget "
> >>> http://www.fightrice.com/mirrors/apache//oodt/apache-oodt-0.2-src.tar.gz"
> >>>> 2. In Finder double-click on apache-oodt-0.2-src.tar.gz to run Unarchiver
> >>>> 3. cd apache-oodt-0.2-src
> >>>> 4. find ./ -type f | grep 644
> >>>>
> >>>> When I use the tar command as you did everything seems to extract
> >>> properly.
> >>>
> >>
> >>
> >>
> >> --
> >> Christopher Warner
> >> http://cwarner.kernelcode.com
> >
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 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/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Adjunct Assistant Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>