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

Tranlator archetype creation: -Dversion option sets the version of parent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 8.7.1
    • None
    • None
    • Hide

      command: mvn -s settings_online.xml archetype:generate -DarchetypeRepository=https://repository.jboss.org/nexus/content/repositories/releases/ -DarchetypeGroupId=org.jboss.teiid.arche-types -DarchetypeArtifactId=translator-archetype -DarchetypeVersion=8.7.0 -DgroupId=org.jboss.teiid.test.translator -DartifactId=test-translator -Dpackage=org.teiid.translator.test.translator -Dversion=0.0.1 -Dtranslator-name=TestTranslator -Dteiid-version=8.7.0.Final

      Show
      command: mvn -s settings_online.xml archetype:generate -DarchetypeRepository= https://repository.jboss.org/nexus/content/repositories/releases/ -DarchetypeGroupId=org.jboss.teiid.arche-types -DarchetypeArtifactId=translator-archetype -DarchetypeVersion=8.7.0 -DgroupId=org.jboss.teiid.test.translator -DartifactId=test-translator -Dpackage=org.teiid.translator.test.translator -Dversion=0.0.1 -Dtranslator-name=TestTranslator -Dteiid-version=8.7.0.Final

      If new translator is created using command line, -Dversion option is set as version of parent project instead of version of actual translator.

      pom file:
      <parent>
      <groupId>org.jboss.teiid</groupId>
      <artifactId>connectors</artifactId>
      <version>0.0.1</version>
      </parent>
      ...
      <groupId>org.jboss.teiid.test.translator</groupId>
      <artifactId>test-translator</artifactId>
      <!-version>0.0.1</version->
      <packaging>jar</packaging>
      ...

              van.halbert Van Halbert (Inactive)
              jdurani Juraj DurĂ¡ni (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: