I follwed the process which are avilable in your documention under Developers
Developing The Platform - Environment SetupUpto Step 6's (b) there is no issue.
As directed on the (c)i.e
Right-click the "BroadleafCommerce" project and select "run as --> Maven install" to execute the maven build. Wait for the maven build to finish compiling and packaging all the projects. Maven should report the build as successful.
But I am getting build as unsuccessful .
The Error Message which I am getting
Code: Select all
[testng] ===============================================
[testng] commerce-integrationtest
[testng] Tests run: 184, Failures: 0, Skips: 0
[testng] ===============================================
[testng]
[testng]
[testng] ===============================================
[testng] BroadleafCommerce Test Suite
[testng] Total tests run: 184, Failures: 0, Skips: 0
[testng] ===============================================
[testng]
[testng] Exception in thread "Thread-1" java.lang.ExceptionInInitializerError
[testng] at java.io.File.deleteOnExit(File.java:939)
[testng] at net.sourceforge.cobertura.util.FileLocker.<init>(FileLocker.java:80)
[testng] at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:229)
[testng] at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
[testng] at java.lang.Thread.run(Thread.java:662)
[testng] Caused by: java.lang.IllegalStateException: Shutdown in progress
[testng] at java.lang.Shutdown.add(Shutdown.java:62)
[testng] at java.lang.System$2.registerShutdownHook(System.java:1146)
[testng] at java.io.DeleteOnExitHook.<clinit>(DeleteOnExitHook.java:20)
[testng] ... 5 more
[junitreport] the file C:\Biswo\Programmes\Eclipse-Helio-Workspace\BroadleafCommerce\integration\target\test-reports\testng-results.xml is not a valid testsuite XML document
[junitreport] Transform time: 569ms
[cobertura-report] Cobertura 1.8 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura-report] Cobertura: Loaded information on 683 classes.
[cobertura-report] Report time: 19135ms
[cobertura-report] Cobertura 1.8 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura-report] Cobertura: Loaded information on 683 classes.
[cobertura-report] Report time: 2457ms
[INFO] Executed tasks
[INFO]
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ integration ---
[INFO]
[INFO] --- maven-jar-plugin:2.2:test-jar (default) @ integration ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ integration ---
[INFO] Installing C:\Biswo\Programmes\Eclipse-Helio-Workspace\BroadleafCommerce\integration\target\integration-1.5.0-SNAPSHOT.jar to C:\Users\Dhakhinakali\.m2\repository\org\broadleafcommerce\integration\1.5.0-SNAPSHOT\integration-1.5.0-SNAPSHOT.jar
[INFO] Installing C:\Biswo\Programmes\Eclipse-Helio-Workspace\BroadleafCommerce\integration\pom.xml to C:\Users\Dhakhinakali\.m2\repository\org\broadleafcommerce\integration\1.5.0-SNAPSHOT\integration-1.5.0-SNAPSHOT.pom
[INFO] Installing C:\Biswo\Programmes\Eclipse-Helio-Workspace\BroadleafCommerce\integration\target\integration-1.5.0-SNAPSHOT-tests.jar to C:\Users\Dhakhinakali\.m2\repository\org\broadleafcommerce\integration\1.5.0-SNAPSHOT\integration-1.5.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building site 1.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ site ---
[INFO] Installing C:\Biswo\Programmes\Eclipse-Helio-Workspace\BroadleafCommerce\site\pom.xml to C:\Users\Dhakhinakali\.m2\repository\org\broadleafcommerce\site\1.5.0-SNAPSHOT\site-1.5.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building BroadleafCommerceAdmin 1.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: file://C:\Biswo\Programmes\Eclipse-Helio-Workspace\BroadleafCommerce\site\BroadleafCommerceAdmin/lib/xml-dir-listing/xml-dir-listing/0.2/xml-dir-listing-0.2.pom
Downloading: http://repo1.maven.org/maven2/xml-dir-listing/xml-dir-listing/0.2/xml-dir-listing-0.2.pom
[WARNING] The POM for xml-dir-listing:xml-dir-listing:jar:0.2 is missing, no dependency information available
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ broadleaf-admin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- javarebel-maven-plugin:1.0.5:generate (generate-rebel-xml) @ broadleaf-admin ---
[INFO] Processing org.broadleafcommerce:broadleaf-admin with packaging war
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ broadleaf-admin ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-antrun-plugin:1.3:run (flex) @ broadleaf-admin ---
[INFO] Executing tasks
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] BroadleafCommerce ................................. SUCCESS [0.477s]
[INFO] core .............................................. SUCCESS [0.011s]
[INFO] BroadleafCommerceProfile .......................... SUCCESS [9.304s]
[INFO] BroadleafCommerceProfileWeb ....................... SUCCESS [3.693s]
[INFO] BroadleafCommerceFramework ........................ SUCCESS [11.066s]
[INFO] BroadleafCommerceFrameworkWeb ..................... SUCCESS [4.671s]
[INFO] module ............................................ SUCCESS [0.010s]
[INFO] BroadleafCommerceUSPSSchemas ...................... SUCCESS [11.047s]
[INFO] BroadleafCommerceUSPS ............................. SUCCESS [4.198s]
[INFO] BroadleafCommerceCyberSourceAPI ................... SUCCESS [34.881s]
[INFO] BroadleafCommerceCyberSource ...................... SUCCESS [3.781s]
[INFO] integration ....................................... SUCCESS [1:41.345s]
[INFO] site .............................................. SUCCESS [0.255s]
[INFO] BroadleafCommerceAdmin ............................ FAILURE [4.185s]
[INFO] BroadleafCommerceDemo ............................. SKIPPED
[INFO] BroadleafCommerceDemoLauncher ..................... SKIPPED
[INFO] distribute ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:09.499s
[INFO] Finished at: Tue May 10 00:33:44 IST 2011
[INFO] Final Memory: 37M/119M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (flex) on project broadleaf-admin: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] C:\Biswo\Programmes\Eclipse-Helio-Workspace\BroadleafCommerce\site\BroadleafCommerceAdmin\build.xml:13: java.lang.NoSuchMethodError: org.apache.maven.settings.RuntimeInfo.<init>(Lorg/apache/maven/settings/Settings;)V
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :broadleaf-admin
I want to use Oracle database instead of HSQL.
Is there any configuration required is build.xml for HSQL(Rear Path Of HSQL directory)