I'm trying to integrate maven in a legacy build setup. The artifactId and version is defined in an external file build.properties used by the legacy setup
project.name = "foobar"
project.version = "1.0"
Basically what I want to do is to define my Maven artifactId and version based on the property variables
<artifactId>${project.name}</artifactId>
<version>${project.version}</version>
How do I accomplish this in Maven ?