SchemaSpy uses it's own properties files to set up the JDBC connection, based
on the database type you specify: these properties files contain additional
info about the particularities of each database type that SchemaSpy uses to
generate its reports: hence the need for the <databaseType> parameter.
SchemaSpy uses a template in this properties file to build the JDBC url itself.
I guess it works this way because SchemaSpy is basically a command-line tool.
However, I guess I could add a <jdbcURL> parameter, which would override
SchemaSpy's basic URL-building mechanism, so that you do something like:
<configuration>
<databaseType>mysql</databaseType>
<jdbcURL>jdbc:mysql://localhost:3306/testdb</jdbcURL>
<user>scott</user>
<password>tiger</password>
</configuration>
It would allow a bit more flexibility that way, though it only reduces the
number of configuration parameters slightly.
Thoughts?
John.
----- Original Message ----
From: Jerome Lacoste <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, 17 May, 2007 10:00:40 PM
Subject: Re: [mojo-dev] [jira] Commented: (MOJO-798) A Maven 2 plugin for the
SchemaSpy
On 5/17/07, John Smart <[EMAIL PROTECTED]> wrote:
>
> Yes, it's integrated as a report. A typical usage is shown here:
> ...
> <reporting>
> <plugins>
> <plugin>
>
> <groupId>com.wakaleo.maven.plugin.schemaspy</groupId>
>
> <artifactId>maven-schemaspy-plugin</artifactId>
> <version>1.0</version>
> <configuration>
> <databaseType>mysql</databaseType>
> <database>testdb</database>
> <host>localhost</host>
> <user>scott</user>
> <password>tiger</password>
> </configuration>
> </plugin>
> </plugins>
> </reporting>
what about using a JDBC url instead of breakind down the configuration ?
Jerome
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
___________________________________________________________________________________
How would you spend $50,000 to create a more sustainable environment in
Australia? Go to Yahoo!7 Answers and share your idea.
http://advision.webevents.yahoo.com/aunz/lifestyle/answers/y7ans-babp_reg.html