production profile and
so on, can I use this to activate profiles in settings.xml, or how do I do this?
Med venlig hilsen / Kind regards
Søren Krogh Neigaard
Systems Engineer
Søren Frichs Vej 39, 8000 Aarhus C
Denmark
Mobile +4541965252
soeren.krogh.neiga...@systematic.com
www.systematic.com
and are therefore
in each developers settings.xml, but when I make a build for a testserver or
other server then I want to overwrite the values defined in settings.xml.
Please help :)
Med venlig hilsen / Kind regards
Søren Krogh Neigaard
Systems Engineer
Søren Frichs Vej 39, 8000 Aarhus C
also tried with this:
properties
db.driveroracle.jdbc.OracleDriver/db.driver
db.url${settings.database.url}/db.url
...
Al of my attempts gives me null :(
Med venlig hilsen / Kind regards
Søren Krogh Neigaard
Systems Engineer
Søren Frichs Vej 39, 8000 Aarhus C
Denmark
Mobile +4541965252
Søren Krogh Neigaard
Systems Engineer
Søren Frichs Vej 39, 8000 Aarhus C
Denmark
Mobile +4541965252
soeren.krogh.neiga...@systematic.com
www.systematic.com
-Original Message-
From: Martin Höller [mailto:mar...@xss.co.at]
Sent: 5. februar 2010 11:01
To: Maven Users List
Subject: Re: Read
Hi
I have been tossed into a maven controlled project. We run our junit tests from
Eclipse and also on our build server. When ever they are run, some maven magic
happens so that username/password/driver/url for the dabase is correctly set
for the user pc or the buildserver. However I need
properties from the correct settings.xml.
Bernd you talked about making a plugin that gets called before every test, how
can I do this?
Med venlig hilsen / Kind regards
Søren Krogh Neigaard
Systems Engineer
Søren Frichs Vej 39, 8000 Aarhus C
Denmark
Mobile +4541965252
soeren.krogh.neiga
I still get null with System.getProperty
Med venlig hilsen / Kind regards
Søren Krogh Neigaard
Systems Engineer
Søren Frichs Vej 39, 8000 Aarhus C
Denmark
Mobile +4541965252
soeren.krogh.neiga...@systematic.com
www.systematic.com
-Original Message-
From: Martin Höller [mailto:mar
But I do use the @Before annotation, and I was planning to call my database
cleanup from here. But my problem is that the database properties are not
accessible to me (I think), and they are managed by maven (are they not?).
Med venlig hilsen / Kind regards
Søren Krogh Neigaard
Systems