Hi Chris,

To iterate on what Dr. Mattmann mentioned, if you have the incorrect
version of Maven installed you can easily install the correct version via
"homebrew" with the instructions provided here (
http://stackoverflow.com/questions/3987683/homebrew-install-specific-version-of-formula).
Find the post by "Cameron Goodale" for specifics there.

I'm currently able to build fine on mountain lion with maven 2.2.1
installed and java 1.6.0_33, which I think (correct me if I'm wrong) is the
latest update for OS X. I didn't have to do anything fancy to get things
working, so let us know what versions you're using if you still run into
trouble.

----------------
Mike



On Tue, Aug 7, 2012 at 8:01 AM, Mattmann, Chris A (388J) <
[email protected]> wrote:

> Hi Chris,
>
> What version of Maven and Java are you using?
>
> It looks like you have some class on your classpath that is overriding the
> XML parser (and its methods) that that particular test is expecting. Let
> me know
> the Maven/Java version and we can go from there.
>
> You can also get past this if you are in a hurry bout running mvn
> -Dmaven.test.skip=true
> to skip the tests. Also, one thing is that OODT requires Maven 2.2.1, so
> if you are running
> Maven3 (the default version on the newer versions of Mac) then you will
> need to install
> a parallel Maven2 install to build it.
>
> Cheers,
> Chris
>
> On Aug 6, 2012, at 2:28 PM, Lynnes, Christopher S. (GSFC-6102) wrote:
>
> > I wanted to take OODT out for a test drive on my Mac, running Lion, but
> the mvn install produces a failure:
> >
> >>
> -------------------------------------------------------------------------------
> >> Test set: org.apache.oodt.profile.EnumeratedProfileElementTest
> >>
> -------------------------------------------------------------------------------
> >> Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.801
> sec <<< FAILURE!
> >>
> testSpacePreserving(org.apache.oodt.profile.EnumeratedProfileElementTest)
>  Time elapsed: 0.646 sec  <<< ERROR!
> >> java.lang.AbstractMethodError:
> org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
> >>        at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
> >>        at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
> >>        at
> com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
> >>        at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:679)
> >>        at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:723)
> >>        at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:336)
> >>        at org.apache.oodt.commons.util.XML.serialize(XML.java:242)
> >>        at org.apache.oodt.commons.util.XML.serialize(XML.java:191)
> >>        at org.apache.oodt.commons.util.XML.serialize(XML.java:205)
> >>        at org.apache.oodt.profile.Profile.toString(Profile.java:199)
> >>        at
> org.apache.oodt.profile.EnumeratedProfileElementTest.testSpacePreserving(EnumeratedProfileElementTest.java:110)
> >
> > Any ideas?
> > --
> > Dr. Christopher Lynnes     NASA/GSFC, Code 610.2    phone: 301-614-5185
> >
> >
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 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
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>

Reply via email to