Hello maven-user, If you need to reuse goals in different projects you should write plugin. It's not very hard. See http://wiki.codehaus.org/maven/HowToCreateYourFirstPlugIn2 This article provides for you good start point.
Thursday, October 14, 2004, 6:51:31 PM, you wrote: > perhaps I'm wrong but I thing goal overriding is "a bad thing" > Extranet > [EMAIL PROTECTED] - 14/10/2004 17:53 > Veuillez répondre à [EMAIL PROTECTED] > Pour : users > cc : > Objet : Re: maven.xml inheritance > I think so. The inheritence behavior is probably my favorite Maven > feature. If you're really worried about subprojects executing goals of > the parent, why not just override the goal? > Kim > On Oct 14, 2004, at 8:04 AM, Ben Anderson wrote: >> Hi, >> I'm trying to use inheritance with my project. The problem is that I >> only want >> the project.xml to be inherited, but the behaviors in maven.xml are >> also being >> inherited. Is there a way to turn this off? I'm honestly not seeing >> all the >> benefits of using inheritance. Is it all that it's cracked up to be? >> Thanks, >> Ben >> >> --------------------------------------------------------------------- >> 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] > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > --------------------------------------------- > Ce message et toutes les pieces jointes (ci-apres le > "message") sont etablis a l'intention exclusive de ses > destinataires et sont confidentiels. Si vous recevez ce > message par erreur, merci de le detruire et d'en avertir > immediatement l'expediteur. Toute utilisation de ce > message non conforme a sa destination, toute diffusion > ou toute publication, totale ou partielle, est interdite, sauf > autorisation expresse. L'internet ne permettant pas > d'assurer l'integrite de ce message, BNP PARIBAS (et ses > filiales) decline(nt) toute responsabilite au titre de ce > message, dans l'hypothese ou il aurait ete modifie. > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --anatol --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]