RE: Read properties from pom.xml from Java

2010-02-05 Thread bernd . adamowicz
According to Maven's documentation here http://maven.apache.org/pom.html#Properties, this should work (I didn't try it): settings.xml: settings profiles profile activation activeByDefaulttrue/activeByDefault /activation properties

Re: maven release plugin and subversion externals

2010-02-05 Thread @work
Karl Heinz Marbaise wrote: ... first: Have you defined scm section in your root pom ? Yes, each module and the parent has its own scm section. If we remove the modules section from the parent we can release the modules and the parent in single steps. Karl Heinz Marbaise wrote: we

Maven translation (i18n) plugin

2010-02-05 Thread Henri Gomez
Hi to all, I'm looking for a maven translator (i18n) plugin which could be able to create localized properties files from a master properties file and a SQL backend containing the translation. These files are for RCP applications but it should be able to works with any properties files under

RE: Read properties from pom.xml from Java

2010-02-05 Thread 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 db.driveroracle.jdbc.OracleDriver/db.driver

Re: Read properties from pom.xml from Java

2010-02-05 Thread Stephen Connolly
On 5 February 2010 06:45, Søren Krogh Neigaard soeren.krogh.neiga...@systematic.com wrote: 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

Re: Maven translation (i18n) plugin

2010-02-05 Thread mkleint
there is http://mojo.codehaus.org/l10n-maven-plugin/ but it doesn't exactly do what you describe Milos Henri Gomez wrote: Hi to all, I'm looking for a maven translator (i18n) plugin which could be able to create localized properties files from a master properties file and a SQL backend

Re: Read properties from pom.xml from Java

2010-02-05 Thread Martin Höller
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

Re: Maven translation (i18n) plugin

2010-02-05 Thread Henri Gomez
Thanks Milos. It's a good starting point 2010/2/5 mkleint milos.kle...@sun.com: there is http://mojo.codehaus.org/l10n-maven-plugin/ but it doesn't exactly do what you describe Milos Henri Gomez wrote: Hi to all, I'm looking for a maven translator (i18n) plugin which could be able to

Re: Maven translation (i18n) plugin

2010-02-05 Thread Henri Gomez
This one seems interesting : http://lutinutil.labs.libre-entreprise.org/maven-i18n-plugin/index.html Someone use it allready ? 2010/2/5 Henri Gomez henri.go...@gmail.com: Thanks Milos. It's a good starting point 2010/2/5 mkleint milos.kle...@sun.com: there is

Re: maven release plugin and subversion externals

2010-02-05 Thread Karl Heinz Marbaise
Hi, We are calling: mvn release.clean release:prepare release:perform and there are no error messages. If you do an mvn release:perform ...aren't you asked for the release version etc. during the process ? Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.:

RE: Read properties from pom.xml from Java

