Am 14.04.2012 00:18 schrieb "Sean Su" <sean.x.su@gmail.com>:
>
> I have "<extensions>true</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.su@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 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 org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:258)
>>     at org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:308)
>>     at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:199)
>>     ... 24 more
>>
>> 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
>>
>> On Fri, Apr 13, 2012 at 6:09 PM, Ansgar Konermann <ansgar.konermann@googlemail.com> wrote:
>>>
>>> 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.su@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.su@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.spam@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.su@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
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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
>>>
>>
>>
>>
>> --
>> "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
>