[ https://issues.apache.org/jira/browse/UIMA-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tommaso Teofili updated UIMA-1462: ---------------------------------- Attachment: simpleUimaAsServicePatch.txt simpleServerDistributionPatch.txt Point 1: The Maven Assembly plugin can help us make the distribution. I've attached a patch for SimpleServer to automatically use Maven Assembly plugin on packaging phase. In this way, running 'mvn package' will cause the normal uima-simple-server.jar plus uima-simple-server-distribution.jar to be created into target directory. The uima-simple-server-distribution.jar package will contain the mentioned jar dependencies inside /lib subdirectory. Running 'mvn assembly:descriptor' you will also find a uima-simple-server-distribution subdirectory inside target folder mirroring the distribution-jar structure exploded. P.S.: patch contains modifies to POM and a new file distribution.xml under src/main/assembly for the distribution management Point 2: SimpleUimaAsService POM contains SimpleServer dependency instead of binaries but Maven does not permit to import transitive dependencies from a POM that has system scoped dependencies (SimpleServer has uima-simple-serve-xbean.jar as a system scoped dependency), so xbean dependency (via Maven instead of binary) has to stay (optional) on SimpleUimaAsService POM by now. To solve this my idea is that uima-simple-server-xbean could be converted to a nested SimpleServer Maven module and then pointed as a compile/runtime/test scoped dependency in SimpleServer itself. > SimpleUimaAsService has checked in SimpleServer libraries as binaries > --------------------------------------------------------------------- > > Key: UIMA-1462 > URL: https://issues.apache.org/jira/browse/UIMA-1462 > Project: UIMA > Issue Type: Bug > Components: Sandbox-SimpleUimaAsService > Affects Versions: 2.2.2S > Reporter: Thilo Goetz > Fix For: 2.3S > > Attachments: patch1462.txt, patch1462b1.txt, patch1462b2.txt, > patch1462c1.txt, patch1462c2.txt, simpleServerDistributionPatch.txt, > simpleUimaAsServicePatch.txt > > > For the upcoming release, this should be changed so it depends on the > SimpleServer project directly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.