Hello Golgradio
Well I was able to figure it out last night didn't have time to post the
reply. But here is goes. You were right about the db.url , username and
password not getting resolved. The reason was that this part of root POM was
being called multiple times worse yet from different locations. So my guess
was that Maven cannot find the .properties file. So I hardcoded the file
location into POM file. It ran like a charm.
Also I did not need this to be called multiple times. So I moved the code
into the Delivery module of the application. This solved the issue.
Once again thanks for your reply
Venkat
golfradio wrote:
>
> The expression ${db.driver} is getting resolved. But in your actual
> database connection definition you have hard coded the driver class name.
> So the driver cannot be the problem. From the stacktrace it looks like the
> schema name is not getting resolved. It could be because your db.url or
> username or password is not getting resolved or is plain wrong. Make sure
> they are getting resolved and that you can connect to the database using
> those credentials and the url from outside of your build script.
>
>
--
View this message in context:
http://old.nabble.com/Ant-%2C-maven-%2C-antrun-%2C-ddlutils-tp27714325p27714463.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]