title: No DRL files found for the KieBase, using kmodule.xml
body: <p>I'm developing a Maven project using java and Drools 6.2.0, and I'm trying to "bind" a certain DRL file to a KieBase through the kmodule.xml file, but I keep getting the error</p>
  
  <pre><code>WARN org.drools.compiler.kie.builder.impl.AbstractKieModule - No files found for KieBase
  </code></pre>
  
  <p>when running the project.</p>
  
  <p>I think I've configured everything the right way, as shown in the <a href="http://docs.jboss.org/drools/release/6.2.0.Final/drools-docs/html/ch04.html#KIEBuildingSection" rel="nofollow" title="Chapter 4.2.2">documentation</a> (Chapter 4.2.2 - Overview - Build, Deploy, Utilize and Run - Building), but can't see where is my mistake.</p>
  
  <p>In this project, I think it's not an option for me to declare/configure Drools by coding, due to the project architecture, that's why I'm using the kmodule.xml approach.</p>
  
  <p>Any suggestion is welcome.</p>
  
  <hr>
  
  <p>My kmodule.xml (location: src/main/resources/META-INF):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;kmodule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns="http://jboss.org/kie/6.0.0/kmodule"&gt;
      &lt;kbase name="departureKB" packages="com.site.myapp.checks.departure"&gt;
          &lt;ksession name="departureKS" type="stateless" /&gt;
      &lt;/kbase&gt;
  &lt;/kmodule&gt;
  </code></pre>
  
  <p>My DRL file (dummy) (location: src/main/resources/com/site/myapp/checks/departure):</p>
  
  <pre><code>package com.site.myapp.checks.departure
  
  rule "my rule 1"
      when
          // some conditions
      then
          // something to do
  end
  </code></pre>
  
  <p>My class Departure (only the Drools code) (location: src/com/site/myapp/checks):</p>
  
  <pre><code>channelName = "departure";
  KieServices ks = KieServices.Factory.get();
  KieContainer kc = ks.getKieClasspathContainer();
  String kSessionName = channelName+"KS";
  kSession = kc.newStatelessKieSession(kSessionName);
  </code></pre>
  
  <p>My pom.xml (only the Drools dependencies) :</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.drools&lt;/groupId&gt;
      &lt;artifactId&gt;drools-bom&lt;/artifactId&gt;
      &lt;version&gt;6.2.0.Final&lt;/version&gt;
      &lt;type&gt;pom&lt;/type&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.kie&lt;/groupId&gt;
      &lt;artifactId&gt;kie-api&lt;/artifactId&gt;
      &lt;version&gt;6.2.0.Final&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.drools&lt;/groupId&gt;
      &lt;artifactId&gt;drools-compiler&lt;/artifactId&gt;
      &lt;version&gt;6.2.0.Final&lt;/version&gt;
      &lt;scope&gt;runtime&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.drools&lt;/groupId&gt;
      &lt;artifactId&gt;named-kiesession&lt;/artifactId&gt;
      &lt;version&gt;6.2.0.Final&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>