If your jar is a modified version of maven-jar-plugin, the simplest way is to use a specific version that only exists locally at your location (or/and deployed in your corp repository). This is the quickest, but maybe dirtiest way to do that.
If you created your own packaging since your build lifecycle isn't standard, a cleaner way would be creating a dedicated <packaging> (as done by the felix plugin, ejb, war, and so on). Cheers. 2010/5/27 Gayan Perera <[email protected]> > HI, > > I have my own jar plugin to package my project. But the problem is i cannot > get the default jar plugin disabled. Is there a way that i could disable > default jar plugin (maven-jar-plugin) and use my plugin instead ? i'm using > maven 2.2.1 > > best regards, > Gayan > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
