lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <>
Subject [jira] Commented: (LUCENE-2657) Auto-generate POM templates from Ant builds
Date Wed, 22 Sep 2010 02:09:32 GMT


Chris Male commented on LUCENE-2657:

I'm wondering whether generating poms is just going to make them more mysterious.  While they
are templates I can at least see them and they can be validated by XML validators (including
IDEs).  Suddenly they are created through a more complex process which we also have to maintain.

Assuming we have well-structured poms in the first place (huge assumption, different issue),
are developers unprepared to add the appropriate dependency to the necessary pom? It doesn't
seem like it'll happen very often, most of our artifacts have very few dependencies and we
resist increasing them.  We can document the process, make it very clear exactly what needs
to be added and where.

Also, I'm not sure all jars are going to have the appropriate manifest.  If the pom is generated
(like Artifactory can do btw), I'm not sure it is packaged in the jar?

I think Robert was onto the right idea with this original proposal: If we consider our modules
section and if we add a pom at the modules level and then one for each module, running a build
from the modules level will recursively build each module.  If there is something wrong with
the poms themselves, maven will fail.  If a dependency is omitted meaning the code cannot
be built, maven will fail.  If any of these 2 issues occur, then the build would fail and
an issue can be created for those more comfortable with maven to fix.

> Auto-generate POM templates from Ant builds
> -------------------------------------------
>                 Key: LUCENE-2657
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Steven Rowe
>            Priority: Minor
>             Fix For: 3.1, 4.0
> Lucene and Solr modules' POM templates are manually maintained, and so are not always
in sync with the dependencies used by the Ant build. 
> It should be possible to auto-generate POM templates using build tools extending Ant's
[BuildListener|] interface,
similarly to how the [ant2ide|] project generates eclipse
project files.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message