Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-16191

Maven archetype to create project doesn't work

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docs
    • Labels:
      None
    • Rank:
      1|i00t53:

      Description

      Example shown in this page to use  Maven archetype to create your project does not work:
      https://docs.cask.co/cdap/develop/en/developer-manual/pipelines/developing-plugins/plugin-basics.html

      Command run:
      $ mvn archetype:generate -DarchetypeGroupId=co.cask.cdap -DarchetypeArtifactId=cdap-data-pipeline-plugins-archetype -DarchetypeVersion=6.0.0-SNAPSHOT -DgroupId=org.example.plugin

      Results in this error:
      "Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.1.0:generate (default-cli) on project standalone-pom: The desired archetype does not exist (co.cask.cdap:cdap-data-pipeline-plugins-archetype:6.0.0-SNAPSHOT) "

      A little more details from the stack dump:
      Archetype repository not defined. Using the one from [co.cask.cdap:cdap-data-pipeline-plugins-archetype:5.1.2] found in catalog remote
      [WARNING] The POM for co.cask.cdap:cdap-data-pipeline-plugins-archetype:jar:6.0.0-SNAPSHOT is missing, no dependency information available

        Attachments

          Activity

            People

            • Assignee:
              trishka Trishka
              Reporter:
              hadarhod87 Hadar Hod
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: