title: Error:Failed to execute goal com.mycila.maven-license-plugin:1.9.0
body: <p>with reference of <a href="https://github.com/coder-huang/sso-shiro-cas/blob/master/cas/META-INF/maven/org.jasig.cas/cas-server-webapp/pom.xml" rel="nofollow noreferrer">Cas Server</a>
  source code project imported and configured POM.xml file as below there is no error in POM.xml file from command source project path with  mvn clean install entered command then below error I can see :</p>
  
  <blockquote>
    <p>Failed to execute goal com.mycila.maven-license-plugin:1.9.0 check
    (default)on project cas-server-webapp:Resource
    ${project.parent.basedir}/project_name/src/licensing/header.txt not
    found in file system .</p>
  </blockquote>
  
  <p>I have created manually to class Path header.txt and header-definitions.xml class path mentioned in POM.xml file properties.</p>
  
  <p><strong>failed:Error creating XMLDoc .Please verify that input source.</strong></p>
  
  <p><strong>POM.XML</strong></p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;parent&gt;
      &lt;groupId&gt;org.jasig.cas&lt;/groupId&gt;
      &lt;artifactId&gt;cas-server&lt;/artifactId&gt;
      &lt;version&gt;4.0.0&lt;/version&gt;
    &lt;/parent&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;artifactId&gt;cas-server-webapp&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;name&gt;Jasig CAS Web Application&lt;/name&gt;
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.jasig.cas&lt;/groupId&gt;
        &lt;artifactId&gt;cas-server-webapp-support&lt;/artifactId&gt;
        &lt;version&gt;${project.version}&lt;/version&gt;
        &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.springframework&lt;/groupId&gt;
        &lt;artifactId&gt;spring-expression&lt;/artifactId&gt;
        &lt;version&gt;${spring.version}&lt;/version&gt;
        &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
        &lt;artifactId&gt;jstl&lt;/artifactId&gt;
        &lt;version&gt;1.1.2&lt;/version&gt;
        &lt;type&gt;jar&lt;/type&gt;
        &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;taglibs&lt;/groupId&gt;
        &lt;artifactId&gt;standard&lt;/artifactId&gt;
        &lt;version&gt;1.1.2&lt;/version&gt;
        &lt;type&gt;jar&lt;/type&gt;
        &lt;scope&gt;runtime&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
     &lt;groupId&gt;com.sun&lt;/groupId&gt;
     &lt;artifactId&gt;tools&lt;/artifactId&gt;
     &lt;version&gt;1.8&lt;/version&gt;
     &lt;scope&gt;system&lt;/scope&gt;
     &lt;systemPath&gt;C:\Program Files\Java\jdk1.8.0_112\lib\tools.jar&lt;/systemPath&gt;
   &lt;/dependency&gt;
   &lt;dependency&gt;
    &lt;groupId&gt;com.puppycrawl.tools&lt;/groupId&gt;
    &lt;artifactId&gt;checkstyle&lt;/artifactId&gt;
    &lt;version&gt;6.9&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
       &lt;groupId&gt;com.mycila.maven-license-plugin&lt;/groupId&gt;
       &lt;artifactId&gt;maven-license-plugin&lt;/artifactId&gt;
       &lt;version&gt;1.9.0&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;/dependencies&gt;
    &lt;build&gt;
         &lt;plugins&gt;
         &lt;plugin&gt;
             &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
             &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
            &lt;configuration&gt;
           &lt;warName&gt;cas&lt;/warName&gt;
            &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt; 
            &lt;webResources&gt;
              &lt;resource&gt;
                &lt;directory&gt;${basedir}/src/main/webapp/WEB-INF&lt;/directory&gt;
                &lt;filtering&gt;true&lt;/filtering&gt;
                &lt;targetPath&gt;WEB-INF&lt;/targetPath&gt;
                &lt;includes&gt;
                  &lt;include&gt;**/web.xml&lt;/include&gt;
                &lt;/includes&gt;
              &lt;/resource&gt;
            &lt;/webResources&gt;
            &lt;/configuration&gt;
         &lt;/plugin&gt;  
         &lt;plugin&gt;
         &lt;artifactId&gt;maven-checkstyle-plugin&lt;/artifactId&gt;
         &lt;configuration&gt;
          &lt;skip&gt;true&lt;/skip&gt;
         &lt;/configuration&gt;
         &lt;/plugin&gt;
  &lt;/plugins&gt;
  
    &lt;/build&gt;  
    &lt;properties&gt;
        &lt;classPathEntry.location&gt;C:/Users/sameer/Downloads/sso-shiro-cas-master/sso-shiro-cas-master/cas/META-INF/maven/org.jasig.cas/cas-server-webapp/src/licensing/header.txt &lt;/classPathEntry.location&gt;
  
    &lt;classPathEntry.location&gt;C:/Users/sameer/Downloads/sso-shiro-cas-master/sso-shiro-cas-master/cas/META-INF/maven/org.jasig.cas/cas-server-webapp/src/licensing/header-definitions.xml&lt;/classPathEntry.location&gt;
  
  
    &lt;/properties&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qZd8z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qZd8z.png" alt="Maven POM.xml file dependencies"></a></p>