title: How to set properties referenced from dependencies in Maven
body: <p>In my project I've got maven dependency.<br />
  by the way it's:</p>
  <pre><code>&lt;dependency&gt;
     &lt;groupId&gt;org.mule.modules&lt;/groupId&gt;
     &lt;artifactId&gt;mule-module-activiti&lt;/artifactId&gt;
     &lt;version&gt;3.2.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>In this dependency POM there is a property that is used but not defined - <code>${activiti.version}</code></p>
  <p>The only way I found how to set this property is by specifying it on the command line like <code>mvn -Dactiviti.version=5.10</code></p>
  <p>Is there some way how to specify this property in my project's POM?<br />
  <code>&lt;properties&gt;&lt;activiti.version&gt;5.10&lt;/activiti.version&gt;&lt;/properties&gt;</code> doesn't work.</p>
  <p><strong>EDIT:</strong></p>
  <p>Situation I'm trying to solve can be reproduced if you create new maven project with dependency:</p>
  <pre><code>&lt;dependency&gt;
     &lt;groupId&gt;org.mule.modules&lt;/groupId&gt;
     &lt;artifactId&gt;mule-module-activiti&lt;/artifactId&gt;
     &lt;version&gt;3.2.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>and provide required repositories:</p>
  <pre><code>  &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;muleforge-repo&lt;/id&gt;
              &lt;name&gt;MuleForge Repository&lt;/name&gt;
              &lt;url&gt;http://repository.muleforge.org/release&lt;/url&gt;
              &lt;layout&gt;default&lt;/layout&gt;
          &lt;/repository&gt;
  
          &lt;repository&gt;
              &lt;id&gt;codehaus-repo&lt;/id&gt;
              &lt;name&gt;Codehaus Repository&lt;/name&gt;
              &lt;url&gt;http://dist.codehaus.org/mule/dependencies/maven2&lt;/url&gt;
              &lt;layout&gt;default&lt;/layout&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;activiti&lt;/id&gt;
              &lt;name&gt;Activiti&lt;/name&gt;
              &lt;url&gt;https://maven.alfresco.com/nexus/content/groups/public/&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  </code></pre>
  <p><strong>EDIT 2:</strong></p>
  <p>Here is a <a href="http://repository.muleforge.org/release/org/mule/modules/mule-module-activiti/3.2.0/mule-module-activiti-3.2.0.pom" rel="nofollow noreferrer">POM</a> for <strong>org.mule.modules:mule-module-activiti:3.2.0</strong>, library my projects depends on. Inside of this pom they use expression <code>${activiti.version}</code>. But they <strong>don't</strong> set value for this expression.  (there is nothing like <code>&lt;properties&gt;&lt;activiti.version&gt;5.10&lt;/activiti.version&gt;&lt;/properties&gt;</code>)</p>
  <p>The question is how can I set a value for this expression from <strong>my</strong> pom?</p>