Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-395

Support referencing of maven properties in pom.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.4-incubating
    • None
    • Maven Plugins
    • Windows XP, Maven 2.2.1, java 1.6

    Description

      I have a .NET multi module project. I'm using the npanday plugin to build the project and it seems to be working ok. However I can't reference maven properties from within my pom.xml file like I can with java projects. I've tried the following variants: ${version}, ${pom.version}, and ${project.version}. None of them seem to work. It seems to reference the file in the /target folder correctly however it doesn't actually copy the library to the /target folder from the local or host repositories before the compile phase. Therefore it fails saying that it can't find the file. Attached is something similar to my pom.xml

      Dashboard.Client depends on Dashboard.Common, both are set to the same version '1.0-SNAPSHOT '. I want to reference groupId and version info in Dashboard.Client pom.xml with the ${project.groupId} and ${project.version} properties.

      Releases are difficult without being able to reference maven properties in the pom.xml

      Attachments

        1. pom.xml
          1 kB
          Khai Do

        Issue Links

          Activity

            People

              brett Brett Porter
              khaido Khai Do
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: