Skip to content

Specify the username and password doesn't work #2

Description

@beihaifeiwu

I config the plugin like this:

          <plugin>
            <!-- current version -->
            <groupId>fr.avianey.mojo</groupId>
            <artifactId>hsqldb-maven-plugin</artifactId>
            <version>1.0.0</version>
            <!--
                default value for in memory jdbc:hsqldb:hsql://localhost/xdb
                override only values you want to change
            -->
            <configuration>
              <driver>org.hsqldb.jdbcDriver</driver>
              <path>mem:test</path>
              <address>localhost</address>
              <name>xmbg_test</name>
              <username>root</username>
              <password>liupin</password>
              <validationQuery>SELECT 1 FROM INFORMATION_SCHEMA.SYSTEM_USERS</validationQuery>
            </configuration>
            <!-- call start and stop -->
            <executions>
              <execution>
                <id>start-hsqldb</id>
                <phase>process-resources</phase>
                <goals>
                  <goal>start</goal>
                </goals>
              </execution>
              <execution>
                <id>stop-hsqldb</id>
                <phase>post-integration-test</phase>
                <goals>
                  <goal>stop</goal>
                </goals>
              </execution>
            </executions>
          </plugin>

when I connect to it use the username and password specified, I got the exception

SqlException: invalid authorization specification - not found: root

Is it a bug or something ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions