I had tested the build, but not on a clean repo.
As a workaround, go to scr/support and build it, you should be able to
compile master after that.
It seems maven can not handle modules being dependencies of plugins, not
sure why.
I'll have a look and see how to refactor it into a goal in the karaf maven
plugin.

In the mean time, i'll disable SCR support so that master can build.




2014-02-19 11:42 GMT+01:00 Jean-Baptiste Onofré <[email protected]>:

> Sorry, it's not Freeman's change, it's Guillaume's change (commit
> 291d564eba4102a33ba79ff60a0777340ea07013 introducing the scr/support
> module).
>
> I'm fixing that anyway.
>
> Regards
> JB
>
>
> On 02/19/2014 11:32 AM, Jean-Baptiste Onofré wrote:
>
>> The build is broken again, this time due to Freeman's change:
>>
>> mvn clean install
>> [INFO] Scanning for projects...
>> [WARNING] The POM for
>> org.apache.karaf.scr:org.apache.karaf.scr.support:jar:3.0.1-SNAPSHOT is
>> missing, no dependency information available
>> [ERROR] The build could not read 1 project -> [Help 1]
>> [ERROR]
>> [ERROR]   The project
>> org.apache.karaf.scr:org.apache.karaf.scr.command:3.0.1-SNAPSHOT
>> (/home/jbonofre/workspace/karaf/karaf/scr/command/pom.xml) has 2 errors
>> [ERROR]     Unresolveable build extension: Plugin
>> org.apache.felix:maven-bundle-plugin:2.4.0 or one of its dependencies
>> could not be resolved: Failure to find
>> org.apache.karaf.scr:org.apache.karaf.scr.support:jar:3.0.1-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval
>> of apache.snapshots has elapsed or updates are forced -> [Help 2]
>> [ERROR]     Unknown packaging: bundle @ line 32, column 16
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>> [ERROR] [Help 2]
>> http://cwiki.apache.org/confluence/display/MAVEN/
>> PluginResolutionException
>>
>>
>> It means that no build has been try at all before pushing.
>>
>> @All, please, test your changes (at least a complete build with itests)
>> before pushing !!!
>>
>> I gonna fix it again.
>>
>> Regards
>> JB
>>
>> On 02/19/2014 11:28 AM, Jean-Baptiste Onofré wrote:
>>
>>> The build works for me.
>>>
>>> Do you have issue on your machine ?
>>> You mean on Jenkins ?
>>> If it's about Jenkins, I have push ready.
>>>
>>> Regards
>>> JB
>>>
>>>
>>> On 02/19/2014 11:23 AM, Filippo Balicchia wrote:
>>>
>>>> Thanks a lot Jb,
>>>> but probably at revison 76fec25e95b804f3212359b000e34328ccd18aed master
>>>> become instable.
>>>> if you can not, I try to do something this evening
>>>>
>>>> Thanks Again
>>>>
>>>> --Filippo
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2014-02-18 22:09 GMT+01:00 Jean-Baptiste Onofré <[email protected]>:
>>>>
>>>>  It's now fixed.
>>>>>
>>>>> Sorry for the inconvenience.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>>
>>>>> On 02/18/2014 09:54 PM, Jean-Baptiste Onofré wrote:
>>>>>
>>>>>  Hi all,
>>>>>>
>>>>>> FYI, the master compilation fails due to latest Guillaume's change
>>>>>> (commit 698c1398e5599d0e37feea4efe8d5654e8f47198):
>>>>>>
>>>>>> [ERROR] Failed to execute goal
>>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
>>>>>> (default-compile) on project karaf-maven-plugin: Compilation failure
>>>>>> [ERROR]
>>>>>> /home/jbonofre/workspace/karaf/karaf/tooling/karaf-
>>>>>> maven-plugin/src/main/java/org/apache/karaf/tooling/
>>>>>> features/InstallKarsMojo.java:[368,13]
>>>>>> org.apache.karaf.tooling.features.InstallKarsMojo.
>>>>>> OfflineFeaturesService
>>>>>>
>>>>>>
>>>>>> is not abstract and does not override abstract method
>>>>>> getRepositoryNames() in org.apache.karaf.features.FeaturesService
>>>>>>
>>>>>>
>>>>>> The FeaturesService interface has been changed to add two new methods:
>>>>>>
>>>>>>      public URI getRepositoryUriFor(String name, String version);
>>>>>>
>>>>>>      public String[] getRepositoryNames();
>>>>>>
>>>>>> but the OfflineFeaturesService implementation used in the
>>>>>> InstallKarMojo
>>>>>> has not been updated.
>>>>>>
>>>>>> I'm fixing that.
>>>>>>
>>>>>> Regards
>>>>>> JB
>>>>>>
>>>>>>
>>>>> --
>>>>> Jean-Baptiste Onofré
>>>>> [email protected]
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com
>>>>>
>>>>>
>>>>
>>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to