[
http://jira.codehaus.org/browse/MOJO-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157838#action_157838
]
David Vicente commented on MOJO-1192:
-------------------------------------
but after creating the user in SQL and grant role to it, you must configure the
dashboard plugin in your project's pom.xml like this :
{code:xml}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dashboard-maven-plugin</artifactId>
<configuration>
<dialect>org.hibernate.dialect.HSQLDialect</dialect>
<driverClass>org.hsqldb.jdbcDriver</driverClass>
<connectionUrl>jdbc:hsqldb:hsql://localhost/xdb;create=true</connectionUrl>
<username>dashboard</username>
<password>dashboard</password>
<keepVersionAsDiscriminantCriteria>false</keepVersionAsDiscriminantCriteria>
</configuration>
<dependencies>
<dependency>
<!-- HSQLDB Jdbc Driver -->
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>1.8.0.9</version>
</dependency>
</dependencies>
</plugin>
{code}
the create=true in connection url is a HSQLDB feature to create the database
named "xdb" if doesn't exist
All tables will be created by Hibernate and that's all
> the password of jdbc in the configuration should allow blank.
> -------------------------------------------------------------
>
> Key: MOJO-1192
> URL: http://jira.codehaus.org/browse/MOJO-1192
> Project: Mojo
> Issue Type: Bug
> Components: dashboard
> Environment: hsqldb-1.8.0.7
> Reporter: Xuhuisheng
> Assignee: David Vicente
> Attachments: test.zip
>
>
> I want to use the hsqldb to store the information of the dashboard.
> But when I use the default user "sa" and password "", some error occured.
> [INFO] One or more required plugin parameters are invalid/missing for
> 'dashboard:persist'
> [0] Inside the definition for plugin 'dashboard-maven-plugin' specify the
> following:
> <configuration>
> ...
> <password>VALUE</password>
> </configuration>
> -OR-
> on the command line, specify: '-Dpassword=VALUE'
> I think we should allow to use blank password.
> Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email