Details

    • Type: Task Task
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.2.5
    • Component/s: build process
    • Labels:
      None

      Description

      $

      {version} is a deprecated maven property. It should be changed to ${pom.version} or ${project.version}.

      Matches (grep style output):
      ./shared/shared-tomahawk/pom.xml:41: <version>${version}

      </version>
      ./shared/shared-orchestra/pom.xml:41: <version>$

      {version}</version>
      ./shared/shared-impl/pom.xml:41: <version>${version}

      </version>
      ./core/assembly/pom.xml:43: <version>$

      {version}</version>
      ./core/assembly/pom.xml:50: <version>${version}

      </version>
      ./core/assembly/pom.xml:69: <version>$

      {version}</version>
      ./core/assembly/pom.xml:88: <version>${version}

      </version>
      ./core/assembly/pom.xml:94: <version>$

      {version}</version>
      ./core/assembly/pom.xml:118: <finalName>myfaces-core-${version}

      </finalName>
      ./core/assembly/pom.xml:144: <version>$

      {version}</version>
      ./core/assembly/pom.xml:150: <version>${version}

      </version>
      ./tomahawk/sandbox/assembly/pom.xml:42: <version>$

      {version}</version>
      ./tomahawk/sandbox/assembly/pom.xml:62: <version>${version}

      </version>
      ./tomahawk/sandbox/assembly/pom.xml:81: <version>$

      {version}</version>
      ./tomahawk/sandbox/assembly/pom.xml:98: <version>${version}

      </version>
      ./tomahawk/sandbox/assembly/pom.xml:117: <finalName>tomahawk-sandbox-$

      {version}</finalName>
      ./tomahawk/sandbox/assembly/pom.xml:155: <version>${version}

      </version>
      ./tomahawk/sandbox/core/pom.xml:30: <version>$

      {version}</version>
      ./tomahawk/sandbox/examples/assembly/pom.xml:40: <version>${version}

      </version>
      ./tomahawk/sandbox/examples/assembly/pom.xml:57: <finalName>tomahawk-sandbox-examples-$

      {version}</finalName>
      ./tomahawk/sandbox/examples/pom.xml:45: <version>${version}

      </version>
      ./tomahawk/sandbox/examples/pom.xml:281: <version>$

      {version}</version>
      ./tomahawk/assembly/pom.xml:43: <version>${version}

      </version>
      ./tomahawk/assembly/pom.xml:61: <version>$

      {version}</version>
      ./tomahawk/assembly/pom.xml:79: <version>${version}

      </version>
      ./tomahawk/assembly/pom.xml:98: <version>$

      {version}</version>
      ./tomahawk/assembly/pom.xml:124: <finalName>tomahawk-${version}

      </finalName>
      ./tomahawk/assembly/pom.xml:149: <version>$

      {version}</version>
      ./tomahawk/examples/blank/pom.xml:43: <version>${version}

      </version>
      ./tomahawk/examples/simple/pom.xml:43: <version>$

      {version}</version>
      ./tomahawk/examples/assembly/pom.xml:39: <version>${version}

      </version>
      ./tomahawk/examples/assembly/pom.xml:45: <version>$

      {version}</version>
      ./tomahawk/examples/assembly/pom.xml:51: <version>${version}

      </version>
      ./tomahawk/examples/assembly/pom.xml:57: <version>$

      {version}</version>
      ./tomahawk/examples/assembly/pom.xml:74: <finalName>tomahawk-examples-${version}

      </finalName>
      ./tomahawk/examples/tiles/pom.xml:43: <version>$

      {version}</version>
      ./tomahawk/examples/wap/pom.xml:43: <version>${version}

      </version>
      ./tomahawk/examples/pom.xml:61: <version>$

      {version}</version>
      ./tomahawk/sandbox15/core/pom.xml:30: <version>${version}

      </version>
      ./tomahawk/sandbox15/core/pom.xml:37: <version>$

      {version}</version>
      ./tomahawk/sandbox15/examples/pom.xml:45: <version>${version}

      </version>
      ./tomahawk/sandbox15/examples/pom.xml:190: <version>$

      {version}</version>
      ./tomahawk/sandbox15/examples/pom.xml:195: <version>${version}

      </version>

      1. myfaces12.patch
        5 kB
        Paul Rivera
      2. myfaces11.patch
        10 kB
        Paul Rivera

        Issue Links

          Activity

          Hide
          Paul Rivera added a comment -

          pom.xml files in maven2-archetypes also use $

          {version}

          .

          I've attached two patches above that fixes:

          • myfaces core 1.1
          • myfaces core 1.2
          • maven2-archetypes

          The patch for tomahawk is in TOMAHAWK-1201

          Show
          Paul Rivera added a comment - pom.xml files in maven2-archetypes also use $ {version} . I've attached two patches above that fixes: myfaces core 1.1 myfaces core 1.2 maven2-archetypes The patch for tomahawk is in TOMAHAWK-1201
          Hide
          Paul Rivera added a comment -

          Some files in Tobago and Trinidad are also using $

          {version}

          .

          I've created TOBAGO-699 and TRINIDAD-1235.

          Show
          Paul Rivera added a comment - Some files in Tobago and Trinidad are also using $ {version} . I've created TOBAGO-699 and TRINIDAD-1235 .
          Hide
          Leonardo Uribe added a comment -

          thanks to Paul Rivera for provide us with this patch

          Show
          Leonardo Uribe added a comment - thanks to Paul Rivera for provide us with this patch
          Hide
          Leonardo Uribe added a comment -

          There is a problem with the changes done in pom.xml on archetypes.

          In that case the use of $

          {version}

          is necessary because the archetype plugin put the version number on the pom, and there is no parent for this archetypes. I'll check it and solve it, but I have to reopen it for commit the changes.

          Show
          Leonardo Uribe added a comment - There is a problem with the changes done in pom.xml on archetypes. In that case the use of $ {version} is necessary because the archetype plugin put the version number on the pom, and there is no parent for this archetypes. I'll check it and solve it, but I have to reopen it for commit the changes.

            People

            • Assignee:
              Leonardo Uribe
              Reporter:
              Andrew Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development