.writePomXML( generatePomXml( releaseId ) )
.write( "src/main/resources/KBase1/test-dsl.dsl", createDSL() )
.write( "src/main/resources/KBase1/test-rule.dslr", createDRL() );
final KieBuilder kieBuilder = ks.newKieBuilder( kfs );
final List<Message> messages = kieBuilder.buildAll().getResults().getMessages();
if ( !messages.isEmpty() ) {
for ( final Message m : messages ) {
System.out.println( m.getText() );
}
}