Re: [rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread marjan.sterjev
KieScanner behaves the same with SNAPSHOT versions. Maybe I'm doing something wrong -- View this message in context: http://drools.46999.n3.nabble.com/KIE-Internal-M2-Repository-Access-Denied-tp4027058p4027074.html Sent from the Drools: User forum mailing list archive at Nabble.com. _

Re: [rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread Mark Proctor
You can work around this now by having a wrapper project. All to does is have a single maven dependency on the target project, and in that you specify your maven version ranges. Mark On 3 Dec 2013, at 14:30, Mario Fusco wrote: > Hi, > > the problem with the last code you pasted is that you'

Re: [rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread Mario Fusco
Hi, the problem with the last code you pasted is that you're passing to the KieContainer a ReleaseId with a fixed non-snapshot version. Version 1.0.0 can be installed only once in a maven repository so the KieScanner assumes there's no need to do a further scan. To overcome this problem you should

Re: [rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread marjan.sterjev
Thank you. It works now with the security exclusion applied. Let's move on. The documentation says that KieScanner can scan local and remote repositories. However I can't get it works. Consider this simple program that tries to dynamically load rules jar that is not referenced in the project's po

Re: [rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread Michael Anstis
Hi, I've looked into what you report; and it does indeed appear we have a small issue ;) For now you can amend the /WEB-INF/classes/url_filter.yaml file in the WAR to remove the Maven Repository from authentication (see the exclusion below):- filter: - pattern: /rest/** exclude: - /*.ico

[rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread marjan.sterjev
I have installed drools-wb-6.0.0.Final-tomcat7.0 on Tomcat 7.0 with all default settings. The OS platform is windows 7. I’m trying to access the internal KIE M2-Repository in order to dynamically load (re-load with KieScanner) Kie Modules. The repository is defined in the POM the following way: