This was discussed before, but the solution did not fit my problem.

The resources are not copied to the target/classes directory.

When I run maven -X java:jar-resources, I notice, that

-----------%<-------------

[DEBUG] Adding reference: maven.jar.resources.set -> patternSet{ includes: [] excludes: [] }

----------->%-------------

there are no includes, but my project.xml has some defined:

-----------%<-------------

    <build>
        <sourceDirectory>src/java</sourceDirectory>
        <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
                <resources>
                        <includes>
                                <include>**/*.properties</include>
                                <include>**/*.xml</include>
                        </includes>
                </resources>
    </build>

----------->%-------------

and the src/java directory contains the files

log4j.properties
application.xml

Can anyone tell me, why this doesn't work and what I have to do to make it work? Thank you,


-Mo.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to