Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.4, 3.0.0
    • Component/s: karaf-documentation
    • Labels:
      None

      Description

      http://karaf.apache.org/manual/2.2.2/users-guide/kar.html
      There is a reference to the <goal>archive-kar</goal> but actually:

      [ERROR] Could not find goal 'archive-kar' in plugin org.apache.karaf.tooling:features-maven-plugin:2.2.2 among available
      goals validate, install-kars, add-features-to-repo, generate-features-file, generate-features-xml -> [Help 1]

      1. karTxt22.patch
        3 kB
        Glen Mazza
      2. karText30.patch
        2 kB
        Glen Mazza

        Activity

        Hide
        Glen Mazza added a comment -

        Updating 3.0 docs for latest version of Karaf plugin. Note I switched the command to execute this plugin from mvn install to mvn karaf:features-create-kar as I think that is correct. As mvn install does not activate mvn eclipse:eclipse or mvn tomcat:deploy, for example, I don't see how it would activate this Karaf plugin either.

        Show
        Glen Mazza added a comment - Updating 3.0 docs for latest version of Karaf plugin. Note I switched the command to execute this plugin from mvn install to mvn karaf:features-create-kar as I think that is correct. As mvn install does not activate mvn eclipse:eclipse or mvn tomcat:deploy, for example, I don't see how it would activate this Karaf plugin either.
        Hide
        Glen Mazza added a comment -

        Note this patch is only for the Karaf 2.2 branch. I'm removing references to a "archive KAR" goal in features-maven-plugin, as this functionality is not available in the 2.2 series of Karaf (only 3.3).

        Show
        Glen Mazza added a comment - Note this patch is only for the Karaf 2.2 branch. I'm removing references to a "archive KAR" goal in features-maven-plugin, as this functionality is not available in the 2.2 series of Karaf (only 3.3).
        Hide
        Jean-Baptiste Onofré added a comment -

        Updated on trunk: revision 1179064.

        Show
        Jean-Baptiste Onofré added a comment - Updated on trunk: revision 1179064.
        Hide
        Jean-Baptiste Onofré added a comment -

        Updated on karaf-2.2.x: revision 1179065.

        Show
        Jean-Baptiste Onofré added a comment - Updated on karaf-2.2.x: revision 1179065.

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Alexey Markevich
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development