Re: Maven POM file question

2013-02-12 Thread Patrick Haggerty
Just wondering if it can be done.  Are locked into using only pom.xml?
Let's say I make a label on my application and I build that application
based on that label.
I still need to modify the POM file to set the version.  I do not want to
change files that have been labeled.  Is my understanding wrong?


On Tue, Feb 12, 2013 at 12:15 PM, Wayne Fay wayne...@gmail.com wrote:

  How can I use a different name like pom.company.xml instead of
 pom.xml?

 For all intents and purposes, you cannot. Why do you want to do this?

 Wayne

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 

Patrick D. Haggerty


Re: Maven POM file question

2013-02-12 Thread Patrick Haggerty
Here are the steps in my proccess:

Edit code,
Local build and test,
Check code in,
Apply Label to all files in my application,
Request Build based on label using Corporate Build system. (It gets code
based on the label and builds it, packages it and deploys it to Nexus then
to the Target App WAS servers.


During this process the pom file gets changed to satisfy the build #.
Now the POM files is different from the one that has been labeled.
Audit does not like the fact that the pom file changes during the build.
Would like to see the build version passed as a parameter so the pom file
does not get changed during the build.

Thanks,

PDH


On Tue, Feb 12, 2013 at 12:36 PM, Wayne Fay wayne...@gmail.com wrote:

  Let's say I make a label on my application and I build that application
  based on that label.

 What does make a label on my application mean? Are you talking about
 tagging a build in source code?

  I still need to modify the POM file to set the version.  I do not want to
  change files that have been labeled.  Is my understanding wrong?

 You need to describe things more completely if you want a better
 answer from this list.

 Wayne

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 

Patrick D. Haggerty