maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerome lacoste <jerome.laco...@gmail.com>
Subject Re: Why I hate Maven :-)
Date Wed, 15 Jun 2005 15:15:53 GMT
On 6/15/05, Ryan Sonnek <rsonnek@digitalriver.com> wrote:
> take a look at geronimo for a LARGE project using maven.

I haven't looked at geronimo's code, but sometimes large may not mean
representative.

For example I have a client who has a typical J2EE webapp + some
webstart thick clients.

One of these thick clients has two configurations. It's packaged as
the same jar, but depending on the parameters in the JNLP file, it
will trigger a different internal module.

Following maven's rule of one artifact per project, I've created 3
projects, one for the jar file, one for each of the 2 JNLP.

The JNLP plugin makes us put the properties in the project.properties
which cannot be inherited. So I end up with 2 very similar projects,
with the same dependencies, and almost the same project.properties.
Then I've got to merge these resulting artifacts inside the same
directory for deployment.

In that particular case, I find that maven (or the JNLP plugin) gets
in my way. It was much cleaner with Ant. Sometimes "best practise" and
productivity don't go hand in hand.

Cheers,

Jerome

PS: if someone knows a clean solution to my issue...

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


Mime
View raw message