Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5939

karaf-assembly packaging fails with m-i-p 3.0.0-M1

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0.10
    • 4.2.2, 4.1.7
    • karaf
    • None

    Description

      The Apache Maven team just released 3.0.0-M1 of the maven-install-plugin, which contains 
      MINSTALL-118 - our project is using karaf-maven-plugin 4.0.10 and this seems to trip up with:
       
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) on project smx3.karaf.defaultconfig: NoFileAssignedException: The packaging plugin for this project did not assign a main file to the project but it has attachments. Change packaging to 'pom'. -> [Help 1]
       
      I don't know if this has been fixed in later releases of karaf-maven-plugin, or if a patch version of 4.0.10.x will be made, but for now will lock down our builds install-plugin version.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbonofre Jean-Baptiste Onofré
            talios Mark Derricutt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment