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
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
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
> 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
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
>
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.
>
> -
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
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
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.
---
> 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
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
> 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
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
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
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
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-
> 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.
>
> -------------
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
> 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,
&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
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
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
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
://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
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
> 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
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
> 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.
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
. 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
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
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-
.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
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
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
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
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
> 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
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
39 matches
Mail list logo