Our Maven setup is not finished. Test DB profiles are among the
missing things. Should be fairly trivial to add though. I may do it
as a part of CAY-719 work, unless somebody implements it quicker. BTW
one example of Maven profiles targeting different databases exists in
the regression profiler code:
http://svn.apache.org/repos/asf/incubator/cayenne/main/trunk/other/
cayenne-regression-profiler/pom.xml
Andrus
On Dec 13, 2006, at 11:21 PM, Tore Halset wrote:
Hello.
I am strugeling with maven.
cd core/cayenne-jdk1.4
mvn -Dcayenne.test.connection=mysetup
....
Dec 13, 2006 9:20:34 PM org.apache.cayenne.unit.CayenneResources
setupTestDir
INFO: No property 'cayenne.test.dir' set. Using default directory:
'target/testr
un'
Dec 13, 2006 9:20:34 PM org.apache.cayenne.unit.CayenneResources
loadResources
INFO: No connection key property set 'cayenne.test.connection',
using default: i
nternal_embedded_datasource
....
So how should I specify my own connection properties?
- Tore.