You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2009/04/30 17:12:28 UTC
Classifiers and properties
Pom for project A contains:
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<classifier>${bt.arch}</classifier>
</configuration>
</plugin>
Pom for project B contains:
<dependency>
<groupId>com.basistech</groupId>
<artifactId>utilities</artifactId>
<version>7.0-SNAPSHOT</version>
<classifier>${bt.arch}</classifier>
</dependency>
Pom for project C contains:
<dependency>
<groupId>com.basistech</groupId>
<artifactId>rlp</artifactId>
<version>7.0-SNAPSHOT</version>
</dependency>
Project C pom also contains setting for bt.arch.
Running mvn for project C (with only project C in reactor) fails, trying to
use the literal string ${bt.arch} to construct pathname. Running mvn
-Dbt.arch=whatever works.
Version is 2.0.9.
Is this normal/expected?