Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-04 Thread Barrie Treloar
On Sat, Mar 3, 2012 at 6:28 AM, Markku Saarela wrote: > Our releases do not have any configuration files in artifact's, instead > manifest classpaths has directory name to point directory that has those > files. We use separate build to assembly different configurations into > different environmen

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-04 Thread Ivalo
My day job company is assosiate member of Eclipse so of course Eclipse is tool to use. Markku On 2.3.2012 18:14, Wayne Fay wrote: You don't understand how Eclipse IDE works. Eclipse does not have different classpaths for testing and actual runtime. So Eclipse basic design is faulty. There is b

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-04 Thread Ivalo
My day job company is associate member of Eclipse so of course Eclipse is tool to use. Markku On 2.3.2012 18:14, Wayne Fay wrote: You don't understand how Eclipse IDE works. Eclipse does not have different classpaths for testing and actual runtime. So Eclipse basic design is faulty. There is b

Re: using build profiles for WAR plugin

2012-03-02 Thread Wayne Fay
> One thing that also caught me off guard is it appears that I have to > reference the clienta-war and clientb-war as modules in my main project > pom.  Is that correct? Yes, that is correct. If a project is not a module (directly as children or as grandchildren etc) of the project you are executi

Re: using build profiles for WAR plugin

2012-03-02 Thread Ryan Wexler
On Fri, Mar 2, 2012 at 7:19 AM, Wayne Fay wrote: > > 1)I keep getting this error in reference to the generic-war project: > >'packaging' with value 'war' is invalid. Aggregator projects > > require 'pom' as packaging. > > I tried to changing it to pom but that doesn't seem right. Is an >

Re: using build profiles for WAR plugin

2012-03-02 Thread Sebastian Otaegui
ally how do I accomplish this this in maven without using > profiles? > > -- > View this message in context: > http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528917.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > -

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Markku Saarela
Our releases do not have any configuration files in artifact's, instead manifest classpaths has directory name to point directory that has those files. We use separate build to assembly different configurations into different environments putting configurations in place. I like to use Eclipse

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Ron Wheeler
I am not sure if this directly answers your question but perhaps a bit of background helps. We use Eclipse STS which comes with Maven support built in. We used to waste so much time upgrading Eclipse and getting everyone configured in the same way. Now it is a single download (BIG) to get ever

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Markku Saarela
ry new Maven user has to sort out their own case. Ron -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528994.html Sent from the Maven - Users mailing list archive at Nabble.com. ---

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Wayne Fay
> You don't understand how Eclipse IDE works. Eclipse does not have different > classpaths for testing and actual runtime. So Eclipse basic design is > faulty. There is bug open since 2008 to provide means to tell Eclipse that ... > Of course NetBeans and IntelliJ has correct way to do things but t

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Ron Wheeler
t their own case. Ron -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528994.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsub

Re: using build profiles for WAR plugin

2012-03-02 Thread Wayne Fay
> 1)I keep getting this error in reference to the generic-war project: >        'packaging' with value 'war' is invalid. Aggregator projects > require 'pom' as packaging. > I tried to changing it to pom but that doesn't seem right.  Is an > Aggregator any project with sub modules? Read my post aga

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Markku Saarela
n the Maven site describing the best way to implement the common software development patterns. There are not really a lot of cases to consider but every new Maven user has to sort out their own case. Ron -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-f

Re: using build profiles for WAR plugin

2012-03-02 Thread Mark H. Wood
On Thu, Mar 01, 2012 at 11:16:34AM -0800, offbyone wrote: > Ok, I hear you, profiles are evil. BUT I still don't understand the > alternative so let me give a specific and tangible example and maybe you can > explain a specific alternative. > > I am currently deploying my product in a tomcat/linu

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-02 Thread Ron Wheeler
ent patterns. There are not really a lot of cases to consider but every new Maven user has to sort out their own case. Ron -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528994.html Sent fr

Re: using build profiles for WAR plugin [maven-eclipse-plugin]

2012-03-01 Thread Markku Saarela
e describing the best way to implement the common software development patterns. There are not really a lot of cases to consider but every new Maven user has to sort out their own case. Ron -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
> first. Slow down, do it right, and everything will make more sense to > you. > > Wayne > > PS- Your note to Ron was not private, if that was your intention. > PPS- Nabble is crap. Please just subscribe to the list via email. > > -------------

Re: using build profiles for WAR plugin

2012-03-01 Thread Ron Wheeler
common software development patterns. There are not really a lot of cases to consider but every new Maven user has to sort out their own case. Ron -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528994.html S

Re: using build profiles for WAR plugin

