Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5590

vdb-maven-plugin - version 1.3 breaks build lifecycle

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build/Kits, VDB
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      1. Add resources to src/main/resources of vdb packaged project.
      2. Update to version 1.3 of the vdb-maven-plugin
      3. mvn -DskipTests clean package

      With version 1.3, these are the (incorrect) phases that make up the "package" phase:

      [INFO] 'package' is a phase corresponding to this plugin:
      org.teiid:vdb-maven-plugin:vdb
      
      It is a part of the lifecycle for the POM packaging 'vdb'. This lifecycle includes the following phases:
      * validate: Not defined
      * initialize: Not defined
      * generate-sources: Not defined
      * process-sources: Not defined
      * generate-resources: Not defined
      * process-resources: Not defined
      * compile: Not defined
      * process-classes: Not defined
      * generate-test-sources: Not defined
      * process-test-sources: Not defined
      * generate-test-resources: Not defined
      * process-test-resources: Not defined
      * test-compile: Not defined
      * process-test-classes: Not defined
      * test: Not defined
      * prepare-package: Not defined
      * package: org.teiid:vdb-maven-plugin:vdb
      * pre-integration-test: Not defined
      * integration-test: Not defined
      * post-integration-test: Not defined
      * verify: Not defined
      * install: org.apache.maven.plugins:maven-install-plugin:install
      * deploy: org.apache.maven.plugins:maven-deploy-plugin:deploy
      
      Show
      Add resources to src/main/resources of vdb packaged project. Update to version 1.3 of the vdb-maven-plugin mvn -DskipTests clean package With version 1.3, these are the (incorrect) phases that make up the "package" phase: [INFO] ' package ' is a phase corresponding to this plugin: org.teiid:vdb-maven-plugin:vdb It is a part of the lifecycle for the POM packaging 'vdb' . This lifecycle includes the following phases: * validate: Not defined * initialize: Not defined * generate-sources: Not defined * process-sources: Not defined * generate-resources: Not defined * process-resources: Not defined * compile: Not defined * process-classes: Not defined * generate-test-sources: Not defined * process-test-sources: Not defined * generate-test-resources: Not defined * process-test-resources: Not defined * test-compile: Not defined * process-test-classes: Not defined * test: Not defined * prepare- package : Not defined * package : org.teiid:vdb-maven-plugin:vdb * pre-integration-test: Not defined * integration-test: Not defined * post-integration-test: Not defined * verify: Not defined * install: org.apache.maven.plugins:maven-install-plugin:install * deploy: org.apache.maven.plugins:maven-deploy-plugin:deploy

      Description

      When building a VDB with version 1.3 of the vdb-maven-plugin, the src/main/resources directory is NOT processed as expected. When using version 1.1, the "package" phase has the following (correct) phases:

      [INFO] 'package' is a phase corresponding to this plugin:
      org.teiid:vdb-maven-plugin:vdb
      
      It is a part of the lifecycle for the POM packaging 'vdb'. This lifecycle includes the following phases:
      * validate: Not defined
      * initialize: Not defined
      * generate-sources: Not defined
      * process-sources: Not defined
      * generate-resources: Not defined
      * process-resources: org.apache.maven.plugins:maven-resources-plugin:resources
      * compile: org.apache.maven.plugins:maven-compiler-plugin:compile
      * process-classes: Not defined
      * generate-test-sources: Not defined
      * process-test-sources: Not defined
      * generate-test-resources: Not defined
      * process-test-resources: org.apache.maven.plugins:maven-resources-plugin:testResources
      * test-compile: org.apache.maven.plugins:maven-compiler-plugin:testCompile
      * process-test-classes: Not defined
      * test: org.apache.maven.plugins:maven-surefire-plugin:test
      * prepare-package: Not defined
      * package: org.teiid:vdb-maven-plugin:vdb
      * pre-integration-test: Not defined
      * integration-test: Not defined
      * post-integration-test: Not defined
      * verify: Not defined
      * install: org.apache.maven.plugins:maven-install-plugin:install
      * deploy: org.apache.maven.plugins:maven-deploy-plugin:deploy
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rareddy Ramesh Reddy
                Reporter:
                rbellamy G. Richard Bellamy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: