• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cli
    • None

      Hello, I noticed that the dependency org.jvnet.hudson:jtidy is declared in the module core of Jenkins. However, this direct dependency is not used and, therefore, it can be removed safely from this module. I'm intriguing with the exclusion of jdom from org.jvnet.hudson:jtidy in commit https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc] , because if we look at the dependency tree, we can notice that jdom is not a dependency of org.jvnet.hudson:jtidy.

      On the other hand, the transitive dependencies org.jenkins-ci:constant-pool-scanner and net.i2p.crypto:eddsa are not used in the core module and therefore they can be excluded from dependencies org.jenkins-ci.main:remoting and org.jenkins-ci.main:cli, respectively. This makes the core library slimmer, the dependency tree smaller, and the pom clearer.

      In addition, the dependency commons-codec is declared in module cli and it is also unused.

          [JENKINS-60326] Remove unused dependencies from Jenkins CLI

          César Soto Valero created issue -
          César Soto Valero made changes -
          Description Original: Hello, I noticed that the dependency org.jvnet.hudson:jtidy is declared in module core. However, this direct dependency is not used and, therefore, it can be removed safely from this module. I'm intriguing with the exclusion of jdom from org.jvnet.hudson:jtidy in commit [https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc] , if we look at the dependency tree, we can notice that jdom is not a dependency of org.jvnet.hudson:jtidy.

          On the other hand, the transitive dependencies org.jenkins-ci:constant-pool-scanner and net.i2p.crypto:eddsa are not used in core and therefore they can be excluded from org.jenkins-ci.main:remoting and org.jenkins-ci.main:cli, respectively. This makes the core library slimmer, the dependency tree smaller, and the pom clearer.

          In addition, the dependency commons-codec is declared in module cli and it is also unused.
          New: Hello, I noticed that the dependency *org.jvnet.hudson:jtidy* is declared in the module *core* of Jenkins. However, this direct dependency is not used and, therefore, it can be removed safely from this module. I'm intriguing with the exclusion of *jdom* from *org.jvnet.hudson:jtidy* in commit [https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc] , because if we look at the dependency tree, we can notice that *jdom* is not a dependency of *org.jvnet.hudson:jtidy*.

          On the other hand, the transitive dependencies *org.jenkins-ci:constant-pool-scanner* and *net.i2p.crypto:eddsa* are not used in the *core* module and therefore they can be excluded from dependencies *org.jenkins-ci.main:remoting* and *org.jenkins-ci.main:cli*, respectively. This makes the core library slimmer, the dependency tree smaller, and the pom clearer.

          In addition, the dependency *commons-codec* is declared in module *cli* and it is also unused.
          César Soto Valero made changes -
          Description Original: Hello, I noticed that the dependency *org.jvnet.hudson:jtidy* is declared in the module *core* of Jenkins. However, this direct dependency is not used and, therefore, it can be removed safely from this module. I'm intriguing with the exclusion of *jdom* from *org.jvnet.hudson:jtidy* in commit [https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc] , because if we look at the dependency tree, we can notice that *jdom* is not a dependency of *org.jvnet.hudson:jtidy*.

          On the other hand, the transitive dependencies *org.jenkins-ci:constant-pool-scanner* and *net.i2p.crypto:eddsa* are not used in the *core* module and therefore they can be excluded from dependencies *org.jenkins-ci.main:remoting* and *org.jenkins-ci.main:cli*, respectively. This makes the core library slimmer, the dependency tree smaller, and the pom clearer.

          In addition, the dependency *commons-codec* is declared in module *cli* and it is also unused.
          New: Hello, I noticed that the dependency *org.jvnet.hudson:jtidy* is declared in the module *core* of Jenkins. However, this direct dependency is not used and, therefore, it can be removed safely from this module. I'm intriguing with the exclusion of *jdom* from *org.jvnet.hudson:jtidy* in commit [[https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc|http://example.com]|https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc] , because if we look at the dependency tree, we can notice that *jdom* is not a dependency of *org.jvnet.hudson:jtidy*.

          On the other hand, the transitive dependencies *org.jenkins-ci:constant-pool-scanner* and *net.i2p.crypto:eddsa* are not used in the *core* module and therefore they can be excluded from dependencies *org.jenkins-ci.main:remoting* and *org.jenkins-ci.main:cli*, respectively. This makes the core library slimmer, the dependency tree smaller, and the pom clearer.

          In addition, the dependency *commons-codec* is declared in module *cli* and it is also unused.
          César Soto Valero made changes -
          Description Original: Hello, I noticed that the dependency *org.jvnet.hudson:jtidy* is declared in the module *core* of Jenkins. However, this direct dependency is not used and, therefore, it can be removed safely from this module. I'm intriguing with the exclusion of *jdom* from *org.jvnet.hudson:jtidy* in commit [[https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc|http://example.com]|https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc] , because if we look at the dependency tree, we can notice that *jdom* is not a dependency of *org.jvnet.hudson:jtidy*.

          On the other hand, the transitive dependencies *org.jenkins-ci:constant-pool-scanner* and *net.i2p.crypto:eddsa* are not used in the *core* module and therefore they can be excluded from dependencies *org.jenkins-ci.main:remoting* and *org.jenkins-ci.main:cli*, respectively. This makes the core library slimmer, the dependency tree smaller, and the pom clearer.

          In addition, the dependency *commons-codec* is declared in module *cli* and it is also unused.
          New: Hello, I noticed that the dependency *org.jvnet.hudson:jtidy* is declared in the module *core* of Jenkins. However, this direct dependency is not used and, therefore, it can be removed safely from this module. I'm intriguing with the exclusion of *jdom* from *org.jvnet.hudson:jtidy* in commit [https://github.com/jenkinsci/jenkins/commit/fe8df9651a276720f6d9a93ea4fb7d9e3e5a45dc|http://example.com]] , because if we look at the dependency tree, we can notice that *jdom* is not a dependency of *org.jvnet.hudson:jtidy*.

          On the other hand, the transitive dependencies *org.jenkins-ci:constant-pool-scanner* and *net.i2p.crypto:eddsa* are not used in the *core* module and therefore they can be excluded from dependencies *org.jenkins-ci.main:remoting* and *org.jenkins-ci.main:cli*, respectively. This makes the core library slimmer, the dependency tree smaller, and the pom clearer.

          In addition, the dependency *commons-codec* is declared in module *cli* and it is also unused.
          Oleg Nenashev made changes -
          Summary Original: Remove unused dependencies New: Remove unused dependencies from Jenkins CLI
          Oleg Nenashev made changes -
          Component/s Original: core [ 15593 ]
          Oleg Nenashev made changes -
          Summary Original: Remove unused dependencies from Jenkins CLI New: Remove unused dependencies from Jenkins Core
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: cli [ 15624 ]
          Oleg Nenashev made changes -
          Summary Original: Remove unused dependencies from Jenkins Core New: Remove unused dependencies from Jenkins CLI
          Oleg Nenashev made changes -
          Component/s New: cli [ 15624 ]
          Component/s Original: core [ 15593 ]

            Unassigned Unassigned
            cesarsotovalero César Soto Valero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: