maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Nicoll <stephane.nic...@gmail.com>
Subject Re: Maven-war-plugin not installing war. Installs ".jar" and renames it to ".war"
Date Wed, 03 Feb 2010 07:46:48 GMT
On Wed, Feb 3, 2010 at 5:24 AM, Brian Fox <brianf@infinity.nu> wrote:

> Shoving java code into a war project is an antipattern in Maven. Make
> a module for the jar and depend upon that with a war and your life
> will be better. Shoving it into the incorrect format is guaranteed to
> cause you problems with tools that integrate with maven like ides.
>

Since I wa

>
> On Tue, Feb 2, 2010 at 4:35 PM, Wayne Fay <waynefay@gmail.com> wrote:
> >> It would be great if this would be fixed. It seems the
> maven-source-plugin
> >> works properly, but the maven-war-plugin does not. I would like to
> generate
> >> primary and secondary artifacts using a single pom file. It seems overly
> >> complex to have to make modules out of everything.
> >
> > Unless you fix it yourself, I don't see this situation changing. Make
> > a module with the jar contents as Eric said in the Jira. Get used to
> > making lots of modules for your code with Maven.
> >
> > Wayne
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
Large Systems Suck: This rule is 100% transitive. If you build one, you
suck" -- S.Yegge

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message