You have to build the dependencies manually or skip the test a mvn
-DskipTests=true install -rf :oodt-profile should work. I should note that
for those of us attempting this on Mac OS X Apple has their own specific
build for Java. I have tried this install on a Linux machine with little to
no issues using jdk1.6.0_24 vanilla from Sun.


2011/3/17 krittaya chunhaviriyakul <[email protected]>

>
> 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 correct
>  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
>
>



-- 
Christopher Warner
http://cwarner.kernelcode.com

Reply via email to