[ 
http://jira.codehaus.org/browse/MNG-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_94668
 ] 

Knut Forkalsrud commented on MNG-1412:
--------------------------------------

I would think the most common example for this would be log4j static 
initialization

We don't want to configure logging explicitly in unit tests, so we rely on 
log4j's
builtin lookup of "log4j.properties".  Unfortunately way too many third party
jars contain one of these so we need the directory target/test-classes to be
first on the classpath.  One can argue that log4j's approach isn't the best, 
but it
is the standard for practical purposes.

> dependency sorting in classpath
> -------------------------------
>
>                 Key: MNG-1412
>                 URL: http://jira.codehaus.org/browse/MNG-1412
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Mark Hobson
>            Assignee: fabrizio giustina
>             Fix For: 2.1.x
>
>         Attachments: artifact-order_maven-artifact-manager.txt, 
> artifact-order_maven-artifact.txt, artifact-order_maven-project.txt, 
> MNG-1412-maven-2.0.x-r507746.patch
>
>
> The .classpath file entries should be ordered by nearest transitiveness (if 
> that's a word).
> For example, I have project A that depends on B that depends on C.  The 
> classpath for A is generated in the order C, B.  Ideally the classpath should 
> be in order of how near they are to the project, i.e. B, C.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to