Subclassing and calling the other mojo is the only way to alias. I did this on dependency:list (alias to resolve).
I think the non-cameltoe is the more prolific defacto standard -----Original Message----- From: Dan Fabulich [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2008 11:15 AM To: Maven Developers List Subject: Re: Naming Convention for Goals? That's interesting, and makes me want to vote for dashes going forward. (I'll admit that I was thinking of testCompile when I wrote my plugin, to the extent that I was thinking of anything at all.) For the record, the offending camelCase goals are: compiler:testCompile resources:testResources plugin:updateRegistry plugin:addPluginArtifactMetadata Is it possible to create an alias for a goal name (without making a nearly-empty subclass, getting documented twice, etc.)? It'd be cool to make "test-compile" be an alias for "testCompile". -Dan Benjamin Bentmann wrote: > Brett Porter wrote: > >> I would say the first one. The first goal I could think of to have this was >> testCompile, so it probably set the precedent. > > While it might have been the first goal, it's apparently not today's common > case. Browsing through the Apache plugins, I found only > - maven-compiler-plugin > - maven-resources-plugin and > - maven-plugin-plugin > to use camel case for goal names. The majority of existing goals from other > plugins use lower case with hyphens, so this seems like a de-facto standard. > Is it wise to break with that? > > > Benjamin > > --------------------------------------------------------------------- > 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]