Clean is a special lifecycle phase. You can't really shorten it, though you can bind it to a lifecycle phase so it is run automatically and you never need to run it on the command line :)
See: Introduction to the build lifecycle in the documentation - Brett On 11/22/05, puschteblume <[EMAIL PROTECTED]> wrote: > Hi Stephen > > Thanks. But this hint gives you access to the plugin directly, without > specifying it in the pom or run it by specifying > groupid:artifact:version .. > > Heiko > > Stephen Cowx wrote: > > > Hi > > > > I saw some notes on how to do this in: > > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html > > > > See the section on "Shortening the Command Line" > > > > I haven't tried it so I don't know if it works but it seems to be what > > you are asking for > > > > Regards > > > > Stephen > > > > > > > > puschteblume wrote: > > > >> I have created a plugin that can be run via buildnumber:create > >> > >> Then I remembered that the clean plugin can be startet, by simply run > >> clean. How I have to declare the plugin that there is a default goal? > >> > >> Heiko > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >> . > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
