Hi,
I need to build an artifact containing only resources, no Java source.
These resources are in scr/main/... in a project with "pom" packaging type.
I tried with maven-jar-plugin with no success, the built jar is empty of
the wanted resources :
[INFO] [jar:jar {execution: resources_common}]
[WARNING] JAR will be empty - no content was marked for inclusion!
How can I do this ?
Here is the plugin definition :
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>resources_common</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>resources_common</classifier>
<includes>
<include>**/resources_common</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
--
Julien CARSIQUE, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
[EMAIL PROTECTED] | Tel: +33 1 40 33 79 87 / +33 6 09 06 38 03
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]