I am running the parent pom to call two separate modules that both use the sql-
maven-plugin.
They use two different configurations...one uses the Sybase driver in jconn2
In module1
<configuration>
<username>${user}</username>
<password>${pswd}</password>
<url>${dburl}</url>
<driver>com.sybase.jdbc2.jdbc.SybDriver</driver>
</configuration>
and the other connects to a UDB db using
In module2
<configuration>
<username>${user}</username>
<password>${pswd}</password>
<url>${dburl}</url>
<driver>com.ibm.db2.jcc.DB2Driver</driver>
</configuration>
The two are being called from different modules as such in the parent pom:
<modules>
<module>module1</module>
<module>module2</module>
</modules>
Depending on which module is first in the parent pom, the other is unable to
find the Driver class and shows one of the following errors:
If module1 is first in parent pom
Driver class not found: com.ibm.db2.jcc.DB2Driver
If module2 is first in parent pom
Driver class not found: com.sybase.jdbc2.jdbc.SybDriver
Is there any way to correct this?
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email