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

Conflicting hpl and jpl files created by maven-hpi-plugin

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      The hpi:hpl plugin generates hpl files for a jenkins home folder.
      When you execute hpi:run it uses PluginWorkspaceMapImpl which generates .jpl files for snapshots found on the user home folder.

      This can cause hard to track conflicts as you will end up with an .hpl and .jpl file and the .jpl, which can come from any place on the home user folder, will have preference when starting jenkin.

      For reference:
      .jpl creation - https://github.com/jenkinsci/maven-hpi-plugin/blob/aaf092abf2853410c2101c3e521b515831484dea/src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java#L410
      .hpl creation - https://github.com/jenkinsci/maven-hpi-plugin/blob/aaf092abf2853410c2101c3e521b515831484dea/src/main/java/org/jenkinsci/maven/plugins/hpi/HplMojo.java#L166

            Unassigned Unassigned
            alobato Alvaro Lobato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: