[
https://issues.apache.org/jira/browse/DIRSERVER-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741780#action_12741780
]
Alex Karasulu commented on DIRSERVER-1288:
------------------------------------------
Background
----------------
The server-unit (Maven) module contains the code for the server testing harness
to be used by our users. Because of the sheer number of dependencies it's
pretty inhibitive to have to manage them outside of maven when using this
server-unit jar alone.
Solutions
-------------
I think the best thing to do here is create a new server-unit-all artifact
which contains all the required dependencies in an uberjar. We can do that a
number of ways in terms of our build configuration:
1. We can create a new server-unit-all Maven module to hold a pom just to
create this new artifact. Then I guess we use the jar plugin or some shade
plugin. My maven is a bit rusty but I can figure this out. This is a simple
straight forward approach.
2. Another option is to a feature of maven that allows one to attach multiple
artifacts to a Maven module. Meaning we can use a feature to violate this one
artifact to one pom principle but this makes me a bit nervous.
> put apacheds-server-unit-1.5.4.jar dependencies into Manifest
> -------------------------------------------------------------
>
> Key: DIRSERVER-1288
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1288
> Project: Directory ApacheDS
> Issue Type: Improvement
> Affects Versions: 1.5.4
> Reporter: Jürgen Weber
> Assignee: Alex Karasulu
> Priority: Minor
> Fix For: 1.5.5
>
>
> http://directory.apache.org/apacheds/1.5/using-apacheds-for-unit-tests.html
> cites some 20 jars you need to use apacheds-server-unit-1.5.4.jar
> If the needed jars were in the Manifest classpath of
> apacheds-server-unit.xx.jar you could just drop it into ds/lib and include
> only apacheds-server-unit.xx.jar into your projects.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.