Bug 1287604
Summary: | KieScanner not scanning custom maven repository from web app (Cool Store) | ||
---|---|---|---|
Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Eric D. Schabell <eschabel> |
Component: | BRE | Assignee: | Mario Fusco <mfusco> |
Status: | CLOSED NOTABUG | QA Contact: | Marek Winkler <mwinkler> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2.0 | CC: | eschabel, lpetrovi |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-03 09:50:14 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eric D. Schabell
2015-12-02 12:22:39 UTC
Hi Eric, I am trying to reproduce the issue, I noticed that you replaced the property 'kie.maven.settings.custom' with 'org.guvnor.m2repo.dir' in standalone.xml - please see [1]. Was this intentional? I am asking because this could have impact on KIE-Scanner. I am currently following your instructions to reproduce it, will let you know the results hopefully in a couple of minutes. Thanks, Marek [1] https://github.com/jbossdemocentral/brms-coolstore-demo/commit/3bc06f19330292ac873bb8055deeb38ce8c78571#diff-715268aa5e98482a75357fd7d4693cf8L36 (In reply to Marek Winkler from comment #2) > Hi Eric, > > I am trying to reproduce the issue, I noticed that you replaced the property > 'kie.maven.settings.custom' with 'org.guvnor.m2repo.dir' in standalone.xml - > please see [1]. Was this intentional? I am asking because this could have > impact on KIE-Scanner. > > I am currently following your instructions to reproduce it, will let you > know the results hopefully in a couple of minutes. > > Thanks, > > Marek > > [1] > https://github.com/jbossdemocentral/brms-coolstore-demo/commit/ > 3bc06f19330292ac873bb8055deeb38ce8c78571#diff- > 715268aa5e98482a75357fd7d4693cf8L36 > Good catch, re-testing now. I managed to make the demo work as expected, I had to: 1. update the BxMS version: <jboss.brms.version>6.2.0.GA-redhat-1</jboss.brms.version> 2. since the demo app is using a kjar which includes Guided Decision Tables, the demo app must include the following dependency (new in BxMS 6.2 - I think this should be documented!): <dependency> <groupId>org.drools</groupId> <artifactId>drools-workbench-models-guided-dtable</artifactId> </dependency> 3. add missing kie.maven.settings.custom property to standalone.xml. The shipping cost in the demo app gets updated when I change it in business-central and build and deploy the project. I have created a PR [1] with the above changes, please re-test and let me know if there are any issues, thanks! If it works for you, we could close this BZ. [1] https://github.com/jbossdemocentral/brms-coolstore-demo/pull/41 Applied PR, testing but when changes made to decision table, getting no rules applied to shipping and it remains $0. Should be the new adjusted shipping price. The maven repo is not setup in /tmp/maven-repo/* correctly, the scanner says in log it picks up new initial builds and also if bumping the 2.0.0 -> 3.0.0 (or any other version)... Same behavior still as reported. |