Re: [rules-users] maven drools compiler (plugin)
Ansgar, I am able to connect to the repository and start to download the dependencies. However it failed with this error. Any idea? Caused by: org.sonatype.aether.resolution.VersionRangeResolutionException: No versions available for org.easytesting:fest-assert:jar:[1.4, 2.0) within specified range at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:376) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) ... 26 more I am pointing to http://lightful.de/mvnrepo/public/releases/ with plugin version 0.2.4. Thanks Sean On Fri, Apr 6, 2012 at 9:35 AM, Sean Su sean.x...@gmail.com wrote: Ansgar, I tried the plugin yesterday before sending the email to the list but did not succeed. The problem, I believe, is the repository specification inside my pom. Could you send it over so that I can be sure? Thanks Sean On Fri, Apr 6, 2012 at 2:32 AM, Geoffrey De Smet ge0ffrey.s...@gmail.comwrote: ** Hey Ansgar, Your plugin is by far the best maven plugin for drools out there. Nice work. Would you be interested in moving the code into https://github.com/droolsjbpm/droolsjbpm-tools next to drools-ant? Advantages: - It would be released together with the rest of the drools, using the latest drools version - It would be automatically synced to maven central - It would get more exposure, as it will be documented in our documentation - Others (including us) will start improving it too Disadvantages: - At first, you 'd have to fork it and create pull requests to get your changes back into blessed (but I can guarantee I 'll merge any non-conflicting pull requests frequently and won't let them go stale) - We 'd need at least a few lines of documentation in: https://github.com/droolsjbpm/drools/tree/master/drools-docs/drools-expert-docs We can worry about the more advanced features (such as aether usage) later, just getting an official maven plugin for drools out there will help a lot of people. Op 05-04-12 23:01, Ansgar Konermann schreef: Am 05.04.2012 21:48 schrieb Sean Su sean.x...@gmail.com: Hello, guys, I did some search online and it seems we do not have any official plugin that allows us to compile Drools rules as part of the maven build. There is already a jira issue for it: https://issues.jboss.org/browse/JBRULES-1273 Result so far: http://passion.forco.de/content/maven-drools-plugin Feel free to try it and let me know if you miss anything. Best regards, Ansgar Is this the case or I have not found it yet? Thanks for the help. Sean -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users -- With kind regards, Geoffrey De Smet ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] maven drools compiler (plugin)
Hi Sean, thanks for giving it a try. Release 0.2.4 is horribly old. Latest release is 0.2.11. Could you retry with 0.2.11 and let me know how that works out? Best regards, Ansgar Am 14.04.2012 00:04 schrieb Sean Su sean.x...@gmail.com: Ansgar, I am able to connect to the repository and start to download the dependencies. However it failed with this error. Any idea? Caused by: org.sonatype.aether.resolution.VersionRangeResolutionException: No versions available for org.easytesting:fest-assert:jar:[1.4, 2.0) within specified range at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:376) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:544) at org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:240) ... 26 more I am pointing to http://lightful.de/mvnrepo/public/releases/ with plugin version 0.2.4. Thanks Sean On Fri, Apr 6, 2012 at 9:35 AM, Sean Su sean.x...@gmail.com wrote: Ansgar, I tried the plugin yesterday before sending the email to the list but did not succeed. The problem, I believe, is the repository specification inside my pom. Could you send it over so that I can be sure? Thanks Sean On Fri, Apr 6, 2012 at 2:32 AM, Geoffrey De Smet ge0ffrey.s...@gmail.com wrote: ** Hey Ansgar, Your plugin is by far the best maven plugin for drools out there. Nice work. Would you be interested in moving the code into https://github.com/droolsjbpm/droolsjbpm-tools next to drools-ant? Advantages: - It would be released together with the rest of the drools, using the latest drools version - It would be automatically synced to maven central - It would get more exposure, as it will be documented in our documentation - Others (including us) will start improving it too Disadvantages: - At first, you 'd have to fork it and create pull requests to get your changes back into blessed (but I can guarantee I 'll merge any non-conflicting pull requests frequently and won't let them go stale) - We 'd need at least a few lines of documentation in: https://github.com/droolsjbpm/drools/tree/master/drools-docs/drools-expert-docs We can worry about the more advanced features (such as aether usage) later, just getting an official maven plugin for drools out there will help a lot of people. Op 05-04-12 23:01, Ansgar Konermann schreef: Am 05.04.2012 21:48 schrieb Sean Su sean.x...@gmail.com: Hello, guys, I did some search online and it seems we do not have any official plugin that allows us to compile Drools rules as part of the maven build. There is already a jira issue for it: https://issues.jboss.org/browse/JBRULES-1273 Result so far: http://passion.forco.de/content/maven-drools-plugin Feel free to try it and let me know if you miss anything. Best regards, Ansgar Is this the case or I have not found it yet? Thanks for the help. Sean -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users -- With kind regards, Geoffrey De Smet ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ 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
Re: [rules-users] maven drools compiler (plugin)
Just tried, and got the same error. Here is the full error log in case it helps: [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [ERROR] The build could not read 1 project - [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () @ at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [ERROR] [ERROR] The project activehealth.careengin:eventprocessing:1.0.1-SNAPSHOT (/home/XSu/workspace/trunk/dev/java/eventprocessing/pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 (): No versions available for org.easytesting:fest-assert:jar:[1.4, 2.0) within specified range - [Help 2] org.apache.maven.plugin.PluginResolutionException: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:211) at org.apache.maven.project.DefaultProjectBuildingHelper.resolveExtensionArtifacts(DefaultProjectBuildingHelper.java:377) at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:237) at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:106) at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:43) at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1053) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:388) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:560) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:352) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.sonatype.aether.collection.DependencyCollectionException: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () at
Re: [rules-users] maven drools compiler (plugin)
I have extensionstrue/extensions which may have caused the problem. trying without it. On Fri, Apr 13, 2012 at 6:15 PM, Sean Su sean.x...@gmail.com wrote: Just tried, and got the same error. Here is the full error log in case it helps: [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [ERROR] The build could not read 1 project - [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () @ at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [ERROR] [ERROR] The project activehealth.careengin:eventprocessing:1.0.1-SNAPSHOT (/home/XSu/workspace/trunk/dev/java/eventprocessing/pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 (): No versions available for org.easytesting:fest-assert:jar:[1.4, 2.0) within specified range - [Help 2] org.apache.maven.plugin.PluginResolutionException: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:211) at org.apache.maven.project.DefaultProjectBuildingHelper.resolveExtensionArtifacts(DefaultProjectBuildingHelper.java:377) at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:237) at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:106) at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:43) at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1053) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:388) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:560) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:352) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at
Re: [rules-users] maven drools compiler (plugin)
Yes, that was the reason. I will provide more feedback along with the testing. Thanks Sean On Fri, Apr 13, 2012 at 6:18 PM, Sean Su sean.x...@gmail.com wrote: I have extensionstrue/extensions which may have caused the problem. trying without it. On Fri, Apr 13, 2012 at 6:15 PM, Sean Su sean.x...@gmail.com wrote: Just tried, and got the same error. Here is the full error log in case it helps: [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [ERROR] The build could not read 1 project - [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () @ at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [ERROR] [ERROR] The project activehealth.careengin:eventprocessing:1.0.1-SNAPSHOT (/home/XSu/workspace/trunk/dev/java/eventprocessing/pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 (): No versions available for org.easytesting:fest-assert:jar:[1.4, 2.0) within specified range - [Help 2] org.apache.maven.plugin.PluginResolutionException: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:211) at org.apache.maven.project.DefaultProjectBuildingHelper.resolveExtensionArtifacts(DefaultProjectBuildingHelper.java:377) at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:237) at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:106) at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:43) at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1053) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:388) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:560) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:352) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at
Re: [rules-users] maven drools compiler (plugin)
Am 14.04.2012 00:18 schrieb Sean Su sean.x...@gmail.com: I have extensionstrue/extensions which may have caused the problem. That's alright. trying without it. It's required, otherwise you won't be able to specify packaging knowledge-module. Looking at error log... Ansgar On Fri, Apr 13, 2012 at 6:15 PM, Sean Su sean.x...@gmail.com wrote: Just tried, and got the same error. Here is the full error log in case it helps: [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [ERROR] The build could not read 1 project - [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () @ at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [ERROR] [ERROR] The project activehealth.careengin:eventprocessing:1.0.1-SNAPSHOT (/home/XSu/workspace/trunk/dev/java/eventprocessing/pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 (): No versions available for org.easytesting:fest-assert:jar:[1.4, 2.0) within specified range - [Help 2] org.apache.maven.plugin.PluginResolutionException: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:211) at org.apache.maven.project.DefaultProjectBuildingHelper.resolveExtensionArtifacts(DefaultProjectBuildingHelper.java:377) at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:237) at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:106) at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:43) at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1053) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:388) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:560) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:352) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at
Re: [rules-users] maven drools compiler (plugin)
Am 14.04.2012 00:15 schrieb Sean Su sean.x...@gmail.com: Just tried, and got the same error. Here is the full error log in case it helps: [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [ERROR] The build could not read 1 project - [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () @ at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [ERROR] [ERROR] The project activehealth.careengin:eventprocessing:1.0.1-SNAPSHOT (/home/XSu/workspace/trunk/dev/java/eventprocessing/pom.xml) has 1 error [ERROR] Unresolveable build extension: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 (): No versions available for org.easytesting:fest-assert:jar:[1.4, 2.0) within specified range - [Help 2] Strange. Can you resolve the artifact org.easytesting:fest-assert:1.3:jar and/or 1.4? Try adding it to any pom and run a maven phase where that dependency is used. Fest 1.3 has wrong checksums for some of its transitive dependencies, so a repository manager might refuse to deliver the artifacts, depending on the checksum policy which it has configured. Do you use a repo manager at all? Ansgar org.apache.maven.plugin.PluginResolutionException: Plugin de.lightful.maven.plugins:maven-drools-plugin:0.2.11 or one of its dependencies could not be resolved: Failed to collect dependencies for de.lightful.maven.plugins:maven-drools-plugin:jar:0.2.11 () at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:211) at org.apache.maven.project.DefaultProjectBuildingHelper.resolveExtensionArtifacts(DefaultProjectBuildingHelper.java:377) at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm(DefaultProjectBuildingHelper.java:237) at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled(DefaultModelBuildingListener.java:106) at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire(ModelBuildingEventCatapult.java:43) at org.apache.maven.model.building.DefaultModelBuilder.fireEvent(DefaultModelBuilder.java:1053) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:388) at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:371) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:560) at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:352) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
Re: [rules-users] maven drools compiler (plugin)
Am 06.04.2012 15:35, schrieb Sean Su: Ansgar, I tried the plugin yesterday before sending the email to the list but did not succeed. The problem, I believe, is the repository specification inside my pom. Could you send it over so that I can be sure? Hi Sean, could you paste the respective repo specification you're currently using? You should be using this URL: http://lightful.de/mvnrepo/public/ inside a pluginRepository stanza in your settings.xml Best regards Ansgar Thanks Sean On Fri, Apr 6, 2012 at 2:32 AM, Geoffrey De Smet ge0ffrey.s...@gmail.com mailto:ge0ffrey.s...@gmail.com wrote: Hey Ansgar, Your plugin is by far the best maven plugin for drools out there. Nice work. Would you be interested in moving the code into https://github.com/droolsjbpm/droolsjbpm-tools next to drools-ant? Advantages: - It would be released together with the rest of the drools, using the latest drools version - It would be automatically synced to maven central - It would get more exposure, as it will be documented in our documentation - Others (including us) will start improving it too Disadvantages: - At first, you 'd have to fork it and create pull requests to get your changes back into blessed (but I can guarantee I 'll merge any non-conflicting pull requests frequently and won't let them go stale) - We 'd need at least a few lines of documentation in: https://github.com/droolsjbpm/drools/tree/master/drools-docs/drools-expert-docs We can worry about the more advanced features (such as aether usage) later, just getting an official maven plugin for drools out there will help a lot of people. Op 05-04-12 23:01, Ansgar Konermann schreef: Am 05.04.2012 21:48 schrieb Sean Su sean.x...@gmail.com mailto:sean.x...@gmail.com: Hello, guys, I did some search online and it seems we do not have any official plugin that allows us to compile Drools rules as part of the maven build. There is already a jira issue for it: https://issues.jboss.org/browse/JBRULES-1273 Result so far: http://passion.forco.de/content/maven-drools-plugin Feel free to try it and let me know if you miss anything. Best regards, Ansgar Is this the case or I have not found it yet? Thanks for the help. Sean -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ rules-users mailing list rules-users@lists.jboss.org mailto:rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org mailto:rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- With kind regards, Geoffrey De Smet ___ rules-users mailing list rules-users@lists.jboss.org mailto:rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ 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
Re: [rules-users] maven drools compiler (plugin)
Hey Ansgar, Your plugin is by far the best maven plugin for drools out there. Nice work. Would you be interested in moving the code into https://github.com/droolsjbpm/droolsjbpm-tools next to drools-ant? Advantages: - It would be released together with the rest of the drools, using the latest drools version - It would be automatically synced to maven central - It would get more exposure, as it will be documented in our documentation - Others (including us) will start improving it too Disadvantages: - At first, you 'd have to fork it and create pull requests to get your changes back into blessed (but I can guarantee I 'll merge any non-conflicting pull requests frequently and won't let them go stale) - We 'd need at least a few lines of documentation in: https://github.com/droolsjbpm/drools/tree/master/drools-docs/drools-expert-docs We can worry about the more advanced features (such as aether usage) later, just getting an official maven plugin for drools out there will help a lot of people. Op 05-04-12 23:01, Ansgar Konermann schreef: Am 05.04.2012 21:48 schrieb Sean Su sean.x...@gmail.com mailto:sean.x...@gmail.com: Hello, guys, I did some search online and it seems we do not have any official plugin that allows us to compile Drools rules as part of the maven build. There is already a jira issue for it: https://issues.jboss.org/browse/JBRULES-1273 Result so far: http://passion.forco.de/content/maven-drools-plugin Feel free to try it and let me know if you miss anything. Best regards, Ansgar Is this the case or I have not found it yet? Thanks for the help. Sean -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ rules-users mailing list rules-users@lists.jboss.org mailto: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 -- With kind regards, Geoffrey De Smet ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] maven drools compiler (plugin)
I have two comments in connection with this Maven plugin: * The documentation only mentions .drl as input. I can see that users will ask for (at leasT) .dsl/.dslr and .xls. * Type .dkm is introduced, but isn't this the same as ResourceType.PKG, for which the file type .pkg could have been used. Or was .dkm introduced to avoid a clash with the Apple type .pkg? Not likely. A match between file type and ResourceType would avoid confusion. Thanks -W On 06/04/2012, Geoffrey De Smet ge0ffrey.s...@gmail.com wrote: Hey Ansgar, Your plugin is by far the best maven plugin for drools out there. Nice work. Would you be interested in moving the code into https://github.com/droolsjbpm/droolsjbpm-tools next to drools-ant? Advantages: - It would be released together with the rest of the drools, using the latest drools version - It would be automatically synced to maven central - It would get more exposure, as it will be documented in our documentation - Others (including us) will start improving it too Disadvantages: - At first, you 'd have to fork it and create pull requests to get your changes back into blessed (but I can guarantee I 'll merge any non-conflicting pull requests frequently and won't let them go stale) - We 'd need at least a few lines of documentation in: https://github.com/droolsjbpm/drools/tree/master/drools-docs/drools-expert-docs We can worry about the more advanced features (such as aether usage) later, just getting an official maven plugin for drools out there will help a lot of people. Op 05-04-12 23:01, Ansgar Konermann schreef: Am 05.04.2012 21:48 schrieb Sean Su sean.x...@gmail.com mailto:sean.x...@gmail.com: Hello, guys, I did some search online and it seems we do not have any official plugin that allows us to compile Drools rules as part of the maven build. There is already a jira issue for it: https://issues.jboss.org/browse/JBRULES-1273 Result so far: http://passion.forco.de/content/maven-drools-plugin Feel free to try it and let me know if you miss anything. Best regards, Ansgar Is this the case or I have not found it yet? Thanks for the help. Sean -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ rules-users mailing list rules-users@lists.jboss.org mailto: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 -- With kind regards, Geoffrey De Smet ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] maven drools compiler (plugin)
Ansgar, I tried the plugin yesterday before sending the email to the list but did not succeed. The problem, I believe, is the repository specification inside my pom. Could you send it over so that I can be sure? Thanks Sean On Fri, Apr 6, 2012 at 2:32 AM, Geoffrey De Smet ge0ffrey.s...@gmail.comwrote: ** Hey Ansgar, Your plugin is by far the best maven plugin for drools out there. Nice work. Would you be interested in moving the code into https://github.com/droolsjbpm/droolsjbpm-tools next to drools-ant? Advantages: - It would be released together with the rest of the drools, using the latest drools version - It would be automatically synced to maven central - It would get more exposure, as it will be documented in our documentation - Others (including us) will start improving it too Disadvantages: - At first, you 'd have to fork it and create pull requests to get your changes back into blessed (but I can guarantee I 'll merge any non-conflicting pull requests frequently and won't let them go stale) - We 'd need at least a few lines of documentation in: https://github.com/droolsjbpm/drools/tree/master/drools-docs/drools-expert-docs We can worry about the more advanced features (such as aether usage) later, just getting an official maven plugin for drools out there will help a lot of people. Op 05-04-12 23:01, Ansgar Konermann schreef: Am 05.04.2012 21:48 schrieb Sean Su sean.x...@gmail.com: Hello, guys, I did some search online and it seems we do not have any official plugin that allows us to compile Drools rules as part of the maven build. There is already a jira issue for it: https://issues.jboss.org/browse/JBRULES-1273 Result so far: http://passion.forco.de/content/maven-drools-plugin Feel free to try it and let me know if you miss anything. Best regards, Ansgar Is this the case or I have not found it yet? Thanks for the help. Sean -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users -- With kind regards, Geoffrey De Smet ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] maven drools compiler (plugin)
I don't think there's anything official like that, after all the rules are compiled at runtime... If you want to configure the set of resources to be loaded from outside the java code you can use a changeset resource Davide -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-maven-drools-compiler-plugin-tp3888418p3888531.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] maven drools compiler (plugin)
Am 05.04.2012 21:48 schrieb Sean Su sean.x...@gmail.com: Hello, guys, I did some search online and it seems we do not have any official plugin that allows us to compile Drools rules as part of the maven build. There is already a jira issue for it: https://issues.jboss.org/browse/JBRULES-1273 Result so far: http://passion.forco.de/content/maven-drools-plugin Feel free to try it and let me know if you miss anything. Best regards, Ansgar Is this the case or I have not found it yet? Thanks for the help. Sean -- But beware of the Dark Side. Anger, fear, aggression - the Dark Side of the Force are they. -Yoda ___ 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