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

plugin archetype does not compile

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.1.2
    • Fix Version/s: None
    • Component/s: Pipeline Plugins, Test
    • Labels:
    • Rank:
      1|i00mov:

      Description

      $ mvn archetype:generate \
            -DarchetypeGroupId=co.cask.cdap \
            -DarchetypeArtifactId=cdap-data-pipeline-plugins-archetype \
            -DarchetypeVersion=5.1.2 \
            -DgroupId=org.example.plugin 
      $ mvn package

      This fails to compile the tests:

      [ERROR] /Users/andreasneumann/training/training/src/test/java/org/example/plugin/PipelineTest.java:[156,20] cannot find symbol
        symbol:   method waitForFinish(int,java.util.concurrent.TimeUnit)
        location: variable workflowManager of type co.cask.cdap.test.WorkflowManager 

      Apparently there was a change in the test interfaces that was not applied to the archetypes. 

        Attachments

          Activity

            People

            • Assignee:
              trishka Trishka
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: