Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 2.2.6
    • Component/s: karaf-archetypes
    • Labels:
      None

      Description

      The Karaf archetypes are not valid:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.1:generate (default-cli) on project standalone-pom: The defined artifact is not an archetype -> [Help 1]

        Activity

        Hide
        Mike Miller added a comment -

        This is referenced in the documentation at http://karaf.apache.org/manual/2.2.5/developers-guide/archetypes.html
        Running archetype:generate and specifying -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-bundle-archetype also results in the above message for me.

        Show
        Mike Miller added a comment - This is referenced in the documentation at http://karaf.apache.org/manual/2.2.5/developers-guide/archetypes.html Running archetype:generate and specifying -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-bundle-archetype also results in the above message for me.
        Hide
        Mike Miller added a comment -

        karaf-blueprint-archetype and karaf-feature-archetype worked fine, however.

        Show
        Mike Miller added a comment - karaf-blueprint-archetype and karaf-feature-archetype worked fine, however.
        Hide
        Jean-Baptiste Onofré added a comment -

        Tests OK on trunk:

        mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-assembly-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local
        [INFO] BUILD SUCCESS

        mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-blueprint-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local
        [INFO] BUILD SUCCESS

        mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-bundle-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local
        [INFO] BUILD SUCCESS

        mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-command-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local
        [INFO] BUILD SUCCESS

        mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-feature-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local
        [INFO] BUILD SUCCESS

        mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-kar-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local
        [INFO] BUILD SUCCESS

        Show
        Jean-Baptiste Onofré added a comment - Tests OK on trunk: mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-assembly-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local [INFO] BUILD SUCCESS mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-blueprint-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local [INFO] BUILD SUCCESS mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-bundle-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local [INFO] BUILD SUCCESS mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-command-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local [INFO] BUILD SUCCESS mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-feature-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local [INFO] BUILD SUCCESS mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-kar-archetype -DarchetypeVersion=3.0.0-SNAPSHOT -DarchetypeCatalog=local [INFO] BUILD SUCCESS
        Hide
        Jean-Baptiste Onofré added a comment -

        OK I found the issue on karaf-bundle-archetype on karaf-2.2.x branch (bad name on the src folder).

        Show
        Jean-Baptiste Onofré added a comment - OK I found the issue on karaf-bundle-archetype on karaf-2.2.x branch (bad name on the src folder).

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development