You probably have to set maven.dist.src.archive.dir (in project.properties or at the commandline).
Hi,
Please reply directly as I am not subscribed to this list.
I have a non-standard project (the sources are in the test/java directory). I have some other resources in the test directory (test/conf/*, test/jdo/*, test/orm/*, etc).
I'm having trouble using the dist goal in maven 1.0.1. The src zip distribution doesn't include the sources for the project.
I also want to include additional resources in the source distribution, and can't figure out how to get them into the src build. Is there additional information in the POM that I can include to tell dist to package them into the source distribution?
Thanks,
Craig
My pom looks like:
...
<!-- =================== -->
<!-- Build Specification -->
<!-- =================== -->
<build>
<sourceDirectory>test/java</sourceDirectory>
<resources>
<resource>
<directory>${basedir}/test/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
<resources>
<resource>
<directory>${basedir}/test/conf</directory>
<includes>
<include>enhancement-test.properties</include>
<include>commons-logging.properties</include>
<include>simplelog.properties</include>
<include>logging.properties</include>
</includes>
</resource>
</resources>
</build>
...
Craig Russell
P.S. A good JDO? O, Gasp!