Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] AppFuse Modular Application
- [INFO] AppFuse Modular Application - Core
- [INFO] AppFuse Modular Application - Web (Spring MVC)
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building AppFuse Modular Application 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ metadataserver ---
- [INFO]
- [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ metadataserver ---
- [INFO] Installing /Users/pamusriharsha/metadataserver/pom.xml to /Users/pamusriharsha/.m2/repository/org/openmrs/contrib/metadataserver/1.0-SNAPSHOT/metadataserver-1.0-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building AppFuse Modular Application - Core 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ core ---
- [INFO] Deleting /Users/pamusriharsha/metadataserver/core/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ core ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 8 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ core ---
- [INFO] Compiling 32 source files to /Users/pamusriharsha/metadataserver/core/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ core ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 12 resources
- [INFO]
- [INFO] >>> hibernate3-maven-plugin:2.2:hbm2ddl (default) @ core >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ core ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 8 resources
- [INFO]
- [INFO] <<< hibernate3-maven-plugin:2.2:hbm2ddl (default) @ core <<<
- [INFO]
- [INFO] --- hibernate3-maven-plugin:2.2:hbm2ddl (default) @ core ---
- [INFO] Configuration XML file loaded: file:/Users/pamusriharsha/metadataserver/core/src/main/resources/hibernate.cfg.xml
- [INFO] Configuration XML file loaded: file:/Users/pamusriharsha/metadataserver/core/src/main/resources/hibernate.cfg.xml
- [INFO] Configuration Properties file loaded: /Users/pamusriharsha/metadataserver/core/target/test-classes/jdbc.properties
- ERROR - SchemaExport.execute(274) | schema export unsuccessful
- java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:931)
- at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4031)
- at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1296)
- at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
- at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
- at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
- at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
- at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
- at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
- at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
- at java.sql.DriverManager.getConnection(DriverManager.java:582)
- at java.sql.DriverManager.getConnection(DriverManager.java:154)
- at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
- at org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:52)
- at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:252)
- at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:211)
- at org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:112)
- at org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:152)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
- at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
- at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
- at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
- at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
- at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
- [WARNING] 1 errors occurred while performing <hbm2ddl>.
- [ERROR] Error #1: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)
- [INFO]
- [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ core ---
- [INFO] Compiling 17 source files to /Users/pamusriharsha/metadataserver/core/target/test-classes
- [INFO]
- [INFO] --- dbunit-maven-plugin:1.0-beta-3:operation (test-compile) @ core ---
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] AppFuse Modular Application ....................... SUCCESS [0.943s]
- [INFO] AppFuse Modular Application - Core ................ FAILURE [11.952s]
- [INFO] AppFuse Modular Application - Web (Spring MVC) .... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 13.249s
- [INFO] Finished at: Tue May 22 17:37:50 GMT+05:30 2012
- [INFO] Final Memory: 19M/81M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.codehaus.mojo:dbunit-maven-plugin:1.0-beta-3:operation (test-compile) on project core: Error executing database operation: CLEAN_INSERT: Access denied for user 'root'@'localhost' (using password: NO) -> [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 :core
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement