JervenBolleman/sesame-loader — pull request #4 by ansell (2012-02-15 02:56:03+00:00)
Title: Alternative method of generating the load scripts using appassembler-maven-plugin

I added a plugin to the pom.xml that generates scripts with their classpath, based on the maven runtime classpath. This eliminates the owlim-shim.jar from the runtime classpath. owlim.jar can be added by manually putting it into the dist/conf/ directory, which is included in the classpath for the scripts.

In addition to the unix shell scripts that were there previously, this plugin generates windows .bat files if that is useful to anyone.

I haven't removed the old scripts, but they can be removed if this pull request contains the same functionality.

I moved the files from src/main/ into src/main/java to match the maven convention, and to allow for the log4j.xml file to be located in src/main/config, where appassembler expects it to be.

One compromise right now is that the dist directory is never overwritten, although files inside will be changed each time through mvn package. This is to allow a user to copy the owlim.jar file into dist/conf/ once, and not have to do it after that.