http://maven.apache.org/plugins/maven-antrun-plugin/
also take a look at the source in svn, it's has a bunch of IT tests that are very useful to figureout detailed usage. -D On 1/13/06, Karthik V <[EMAIL PROTECTED]> wrote: > > thanks .. i'll try using that ... can u give me a link that explains how > to > use it? > > > On 1/13/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > I use antrunt to remove those classes in the process of migrating > > ant/make builds to maven. > > > > Hopefully, I dont need it any more soon. > > > > -D > > > > > > > > On 1/13/06, John Casey <[EMAIL PROTECTED]> wrote: > > > > > > Well, looking at the jar plugin, it seems that it doesn't allow > > > inclusions/exclusions to be specified. > > > > > > I guess my question is, what are you trying to accomplish? Are these > > > classes unit tests or something? > > > > > > -john > > > > > > Karthik V wrote: > > > > there seems to be one ( > > > > > > http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html) > .. > > > > but isnt it possible to do it after compilation, when the jar > happens? > > > > assuming i need the other classes too for some other purpose (but > dont > > > want > > > > it inside the jar), is there no way of achieving this at all? > > > > > > > > > > > > On 1/12/06, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > > >> Isn't there an exclude sources setting in the compiler? > > > >> > > > >> -----Original Message----- > > > >> From: Karthik V [mailto:[EMAIL PROTECTED] > > > >> Sent: Thursday, January 12, 2006 11:12 AM > > > >> To: Maven Users List > > > >> Subject: Re: Filtering resources > > > >> > > > >> can some one answer this please? > > > >> > > > >> > > > >> On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > >>> ok .. that 2nd question was silly .. i managed it ... pls help me > > wth > > > >>> the 1st one. > > > >>> > > > >>> > > > >>> On 1/11/06, Karthik V < [EMAIL PROTECTED]> wrote: > > > >>>> In m2, how do I prevent some classes from being included to the > > > >>>> final jar file? > > > >>>> > > > >>>> Also, I need to add some files (like the xmls generated by > xdoclet) > > > >>>> to the jar. These files go to the generated-sources directory and > > > >>>> not to the src/main/resources. How do I add these to the final > jar? > > > >>> > > > >>> > > > >> > > > >> > --------------------------------------------------------------------- > > > >> 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] > > > > > > > > > > > >
