In my project, I have a dependency on maven.
by the way it is:
<dependency> <groupId>org.mule.modules</groupId> <artifactId>mule-module-activiti</artifactId> <version>3.2.0</version> </dependency>
There is a property in this POM dependency that is used but not defined - ${activiti.version}
The only way to find this property is to specify it on the command line, for example mvn -Dactiviti.version=5.10
Is there a way to specify this property in my POM projects?
<properties><activiti.version>5.10</activiti.version></properties> does not work.
I hope I put the problem clear enough.
Thanks for the help.
EDIT:
The situation that I am trying to solve can be reproduced if you create a new maven project with a dependency:
<dependency> <groupId>org.mule.modules</groupId> <artifactId>mule-module-activiti</artifactId> <version>3.2.0</version> </dependency>
and provide the necessary repositories:
<repositories> <repository> <id>muleforge-repo</id> <name>MuleForge Repository</name> <url>http://repository.muleforge.org/release</url> <layout>default</layout> </repository> <repository> <id>codehaus-repo</id> <name>Codehaus Repository</name> <url>http://dist.codehaus.org/mule/dependencies/maven2</url> <layout>default</layout> </repository> <repository> <id>activiti</id> <name>Activiti</name> <url>https://maven.alfresco.com/nexus/content/groups/public/</url> </repository> </repositories>
EDIT 2:
Here is the POM for org.mule.modules: mule-module-activiti: 3.2.0 , my projects depend on me. Inside this pom, they use the expression ${activiti.version} . But they do not set a meaning for this expression. (there is nothing like <properties><activiti.version>5.10</activiti.version></properties> )
Question: how to set the value for this expression from my pom?
source share