Erik Husby wrote:
What I've just ended up doing is writing my own plugin with a goal that builds on Charley's preGoal. Mine looks like this which compensates for the above problem.Charles Daniels wrote:
Unfortunately, that won't work because the genapp plugin specifically uses
${user.home}/.maven/template, not ${maven.home.local}/template. If this
isn't already in JIRA against the genapp plugin, it should be.
I added that issue yesterday.
<goal name="prodinfo:genapp"
description="Generate Production Informatics applications from templates.">
<!-- TODO: Delete/copy only when necessary -->
<ant:delete dir="${maven.local.home}/template/prodinfo"/>
<ant:copy todir="${maven.local.home}/template/prodinfo"
preservelastmodified="true">
<ant:fileset dir="${plugin.resources}"/>
</ant:copy><j:set var="maven.genapp.template.repository" value="${maven.local.home}/template/prodinfo"/>
<genapp:generate />
</goal>
So my developers will do "maven prodinfo:genapp" instead of "maven genapp" to get my specific templates.
--
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard Rm. 2192 320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
