Commit df936735 authored by Curtis Rueden's avatar Curtis Rueden

Use properties for source inclusion

This allows people to override the build configuration to use a
different source directory, and the sources will still be included in
the JAR by default.

And while at it, let's include the test sources in the test JAR, too!
parent bd1f6f45
...@@ -29,9 +29,14 @@ ...@@ -29,9 +29,14 @@
<build> <build>
<resources> <resources>
<resource> <resource>
<directory>src/main/java</directory> <directory>${project.build.sourceDirectory}</directory>
</resource> </resource>
</resources> </resources>
<testResources>
<testResource>
<directory>${project.build.testSourceDirectory}</directory>
</testResource>
</testResources>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment