Can we sort the Maven Dependencies Libraries?

View: New views
4 Messages — Rating Filter:   Alert me  

Can we sort the Maven Dependencies Libraries?

by Zemian Deng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello list,

When I expand the Libraries > Maven Dependencies in a PackageExplore
view, those jars are not sorted alphabetically. Anyway we have this
option?

Thanks,
-Z
http://code.google.com/p/sweetscala/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Can we sort the Maven Dependencies Libraries?

by Eugene Kuleshov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zemian Deng wrote:
> When I expand the Libraries > Maven Dependencies in a PackageExplore
> view, those jars are not sorted alphabetically. Anyway we have this
> option?
>  
  The order of jars shown in classpath container corresponds to the
order of jars in the class path and can't be actually changed without
breaking the correctness of the build classpath. So, the answer for your
request is that we can't change, because it is controlled by JDT UI,
that we have no control on.

  However if you'd want to analyze project dependencies, you can use
"Dependency Tree" page in the Maven pom editor to analyze, sort and
search trough the project dependencies. The POM editor will be available
in 0.9.5 release and you can try the dev build from update site at
http://m2eclipse.sonatype.org/update-dev/

  See example of how POM editor and its "Dependency Tree" page UI look
like on the wiki at
http://docs.codehaus.org/display/M2ECLIPSE/New+and+Noteworthy#NewandNoteworthy-0.9.5.200806261519%2FJune26%2C2008

  regards,
  Eugene



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Can we sort the Maven Dependencies Libraries?

by Igor Fedorenko-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Classpath entries order is kinda important, at least for
projects/libraries that happen to have duplicated classes and/or
resources. m2e keeps classpath entries order as close to maven as
possible. you can read more about this in [1].

Having said that, what are you trying to achieve? For example, POM
editor in 0.9.5 has very nice dependency tree that lets you see all
dependencies, filter them and so on. Current 0.9.5 dev build is
available for [2] update site


[1] http://docs.codehaus.org/display/M2ECLIPSE/Runtime+classpath
[2] http://m2eclipse.sonatype.org/update-dev/


Zemian Deng wrote:

> Hello list,
>
> When I expand the Libraries > Maven Dependencies in a PackageExplore
> view, those jars are not sorted alphabetically. Anyway we have this
> option?
>
> Thanks,
> -Z
> http://code.google.com/p/sweetscala/
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Can we sort the Maven Dependencies Libraries?

by Zemian Deng :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Igor,

My project dependencies has grown to about 15 jars under the Maven
Libraries listing. Whenever I am experimenting some code, and want to
verify that M2eclipse plugin did indeed has the artifact, I have to
look through this list. and when it's unsorted, it's kinda hard find.

To Eugene, Thanks for the link and answers. I am looking forward for
the new release!

-Z


On Tue, Jul 8, 2008 at 3:00 PM, Igor Fedorenko <igor@...> wrote:

> Classpath entries order is kinda important, at least for projects/libraries
> that happen to have duplicated classes and/or resources. m2e keeps classpath
> entries order as close to maven as possible. you can read more about this in
> [1].
>
> Having said that, what are you trying to achieve? For example, POM editor in
> 0.9.5 has very nice dependency tree that lets you see all dependencies,
> filter them and so on. Current 0.9.5 dev build is available for [2] update
> site
>
>
> [1] http://docs.codehaus.org/display/M2ECLIPSE/Runtime+classpath
> [2] http://m2eclipse.sonatype.org/update-dev/
>
>
> Zemian Deng wrote:
>>
>> Hello list,
>>
>> When I expand the Libraries > Maven Dependencies in a PackageExplore
>> view, those jars are not sorted alphabetically. Anyway we have this
>> option?
>>
>> Thanks,
>> -Z
>> http://code.google.com/p/sweetscala/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>



--
Sweet - a Scala web framework:
http://code.google.com/p/sweetscala

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


LightInTheBox - Buy quality products at wholesale price