question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suggestion: Add a parameter to control the sort of dependencies in dependencymanagement

See original GitHub issue

If someone wants dependencies to be sorted first by scope in dependencies, but groupId in dependencyManagement, they will need a parameter independent of sortDependencies. I would like to create a pull request for this.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Ekrydcommented, Jul 13, 2022

I fixed the integration test and added a few test cases. Just discovered that we need this precise functionality; to sort all dependencies but not dependencyManagement all (due to bom conflicts). Our configuration will look like this:

            <sortDependencies>scope,groupId,artifactId</sortDependencies>
            <sortDependencyManagement>none</sortDependencyManagement>

I’ll try to merge it promptly

0reactions
Ekrydcommented, Jul 17, 2022

New version 3.2.0 is released. Enjoy!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to sort dependencies in a section of a Maven POM file
The easiest way to sort your dependencies is to use the sortpom maven plugin. It is very easy to use. Just go to...
Read more >
Introduction to the Dependency Mechanism - Apache Maven
Dependency management is a core feature of Maven. Managing dependencies for a single project is easy. Managing dependencies for multi-module projects and ...
Read more >
Learning the Basics
A build script developer can declare dependencies for different scopes e.g. just for compilation of source code or for executing tests. In Gradle,...
Read more >
JVM Dependency Management - Pants
3rdparty/jvm · Your Code's BUILD File · "Round Trip" Dependencies · Controlling JAR Dependency Versions · Managing Transitive Dependencies · Using a SNAPSHOT...
Read more >
Creating and managing task dependencies | Trello
Trello doesn't have a built-in task dependency management, but you can use such elements as checklists and link attachments to represent and manage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found