2010-02-05 Thread Søren Krogh Neigaard
Well it seems that I use 2.4.3, so I have changed it to the now deprecated way also. It still gives me null values... :( I think my problem is elsewhere now, I do not think maven gets activated when I run my junit tests. I will look into this issue now. Med venlig hilsen / Kind regards

Re: Read properties from pom.xml from Java

2010-02-05 Thread Stephen Connolly
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

Re: SUN Maven(2) repo changes? JMX, JMS, Mail, JMXTOOLS

2010-02-05 Thread Ognjen Blagojevic
It is already in JIRA [1], but the bug is still unresolved. Apparently, Maven 2.2.0 handles HTTP 301 alright, but I didn't try it. Other versions, including 2.2.1, don't handle that well. The bug priority is minor. Maybe it should be higher since it breaks recently created local

Re: maven release plugin and subversion externals

2010-02-05 Thread Karl Heinz Marbaise
Hi, we are referencing the trunk of the modules without a revision http://svn/repo/module1/trunk module1 http://svn/repo/module2/trunk module2 This brings me to the question: Why not putting all modules in the folder structure Root +--- module1 +--- module2 without using

question about profile inheritance

2010-02-05 Thread Thomas Markus
hi, i try to define profiles in a parent pom and activate these profiles in a child pom. its a little bit confusion. in child project part1 mvn help:active-profiles shows - test1 (source: pom) - base (source: settings.xml) but a mvn doesn't runs my plugin (no inheritance) but a mvn -P

Re: question about profile inheritance

2010-02-05 Thread Jörg Schaible
Thomas Markus wrote at Freitag, 5. Februar 2010 12:39: hi, i try to define profiles in a parent pom and activate these profiles in a child pom. its a little bit confusion. in child project part1 mvn help:active-profiles shows - test1 (source: pom) - base (source: settings.xml)

Re: maven release plugin and subversion externals

2010-02-05 Thread @work
Karl Heinz Marbaise wrote: ... If you do an mvn release:perform ...aren't you asked for the release version etc. during the process ? ... I'm asked for the release version for all modules but only asked for the new SNAPSHOT version for the parent module. Karl Heinz Marbaise wrote:

Re: question about profile inheritance

2010-02-05 Thread Thomas Markus
i read this, but the behaviour is not constistent. and how to define reusable profiles for multiple projects? thanks Thomas Am 05.02.2010 13:14, schrieb Jörg Schaible: [snip] Activation of a profile is either global if set by command line or activated in the settings.xml, otherwise the

RE: help needed with maven antrun plugin

2010-02-05 Thread Haroon Rafique
On Yesterday at 1:26pm, PA=Pankaj Agarwal pankaj_agar...@trimble.com wrote: PA Here's the exact error. PA PA [INFO] PA PA [ERROR] BUILD ERROR [INFO] PA

2.0-beta-10 of release plugin

2010-02-05 Thread Todd Thiessen
It doesn't look like this version of the release plugin has been released yet. It has the useRemoteTagging fix or the branch goal in it which I am interested in. Could this plugin be released? --- Todd Thiessen - To unsubscribe,

release:branch keeps SCM section pointing to branch

2010-02-05 Thread Todd Thiessen
I found it a little odd that the branch goal of the release plugin does not change the SCM section back to trunk after it has created the branch. Isn't this wrong or am I not fully understanding the work flow? --- Todd Thiessen

Re: 2.0-beta-10 of release plugin

2010-02-05 Thread Stephen Connolly
it's being skipped and 2.0 is in the process of being released but there are some issues which Benjamin may or may not have vetoed the release on... as soon as Benjamin clarifies whether he was vetoing the release or not, the release manager will be able to continue or re-roll the release of

Re: Nexus and http://repository.codehaus.org KO

2010-02-05 Thread Brian Fox
It's currently proxying all the artifacts in the old one, so if you use it, it will work. Yes, the plan is to migrate all the codehaus projects to the new system. On Wed, Feb 3, 2010 at 5:36 PM, Dan Tran dant...@gmail.com wrote: Hi Brian, 1. this one is not up to date, i dont see my

RE: help needed with maven antrun plugin

2010-02-05 Thread Pankaj Agarwal
I have tried it as below but the error is same. mvn -Djdk.home=/usr/jdk1.6.0_05 clean compile Thanks, Pankaj -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Thursday, February 04, 2010 2:49 PM To: Maven Users List Subject: Re: help needed

RE: help needed with maven antrun plugin

2010-02-05 Thread Pankaj Agarwal
I tried it but the error is same. Thanks, Pankaj -Original Message- From: Haroon Rafique [mailto:haroon.rafi...@utoronto.ca] Sent: Friday, February 05, 2010 5:27 AM To: Maven Users List Subject: RE: help needed with maven antrun plugin On Yesterday at 1:26pm, PA=Pankaj Agarwal

Maven Archetype 1.0 to 2.0 variations question on CLI interactive prompt

2010-02-05 Thread Matthew McCullough
I spoke with Wendy on IRC today about fixing some archetypes, but there were some more questions lingering. I'm aiming to fix a few things in the core apache archetypes... I want to try to weave a freshened maven-archetype-j2ee-simple into the new 'sample' directory of trunk's archetype plugin,

Re: Problem with artifacts generated by custom plugins

2010-02-05 Thread kristian
I think you made the same mistake as I did (until last night): includesDependenciestrue/includesDependencies says that the artifact already includes all its dependencies and the dependency resolution stops here (unless it is the root project). so just put

[shade plugin] included 'provided' dependencies

2010-02-05 Thread Simone Tripodi
Hi all guys, I've been developing a multi-module project where one module is the 'commons' stuff and the other modules are dependent from the first one; when producing artifacts, I want to include the 'commons' dependency in the final jar, so I started using the shade plugin, and declared the