is needed like 'settings.profiles.profile'. Just try it.
Bernd
Søren Krogh Neigaard soeren.krogh.neiga...@systematic.com wrote on
05.02.2010 08:47:04:
[image removed]
RE: Read properties from pom.xml from Java
Søren Krogh Neigaard
to:
Maven Users List
05.02.2010 08:47
soeren.krogh.neiga...@systematic.com
www.systematic.com
-Original Message-
From: Martin Höller [mailto:mar...@xss.co.at]
Sent: 5. februar 2010 09:00
To: Maven Users List
Subject: Re: Read properties from pom.xml from Java
Hi!
Am Freitag, 5. Februar 2010 08:41:02 schrieb Søren Krogh
...@systematic.com
www.systematic.com
-Original Message-
From: bernd.adamow...@external.icw-global.com [mailto:
bernd.adamow...@external.icw-global.com]
Sent: 4. februar 2010 11:59
To: Maven Users List
Subject: Re: Read properties from pom.xml from Java
Sounds like this might help you:
- Create
Am Freitag, 5. Februar 2010 09:50:04 schrieb Søren Krogh Neigaard:
Im getting grey hairs :)
I tried with this in my pom.xml:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.5/version
configuration
systemPropertyVariables
properties from pom.xml from Java
Am Freitag, 5. Februar 2010 09:50:04 schrieb Søren Krogh Neigaard:
Im getting grey hairs :)
I tried with this in my pom.xml:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.5/version
configuration
On 5 February 2010 10:01, Martin Höller mar...@xss.co.at wrote:
Am Freitag, 5. Februar 2010 09:50:04 schrieb Søren Krogh Neigaard:
Im getting grey hairs :)
I tried with this in my pom.xml:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
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
Krogh Neigaard soeren.krogh.neiga...@systematic.com wrote on
04.02.2010 09:59:26:
[image removed]
Read properties from pom.xml from Java
Søren Krogh Neigaard
to:
users
04.02.2010 10:00
Please respond to Maven Users List
Hi
I have been tossed into a maven controlled
Hi!
Am Donnerstag, 4. Februar 2010 09:59:26 schrieb Søren Krogh Neigaard:
The username/password/driver/url for the database is set in the pom.xml
file by maven. How do I read these values from my Java helper class?
Set them in the pom.xml via properties, eg.:
project
properties
://maven-plugins.sourceforge.net/maven-dbunit-plugin/
maven-dbunit-plugin not to forget http://www.dbunit.org/ dbUnit
itself...
Kind regards
Karl Heinz Marbaise
--
View this message in context:
http://old.nabble.com/Read-properties-from-pom.xml-from-Java-tp27449529p27451408.html
Sent from
...@systematic.com
www.systematic.com
-Original Message-
From: bernd.adamow...@external.icw-global.com
[mailto:bernd.adamow...@external.icw-global.com]
Sent: 4. februar 2010 11:59
To: Maven Users List
Subject: Re: Read properties from pom.xml from Java
Sounds like this might help you:
- Create
+4541965252
soeren.krogh.neiga...@systematic.com
www.systematic.com
-Original Message-
From: bernd.adamow...@external.icw-global.com [mailto:
bernd.adamow...@external.icw-global.com]
Sent: 4. februar 2010 11:59
To: Maven Users List
Subject: Re: Read properties from pom.xml from Java
Am Freitag, 5. Februar 2010 07:45:51 schrieb Søren Krogh Neigaard:
Thank you all for your answers
I tried adding the following to my pom.xml
properties
database.driveroracle.jdbc.OracleDriver/database.driver
database.url${database.url}/database.url
...@xss.co.at]
Sent: 5. februar 2010 08:30
To: Maven Users List
Subject: Re: Read properties from pom.xml from Java
Am Freitag, 5. Februar 2010 07:45:51 schrieb Søren Krogh Neigaard:
Thank you all for your answers
I tried adding the following to my pom.xml
properties
-
From: bernd.adamow...@external.icw-global.com [
mailto:bernd.adamow...@external.icw-global.com]
Sent: 4. februar 2010 11:59
To: Maven Users List
Subject: Re: Read properties from pom.xml from Java
Sounds like this might help you:
- Create a Maven plugin which is executed in any phase bevore
Subject: RE: Read properties from pom.xml from Java
Søren Krogh Neigaard soeren.krogh.neiga...@systematic.com wrote on
05.02.2010 07:45:51:
We are already using
the sql-maven-plugin to bootstrap the database, but it only gets run
once before all junit tests are run, and that is not what I
Hi!
Am Freitag, 5. Februar 2010 08:41:02 schrieb Søren Krogh Neigaard:
I have this in my settings.xml
settings
profiles
profile
activation
activeByDefaulttrue/activeByDefault
/activation
properties
17 matches
Mail list logo