On Fri, 15 Aug 2008 11:02:41 Kalle Korhonen wrote: > Haven't tried but if you just claim the java dir as a custom resource > directory as well, what happens? I.e.: > <resources> > <resource> > <directory>src/main/java</directory> > </resource> > </resources> > > Kalle > > On Thu, Aug 14, 2008 at 3:38 PM, Mads Pultz <[EMAIL PROTECTED]> wrote: > > I would like to attach .java files to the jar file produced by the jar > > plugin. Is this possible and if so how? > > > > I know that I can produce a separate source jar file, but I would like to > > produce one single jar file consisting of both .class files and .java > > files. > > > > /Mads watch out for a feature/bug that means the source in that jar will be compiled when ever its included in a compile scope... i never figured out whether it was javac or the compiler plugin...
-- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
