You can reference all properties defined in the POM xml like
project.version, project.build.finalName  via ${project.version},
${project.build.finalName}.

But how can I access a list property, for example the version of a
specific dependency ?

<project ...>

  <version>...</version>

  ...

  <dependencies>

        ...

        <dependency>

            <groupId>junit</groupId>

            <artifactId>junit</artifactId>

            <version>3.8.1</version>

            <scope>test</scope>

        </dependency>

 ...

 

 

Regards,

Andreas

 

 

 

Reply via email to