Message:
The following issue has been closed.
Resolver: dion gillard
Date: Mon, 4 Aug 2003 12:07 AM
Applied patch
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-347
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-347
Summary: Torque plugin goals can't access JDBC driver
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Time Spent: Unknown
Remaining: 0 minutes
Project: maven
Components:
core
Fix Fors:
1.0-rc1
Versions:
1.0-beta-9
Assignee:
Reporter: Jim Crossley
Created: Mon, 24 Mar 2003 6:08 PM
Updated: Mon, 4 Aug 2003 12:07 AM
Description:
Since torque's behavior is encapsulated in Ant tasks, and Ant requires its libs to be
in the root classloader, it seems the only way to make the driver available is to put
something like this in the plugin's pom:
<dependency>
<id>mysql</id>
<version>2.0.14</version>
<jar>mysql-connector-java-2.0.14-bin.jar</jar>
<url>http://www.mysql.com/</url>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
But it's gross to do that for all the possible jdbc drivers. It's less gross to put
the above in the project's pom, but that doesn't work. :-(
Even less gross might be to reimplement the torque behavior without Ant.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]