According to last message in google group, I created poms in each artifact and allowed inclusion of non-maven dependencies #66
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In these poms, there are two or three details to notice
1 - There is a dependency to JDK tools in Empire-core due to
EmpireAnnotationProvider. This is mandatory, but unfortunate.
2 - As Empire uses some clarkparsia utilities classes (mainly in
Empire-core, but also in Empire-fourstore) that cannot be found in any
maven repository, I had to use local repository trick to put them in the
lib folder under a meaningful name, so don't be scared if they have
moved. Besides, if one want to change them version, the following
command line has to be used :
mvn install:install-file
-Dfile=lib\clark-parsia\cp-common-fourstore-0.3.1.jar
-DgroupId=com.clarkparsia
-DartifactId=cp-common-fourstore -Dversion=0.3.1 -Dpackaging=jar
-DlocalRepositoryPath=lib
Not really intuitive, but, well, it would be better creating a
github-stored repository (like said here :
http://cemerick.com/2010/08/24/hosting-maven-repos-on-github/)
3 - To maskerade those libs, I use the maven-shade-plugin to change the
official jars to include those dependencies. Besides, I also create a
"onejar" version including all dependencies.
4 - all that is untested (mainly because I didn't wanted to
change the test artifact -which would have better been replaced by test
folder in each artifact).
5 - openrdf dependencies were "optimized" - or stripped down to their
lowest common denominators.