2012-03-01 Thread Wayne Fay
> I have my main project which is a package pom type.  It has dependencies, a > compiler plugin and a war plugin.  Essentially: This is most likely wrong. Your war projects should use package 'war". Here is how I would structure this: top-parent project, packaging pom module lib with its own pom,

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
&node=5529204&i=2> > skype: ronaldmwheeler > phone: 866-970-2435, ext 102 > > > > > ------------- > To unsubscribe, e-mail: [hidden > email]<http://user/SendEmail.jtp?type=node&node=5529204&i=3> > For

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
files which was a one command process, am I missing something? -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5529716.html Sent from the Maven - Users mailing list archive at Nabbl

Re: using build profiles for WAR plugin

2012-03-01 Thread Manfred Moser
On Thu, March 1, 2012 11:19 am, Wayne Fay wrote: >> There are many deployments of my application on different systems and >> each >> one has a different look and feel configuration file.  So, I was >> planning to >> have a different maven profile for each deployment and have the profile >> automat

Re: using build profiles for WAR plugin

2012-03-01 Thread Ron Wheeler
quot;Best Practice" section on the Maven site describing the best way to implement the common software development patterns. There are not really a lot of cases to consider but every new Maven user has to sort out their own case. Ron -- View this message in context: http://maven.40175

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528994.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional

Re: using build profiles for WAR plugin

2012-03-01 Thread Ron Wheeler
e war archive. So specifically how do I accomplish this this in maven without using profiles? -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528917.html Sent from the Maven - Users mailing list archive at Nabbl

Re: using build profiles for WAR plugin

2012-03-01 Thread Wayne Fay
> There are many deployments of my application on different systems and each > one has a different look and feel configuration file.  So, I was planning to > have a different maven profile for each deployment and have the profile > automatically push the correct LookAndFeel.xml into the war archive

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
rrect LookAndFeel.xml into the war archive. So specifically how do I accomplish this this in maven without using profiles? -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528917.html Sent from the Maven - Users mailing list archive at Nabbl

Re: using build profiles for WAR plugin

2012-03-01 Thread Wayne Fay
> I am new to maven, based on the documentation and the specification it seems > like profiles are used to create different versions of a deployment package. > Why would profiles be there if not for that purpose? Opinions have changed on this point through the years. Maven is opinionated software.

Re: using build profiles for WAR plugin

2012-03-01 Thread Ron Wheeler
ontext: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528742.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For addi

Re: using build profiles for WAR plugin

2012-03-01 Thread offbyone
. It seems like you guys are saying only to use the dependency management/repository aspect of it. Would love some clarification. thanks -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5528742.html Sent from the Maven - Users mai

Re: using build profiles for WAR plugin

2012-02-29 Thread Sebastian Otaegui
are not used to differentiate runtime configuration >> changes, then what are? Can you point me to some documentation? >> >> >> >> -- >> View this message in context: http://maven.40175.n5.nabble.** >> co

Re: using build profiles for WAR plugin

2012-02-29 Thread Ron Wheeler
nately all the documentation I have seen point to profiles for this tool. If profiles are not used to differentiate runtime configuration changes, then what are? Can you point me to some documentation? -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-

Re: using build profiles for WAR plugin

2012-02-29 Thread offbyone
.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5526330.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users

Re: using build profiles for WAR plugin

2012-02-29 Thread offbyone
maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5526321.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional comman

Re: using build profiles for WAR plugin

2012-02-29 Thread Ansgar Konermann
home. Don't use them to differentiate between different *runtime* environments of the application you are building. Keep your artifacts independent of application configuration as far as possible. Just my 0.02€ Best Ansgar > > -- > View this message in context: http://maven.40

Re: using build profiles for WAR plugin

2012-02-29 Thread Stephen Connolly
p://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5526140.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.or

Re: using build profiles for WAR plugin

2012-02-29 Thread offbyone
I have no interest in using JNDI. Could someone please address my question regarding profiles? -- View this message in context: http://maven.40175.n5.nabble.com/using-build-profiles-for-WAR-plugin-tp5525954p5526140.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: using build profiles for WAR plugin

2012-02-29 Thread Wayne Fay
> I am trying to create different WAR builds using profiles for my different > production sites.  Each site requires different configuration files.  I > think I am confused on how to use build profiles. Don't do this. Build a WAR file that can be deployed on any server and will run properly with n

using build profiles for WAR plugin

2012-02-29 Thread Ryan Wexler
I am trying to create different WAR builds using profiles for my different production sites. Each site requires different configuration files. I think I am confused on how to use build profiles. My plan was this: 1)Create a base configuration for the war plugin that includes my basic configurati