Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11524

install goal: Use always the artifact file from the underlying Maven project

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Sling Maven Plugin 3.0.2
    • None
    • None

    Description

      Currently goals "install-file" and "install" behave almost the same, the only difference is that the latter requires a project, but still picks up the bundle to install from the filesystem with a predefined path instead of leveraging the project's artifact(s) directly (irrespective of their path/name).

      Instead of relying on a certain path in the filesystem one should directly leverage MavenProject.getArtifact() and MavenProject.getAttachedArtifacts() (in that order) until a bundle file is found and remove the parameter bundleFileName altogether.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m