Accumulo
  1. Accumulo
  2. ACCUMULO-437

Use ${project.artifactId} instead of ${artifactId} in pom.xml

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:

      Description

      I am seeing the following warning:

      [WARNING] Some problems were encountered while building the effective model for org.apache.accumulo:accumulo-assemble:pom:1.5.0-incubating-SNAPSHOT
      [WARNING] The expression $

      {artifactId} is deprecated. Please use ${project.artifactId} instead.accumulo-assemble:pom

      In pom.xml, I see the following:

      215: <deb>${project.build.directory}/${artifactId}

      _$

      {project.version}.deb</deb>
      310: <deb>${project.build.directory}/${artifactId}-native_${project.version}

      -$

      {os.arch}.deb</deb>
      350: <deb>${project.build.directory}/${artifactId}-test_${project.version}-${os.arch}

      .deb</deb>

      In src/assemble/pom.xml, I see the following lines:

      269: <deb>$

      {project.build.directory}/${artifactId}_${project.version}.deb</deb>
      364: <deb>${project.build.directory}

      /$

      {artifactId}native_${project.version}${os.arch}.deb</deb>
      404: <deb>${project.build.directory}/${artifactId}

      -test_$

      {project.version}

      -$

      {os.arch}

      .deb</deb>

        Activity

        Hide
        David Medinets added a comment -

        Changed artifactId to project.artifactId in src/assemble/pom.xml

        Show
        David Medinets added a comment - Changed artifactId to project.artifactId in src/assemble/pom.xml
        Hide
        David Medinets added a comment -

        src/assemble/pom.xml still references $

        {artifactId}

        on lines 269, 364, and 404. I will change those lines and commit.

        Show
        David Medinets added a comment - src/assemble/pom.xml still references $ {artifactId} on lines 269, 364, and 404. I will change those lines and commit.

          People

          • Assignee:
            David Medinets
            Reporter:
            David Medinets
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development