Hi professor and Jordan, I finally got it after many days of trying!!Thank you!Krittaya
> Date: Fri, 18 Mar 2011 09:04:28 -0700 > Subject: Re: unable to build OODT > From: [email protected] > To: [email protected] > CC: [email protected] > > If you did install maven 2.2.1 in the past, you can do the following command > to use your previous version: > > % cd /usr/share > % sudo rm maven > % sudo ln -s java/maven-2.2.1 maven > > - Jordan > > 2011/3/18 krittaya chunhaviriyakul <[email protected]> > > > > > Hi professor, > > Below is the failure in profile service with maven 3.0. The failure > > detects in profile service, hence the modules that come after profile > > servicewere skipped. > > Regards,Krittaya > > > > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ > > oodt-product ---[INFO] Installing > > /Users/krittayachunhaviriyakul/apache-oodt-0.2-src/product/target/oodt-product-0.2.jar > > to > > /Users/krittayachunhaviriyakul/.m2/repository/org/apache/oodt/oodt-product/0.2/oodt-product-0.2.jar[INFO] > > Installing > > /Users/krittayachunhaviriyakul/apache-oodt-0.2-src/product/pom.xml to > > /Users/krittayachunhaviriyakul/.m2/repository/org/apache/oodt/oodt-product/0.2/oodt-product-0.2.pom[INFO] > > > > [INFO] > > ------------------------------------------------------------------------[INFO] > > Building Profile Service 0.2[INFO] > > ------------------------------------------------------------------------[INFO] > > [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ > > oodt-profile ---[INFO] Using 'UTF-8' encoding to copy filtered > > resources.[INFO] Copying 1 resource[INFO] [INFO] --- > > maven-compiler-plugin:2.3.2:compile (default-co > > mpile) @ oodt-profile ---[INFO] Nothing to compile - all classes are up to > > date[INFO] [INFO] --- maven-resources-plugin:2.4.3:testResources > > (default-testResources) @ oodt-profile ---[INFO] Using 'UTF-8' encoding to > > copy filtered resources.[INFO] Copying 1 resource to > > org/apache/oodt/profile[INFO] Copying 1 resource to > > org/apache/oodt/profile/handlers/lightweight[INFO] [INFO] --- > > maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ oodt-profile > > ---[INFO] Nothing to compile - all classes are up to date[INFO] [INFO] --- > > maven-surefire-plugin:2.7.1:test (default-test) @ oodt-profile ---[INFO] > > Surefire report directory: > > /Users/krittayachunhaviriyakul/apache-oodt-0.2-src/profile/target/surefire-reports > > ------------------------------------------------------- T E S T > > S-------------------------------------------------------Running > > org.apache.oodt.profile.EnumeratedProfileElementTestTests run: 7, Failures: > > 0, Errors: 1, Skipped: 0, Time elapsed: 0.381 sec <<< FAILURE!Running > > org.apache.oodt.profile.handlers.lightweight.LightweightProfileServerTestLightweightProfileServer > > readyTests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 > > secRunning org.apache.oodt.profile.ProfileAttributesTestTests run: 6, > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 secRunning > > org.apache.oodt.profile.ProfileTestTests run: 1, Failures: 0, Errors: 1, > > Skipped: 0, Time elapsed: 0.045 sec <<< FAILURE!Running > > org.apache.oodt.profile.RangedProfileElementTestTests run: 5, Failures: 0, > > Errors: 0, Skipped: 0, Time elapsed: 0.012 secRunning > > org.apache.oodt.profile.ResourceAttributesTestTests run: 5, Failures: 0, > > Errors: 0, Skipped: 0, Time elapsed: 0.006 sec > > Results : > > Tests in error: > > testSpacePreserving(org.apache.oodt.profile.EnumeratedProfileElementTest) > > testQueries(org.apache.oodt.profile.ProfileTest) > > Tests run: 26, Failures: 0, Errors: 2, Skipped: 0 > > [INFO] > > ------------------------------------------------------------------------[INFO] > > Reactor Summary:[INFO] [INFO] OODT Core > > ......................................... SUCCESS [3.588s][INFO] Common > > Utilities .................................. SUCCESS [31.025s][INFO] Process > > Control System Input Data Package ......... SUCCESS [6.584s][INFO] Catalog > > and Archive Service Generic Multi-valued Metadata Container SUCCESS > > [10.562s][INFO] Query Expression .................................. SUCCESS > > [5.878s][INFO] OODT Single Sign On Security Package .............. SUCCESS > > [4.114s][INFO] Catalog and Archive File Management Component ..... SUCCESS > > [2:01.343s][INFO] OODT CAS Virtual Catalog and Integration Service. . > > SUCCESS [20.077s][INFO] Catalog and Archive Resource Management Component . > > SUCCESS [16.227s][INFO] Catalog and Archive Workflow Management Component . > > SUCCESS [23.605s][INFO] Catalog and Archive Crawling Framework ............ > > SUCCESS [16.227s][INFO] CAS Curation Interface > > ............................ SUCCESS [12.929s][INFO] CAS PGE Adaptor > > Framework ......................... SUCCESS [16.887s][INFO] CAS Installer > > Maven Mojo .......................... SUCCESS [5.279s][INFO] CAS > > Push-Pull-Framework ........................... SUCCESS [38.293s][INFO] > > Product Service ................................... SUCCESS [5.793s][INFO] > > Profile Service ................................... FAILURE [1.347s][INFO] > > OODT Web Grid ..................................... SKIPPED[INFO] > > XML-configured, DBMS-based Product and Profile Server SKIPPED[INFO] Apache > > OODT Configurable OPeNDAP Profile Server ... SKIPPED[INFO] CAS File Manager > > Webapp Application ............... SKIPPED[INFO] CAS Product Server > > ................................ SKIPPED[INFO] CAS Workflow Monitor Web > > Application .............. SKIPPED[INFO] Catalog and Archive File Management > > Browser ....... SKIPPED[INFO] Apache OODT > > ....................................... SKIPPED[INFO] > > ---------------------------- > > --------------------------------------------[INFO] BUILD FAILURE[INFO] > > ------------------------------------------------------------------------ > > > > > From: [email protected] > > > To: [email protected] > > > Date: Fri, 18 Mar 2011 07:34:11 -0700 > > > Subject: Re: unable to build OODT > > > > > > Hi Krittaya, > > > > > > What error did you see for the profile service? > > > > > > I'd recommend doing a top level build first off and then using the top > > level build to drive your downstream CDA analysis of the code. > > > > > > HTH, > > > Chris > > > > > > > > > > > > > -- > Jordan Padams > Software Engineer > Jet Propulsion Labs
