Add source plugin to core/pom.xml, so that clients know that optiq-core-javadoc.jar is available.
diff --git a/core/pom.xml b/core/pom.xml
index d517fcb..969ff44 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -45,6 +45,26 @@
</execution>
</executions>
</plugin>
+
+ <!-- Parent module has the same plugin and does the work of
+ generating -sources.jar for each project. But without the
+ plugin declared here, IDEs don't know the sources are
+ available. -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.2.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ <goal>test-jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<resources>