<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Turn it into a maven recognised JAR, manually place a pom.properties in the JARs META-INF. You don’t need to convert it to a maven project, with a pom.xml in the source, or build it with maven.<div><br></div><div>Then look at the build/deploy/utiize example "4.2.5.6. Default KieSession from File"</div><div><a href="http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/KIEChapter.html#KIEOverviewSection">http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/KIEChapter.html#KIEOverviewSection</a></div><div><br></div><div>pom.properties:</div><div><ul style="color: rgb(51, 51, 51); font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11px; background-color: rgb(223, 227, 219);"><li style="font-size: 12px;">A&nbsp;<a href="http://maven.apache.org/shared/maven-archiver/#pom-properties-content" style="text-decoration: none; color: rgb(102, 136, 170);">pom.properties</a>&nbsp;file, located in the archive in&nbsp;<tt>META-INF/maven/${groupId}/${artifactId}/pom.properties</tt></li></ul><div><br></div></div><div>The fiel contents contains 3 lines:</div><div><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; font-size: 13px; background-color: rgb(255, 255, 255); position: static; z-index: auto;">version=${project.version}
groupId=${project.groupId}
artifactId=${project.artifactId}
        </pre></div><div>If your company restricts you from placing a single pom.properties in a jar, you’ll have to manually build a KieModule at runtime - similar to the old pragmatic KnowledegBuilder code. See "4.2.5.10. Programaticaly build a KieModule using Meta Models"</div><div><div><br></div><div>Mark<br><div><div>On 25 Nov 2013, at 11:19, captainrhino &lt;<a href="mailto:graeme.kitchen@axa-travel-insurance.com">graeme.kitchen@axa-travel-insurance.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">If I have a standard non maven web project whats the best way to integrate a<br>very simple &nbsp;stateless session call to all the new KIW-WB interfaces as due<br>to company restrtaioctions I cannot convert my non-maven web project?<br><br><br><br>--<br>View this message in context: <a href="http://drools.46999.n3.nabble.com/Drools-6-Unable-to-build-index-of-kmodule-xml-tp4026791p4026910.html">http://drools.46999.n3.nabble.com/Drools-6-Unable-to-build-index-of-kmodule-xml-tp4026791p4026910.html</a><br>Sent from the Drools: User forum mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users<br></blockquote></div><br></div></div></body></html>