geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "n. alex rupp" <>
Subject Re: Maven at wartime
Date Wed, 19 Nov 2003 19:10:39 GMT
I can definitely see your point.  In practice, I usually jar up all the servlet
code and keep it in the /WEB-INF/lib directory and only use the /classes
directory for .properties files. So your solution might be the way to go (but
I'm at least going to try Matt's because I want to see it work)

Thanks for the help, guys ; )
N. Alex Rupp (

----- Original Message ----- 
From: "Sonnek, Ryan" <>
To: <>
Sent: Wednesday, November 19, 2003 1:00 PM
Subject: RE: Maven at wartime

> The should be all you need.
> I'm afraid you'll run into difficulties if you are trying to generate two
> artifacts from the same project (ie: a jar file and a war file).  Maven best
> practices dictate that they should be broken up into one project per
> artifact.  This is the way I go with all of my internal projects and it
> works great.  If you try to "buck the system" and customize it....I usually
> find that it's more troublesome than beneficial.
> Ryan
> -----Original Message-----
> From: n. alex rupp []
> Sent: Wednesday, November 19, 2003 12:51 PM
> To:
> Subject: Maven at wartime
> Hello.  I'm working with maven to try to generate a WAR for the evolving
> geronimo console, and I'm having some difficulty finding my way through the
> config files.  Specifically, I need to depart from the standard war task and
> set
> some properties but I can't for the life of me figure out where those
> settings
> should take place.
> The maven.xml file in the console-web module directory contains the
> following:
> <project default="default"
>     xmlns:j="jelly:core"
>     xmlns:u="jelly:util"
>     xmlns:ant="jelly:ant">
>     <goal name="default">
>         <attainGoal name="war"/>
>     </goal>
> </project>
> I'm curious--where do I set properties like "maven.war.src.excludes"?  Right
> now
> everything in src/java gets compiled into a classes directory, but I need to
> generate a .jar for the tag library specific classes.
> I've been reading the war docs at the maven site and I'm at a complete loss.
> The project directory has a file, but it seems not to
> recognize the property when I place it there...
> I'm sorry if this belongs on the maven users list, but I thought I'd fish
> here
> first because I know you guys ; )  I'm afraid I'm still learning the guts of
> maven.
> --
> N. Alex  Rupp (

View raw message