title: Unable to validate pom.xml of a mule application in SonarQube
body: <p>I am using SonarQube to validate artifactId, modelVersion etc in pom.xml file for a mule application.To validate these nodes, I have build some rules in SonarQube.but seems,POM rules are not working.Here is my pom xml and code rules.</p>
  <pre><code>&lt;rule id =&quot;2&quot; name=&quot;Pom Model Version should be 4.0.0&quot;
          description=&quot;Pom Model Version should be 4.0.0&quot;
          severity=&quot;MAJOR&quot; type=&quot;code_smell&quot;&gt;
  
      //*[local-name()='project']/*[local-name()='modelVersion']= '4.0.0'
              
  &lt;/rule&gt;  
  
  &lt;rule id=&quot;3&quot; name=&quot;Application Name is too long ok&quot;
          description=&quot;Application Name is too long, give a proper name&quot;
          severity=&quot;MAJOR&quot; applies=&quot;application&quot; type=&quot;code_smell&quot;&gt;
  
      string-length(//*[local-name()='project' ]/*[local-name()='artifactId'])&gt;20
  
  &lt;/rule&gt;
  
  &lt;rule id =&quot;4&quot; name=&quot;Mule Runtime Version should be 4.2.0&quot;
          description=&quot;Mule Runtime Version should be 4.2.0&quot;
          severity=&quot;MAJOR&quot; type=&quot;code_smell&quot;&gt;
  
      //*[local-name()='project']/*[local-name()='properties']/*[local-name()='app.runtime']= '4.2.0'
  
  &lt;/rule&gt;         
  </code></pre>
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;com.mycompany&lt;/groupId&gt;
      &lt;artifactId&gt;security&lt;/artifactId&gt;
      &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;mule-application&lt;/packaging&gt;
  
      &lt;name&gt;security-token-project&lt;/name&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
  
          &lt;app.runtime&gt;4.3.0-20201013&lt;/app.runtime&gt;
          &lt;mule.maven.plugin.version&gt;3.3.5&lt;/mule.maven.plugin.version&gt;
          &lt;sonar.sources&gt;/&lt;/sonar.sources&gt;
      &lt;/properties&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.0.0&lt;/version&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.mule.tools.maven&lt;/groupId&gt;
                  &lt;artifactId&gt;mule-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${mule.maven.plugin.version}&lt;/version&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mule.connectors&lt;/groupId&gt;
              &lt;artifactId&gt;mule-http-connector&lt;/artifactId&gt;
              &lt;version&gt;1.5.22&lt;/version&gt;
              &lt;classifier&gt;mule-plugin&lt;/classifier&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mule.connectors&lt;/groupId&gt;
              &lt;artifactId&gt;mule-sockets-connector&lt;/artifactId&gt;
              &lt;version&gt;1.2.0&lt;/version&gt;
              &lt;classifier&gt;mule-plugin&lt;/classifier&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;anypoint-exchange-v2&lt;/id&gt;
              &lt;name&gt;Anypoint Exchange&lt;/name&gt;
              &lt;url&gt;https://maven.anypoint.mulesoft.com/api/v2/maven&lt;/url&gt;
              &lt;layout&gt;default&lt;/layout&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;mulesoft-releases&lt;/id&gt;
              &lt;name&gt;MuleSoft Releases Repository&lt;/name&gt;
              &lt;url&gt;https://repository.mulesoft.org/releases/&lt;/url&gt;
              &lt;layout&gt;default&lt;/layout&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;mulesoft-releases&lt;/id&gt;
              &lt;name&gt;mulesoft release repository&lt;/name&gt;
              &lt;layout&gt;default&lt;/layout&gt;
              &lt;url&gt;https://repository.mulesoft.org/releases/&lt;/url&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
  &lt;/project&gt;
  </code></pre>
  <p>My other rules to validate other xml files are working but above three rules are not working as expected.</p>