Are you building the project in the Workbench after your rule changes? On Tue, 18 Feb 2020, 08:26 suriya devan, <suriyaade...@gmail.com> wrote:
> > Hello All, > > I am using a drool version 7.x. I am able to get KieScanner to work on my > local maven repository using "LATEST". But everytime I update the rules on > workbench, I have to manually run mvn install in order to update my local > repository so that KieScanner can pickup the changes. Is that how it is? Or > is it possible to force a download every time the scanner runs? > > I need to fetch the latest jars from my custom repo. > > My configuration > > > KieServices ks = KieServices.Factory.get(); > ReleaseId releaseId = ks.newReleaseId( "com.test", "poc", "LATEST" ); > > KieContainer kContainer = ks.newKieContainer(releaseId); > KieScanner kieScanner = ks.newKieScanner(kContainer); > > kieScanner.start( 10000L ); > > Scanner scanner = new Scanner(System.in); > > while (true) { > kieScanner.scanNow(); > String line = scanner.nextLine(); > runRule(kContainer); > }} > > > > I have configured my custom repo in maven confg settings file. . But no luck > > > <profile> > <id>development</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > <repositories> > <repository> > <id>customRepo</id> > <url>https:// > > customRepo > > </url> > <releases> > <enabled>false</enabled> > <updatePolicy>always</updatePolicy> > </releases> > <snapshots> > <enabled>true</enabled> > <updatePolicy>always</updatePolicy> > </snapshots> > </repository> > </repositories> > </profile> > </profiles> > > > <activeProfiles> > <activeProfile>development</activeProfile> > </activeProfiles> > > Any one please advise to resolve the issue? > > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users