It looks like the Maven eclipse plugin just doesn't handle resource
directories that are outside of the project itself.  It tries to add
them as source folders which Eclipse doesn't support.

So I've gone back to using ant to copy the LICENSE, NOTICE, and
DISCLAIMER files from uimaj-distr/src/main/readme into the individual
projects.  I'm now copying them into the src dir, rather than the
target dir, so that they'll be included in the source jars.  I attempt
to delete the copies after the compilation step, so if the build runs
smoothly you should never notice that the new files have appeared in
your src dir.  However, there's the possibility that if the compile
fails, they won't be deleted.

Also I realized that the change I made to have GPG signing done as
part of the Maven build caused this signing to be attempted whenever
"mvn install" was executed.  That's not good, since non-committers
would need to install GPG in order to even build UIMA.  So I have
changed it so that signing does not occur unless you pass
-DsignArtifacts=true on the command line.  I've changed
extractAndBuild scripts to pass this argument when you run them with
the -deploy option.

-Adam

Reply via email to