Non Keel webapps...
Aleksandar Vidakovic <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <1111310194.6610.11.camel@popper> |
Salut all,
there is a (minor) problem with the keel maven plugin if you want to
assemble non keel webapps. Right now the plugin does not "recognize" if
it makes sense to run the keel specific stuff or not.
A first workaround that I found would be something like this for
plugin.jelly:
[code]
<!-- Special processing steps for a Keel webapp -->
<postGoal name="war:webapp">
<j:if test="${context.getVariable('maven.keel.disabled')!'true'}">
...
</j:if>
[/code]
In non keel webapps you can put a "maven.keel.disabled=true" and the
plugin won't run.
I was wondering if there would be a more "automatic" way to recognize if
the keel war stuff should run or not (checking existence of property
files or something like that...).
And: is this check also necessary for "jar:jar" preGoal in the keel
plugin?
Cheers,
Aleks
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com