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
>

Reply via email to