Just had a thought, would be nice if the pom exposed someway to define aliases for a set of goals/phases.

This would allow project specific names to be used to invoke a set of standard maven phases or a set of plugins.

Like I might want o have a "release" alias, which actually invokes:

    mvn clean release:prepare release:preform

Or a "rebuild" alias which actually invokes:

    mvn clean install

With pom configuration something like:

----8<----
<project>
    <build>
        <goalAliases>
            <goalAlias>
                <name>rebuild</name>
                <goals>
                    <goal>clean</goal>
                    <goal>install</goal>
                </goals>
            </goalAlias>
        </goalAliases>
    </build>
</project>
---->8----

Just a thought...

--jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to