You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jürgen Weber (JIRA)" <ji...@apache.org> on 2008/11/14 13:30:44 UTC

[jira] Created: (DIRSERVER-1288) put apacheds-server-unit-1.5.4.jar dependencies into Manifest

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
            Reporter: Jürgen Weber
            Priority: Minor


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.


[jira] Closed: (DIRSERVER-1288) put apacheds-server-unit-1.5.4.jar dependencies into Manifest

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu closed DIRSERVER-1288.
------------------------------------

    Resolution: Fixed

Fixed in revision 803429 here:

      http://svn.apache.org/viewvc?view=rev&revision=803429

> 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.


[jira] Assigned: (DIRSERVER-1288) put apacheds-server-unit-1.5.4.jar dependencies into Manifest

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Karasulu reassigned DIRSERVER-1288:
----------------------------------------

    Assignee: Alex Karasulu

> 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.


[jira] Updated: (DIRSERVER-1288) put apacheds-server-unit-1.5.4.jar dependencies into Manifest

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1288:
-----------------------------------------

    Affects Version/s: 1.5.4
        Fix Version/s: 1.5.5

Let's investigate some solution, and try to make it injected in 1.5.5

> 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
>            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.


[jira] Commented: (DIRSERVER-1288) put apacheds-server-unit-1.5.4.jar dependencies into Manifest

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (DIRSERVER-1288) put apacheds-server-unit-1.5.4.jar dependencies into Manifest

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647678#action_12647678 ] 

David Jencks commented on DIRSERVER-1288:
-----------------------------------------

I haven't looked into this but suspect the needed jars will be there when running in maven due to transitive dependencies.

As an alternative to changing the apacheds-server-unit.xx.jar by adding mfcp entries that will normally be invalid perhaps a new jar with only these mfcp entries could be set up.  Alternatively a single uber-jar with all the contents of the ~20 jars repackaged into it might be useful.

> 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
>            Reporter: Jürgen Weber
>            Priority: Minor
>
> 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.


[jira] Commented: (DIRSERVER-1288) put apacheds-server-unit-1.5.4.jar dependencies into Manifest

Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742279#action_12742279 ] 

Alex Karasulu commented on DIRSERVER-1288:
------------------------------------------

Note that the new attached jar is apacheds-server-unit-[version]-all.jar - Maven can reference this specific dependency instead of the original by using the following <classifier> tag in dependencies:

<dependency>
  <groupId>org.apache.directory.server</groupId>
  <artifactId>apacheds-server-unit</artifactId>
  <version>1.5.5-SNAPSHOT</version>
  <classifier>all</classifier>
</dependency>


> 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.