Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3345

Dependency analyzer plugin support for free-style-projects that execute maven goals

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Platform: All, OS: All

      Most of our jobs are configured as free-style projects in Hudson. In the Build section, they usually have
      "Invoke top-level Maven targets" as one of the build steps, and then additional ones (often shell scripts for
      further custom analysis of the builds).
      It would be nice if one could use the dependency analyzer also in those cases where the maven goals are
      executed just as one part of the build/job.

          [JENKINS-3345] Dependency analyzer plugin support for free-style-projects that execute maven goals

          kutzi added a comment -

          Changing title to better reflect, what the reporter seems to want

          kutzi added a comment - Changing title to better reflect, what the reporter seems to want

          kutzi added a comment -

          BTW: are you sure you wanted to report this issue against this plugin https://wiki.jenkins-ci.org/display/JENKINS/Dependency+Analyzer+Plugin rather than Jenkins core?

          kutzi added a comment - BTW: are you sure you wanted to report this issue against this plugin https://wiki.jenkins-ci.org/display/JENKINS/Dependency+Analyzer+Plugin rather than Jenkins core?

          Marcel Rieser added a comment -

          Wow, forgot about that ticket. This was from my early days using Hudson/Jenkins. By now, I have migrated my jobs to be maven-jobs, so I solved it myself somehow.
          I originally reported this issue against this ticket as I was not able to enable this plugin together with freestyle-jobs, only with maven-jobs. I assumed that plugins have to kind of support the different job-types (this is really just an assumption, I have no idea of the inner workings of Jenkins) and thus reported the issue against the plugin. If my assumption is wrong, and Jenkins-core must be changed in order to allow plugins working with maven-jobs only to also work when freestyle-jobs-with-invoke-maven-target are used, then it should be closed here. But I really have no idea of the inner working, I just observed that I was not able to use this plugin with freestyle-jobs, thus I reported it here.

          If it's too much trouble fixing this, just close it, I think the usage of freestyle-jobs for mavenized projects is negligible.

          (PS: I'm binarycello, which was my login at java.net in the old days. Wasn't able to log in with those credientials, thus using my new account)

          Marcel Rieser added a comment - Wow, forgot about that ticket. This was from my early days using Hudson/Jenkins. By now, I have migrated my jobs to be maven-jobs, so I solved it myself somehow. I originally reported this issue against this ticket as I was not able to enable this plugin together with freestyle-jobs, only with maven-jobs. I assumed that plugins have to kind of support the different job-types (this is really just an assumption, I have no idea of the inner workings of Jenkins) and thus reported the issue against the plugin. If my assumption is wrong, and Jenkins-core must be changed in order to allow plugins working with maven-jobs only to also work when freestyle-jobs-with-invoke-maven-target are used, then it should be closed here. But I really have no idea of the inner working, I just observed that I was not able to use this plugin with freestyle-jobs, thus I reported it here. If it's too much trouble fixing this, just close it, I think the usage of freestyle-jobs for mavenized projects is negligible. (PS: I'm binarycello, which was my login at java.net in the old days. Wasn't able to log in with those credientials, thus using my new account)

          kutzi added a comment -

          Okay, so I misunderstood your request. Changing subject back. IMO this is a reasonable request.

          kutzi added a comment - Okay, so I misunderstood your request. Changing subject back. IMO this is a reasonable request.

          dma_k added a comment -

          Voting for this issue. Really missing free-style jobs (build by maven) dependency tracking. As well as archiving artifacts attached to Maven lifecycle. Archiving artifacts by mask (target/*.jar) is ugly and generally speaking does not work correctly (for example, archives jar even if build failed).

          dma_k added a comment - Voting for this issue. Really missing free-style jobs (build by maven) dependency tracking. As well as archiving artifacts attached to Maven lifecycle. Archiving artifacts by mask ( target/*.jar ) is ugly and generally speaking does not work correctly (for example, archives jar even if build failed).

          Dan Jasek added a comment -

          Now, 4 years later. With the release of Pipeline projects, it would be nice if this plugin supported these projects as well.

          Dan Jasek added a comment - Now, 4 years later. With the release of Pipeline projects, it would be nice if this plugin supported these projects as well.

            vsellier vsellier
            binarycello binarycello
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: