Hi,

I am now migrating an ant project to Maven.

Since the resources are under the src directory (mixed with the code)  I did
the following:

Defined the resource directory to be:

<resource>
        <directory>src</directory>              
                <excludes>
          <exclude> **/*.java </exclude>
                  </excludes>
                </resource>
     </resources> 

And in the plug in definitions I gave the src/main/resources location:

<configuration>
        <outputDirectory>src/main/resources</outputDirectory>
</configuration>

The result is that the resources are being copied to src/main/resources, but
the jar does not take them as it should.

Any ideas?


-- 
View this message in context: 
http://www.nabble.com/Problem-with-resources-not-being-packed-by-the-package-process-tp22601444p22601444.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to