Home » Archived » B3 » Maven2 Repositories
| | | | |
Re: Maven2 Repositories [message #542625 is a reply to message #542587] |
Fri, 25 June 2010 13:23 |
Filip Hrbek Messages: 233 Registered: July 2009 |
Senior Member |
|
|
Hi Kevin,
maven integration in the b3 aggregator has not been much tested yet so any feedback is very important for us! Thank you for your report.
The problem is obviously in the maven-metadata.xml syntax. When I wrote the code I could not find any official XML schema for maven-metadata files. So I took an "unofficial" one (don't remember exactly who wrote it originally) and converted into an EMF model. This model does not contain the "latest" tag/attribute definition but your file does. That's it. My model contains "release" attribute instead. If you are sure that your files is correct I can add it to the model as an optional feature. Ideally, if you know where to find 100% correct schema for this file, send me a link :-)
Could you at least provide an example of your maven-metadata.xml file so that I could test the modification?
Filip
Kevin wrote:
> Hi,
> I'm also having problems working with a maven repo.
> The repository appears to load, but no 'Installable Units' are listed in
> the editor.
> In the .metadata/.log, there is message for each maven artifact:
>
> !ENTRY org.eclipse.b3.util ......
> !MESSAGE org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature
> 'latest' not found.
> (http://ourmavenhost/groupid/artifactid/maven-metadata.xml, 7,13)
>
> p2 side of things is working fine...
> Using helios, b3 0.1.0r01053
>
> There doesn't seem to be as much detail in the documentation for maven
> repos, any help is appreciated.
> Thanks,
> Kevin
|
|
| |
Re: Maven2 Repositories [message #544720 is a reply to message #540840] |
Mon, 05 July 2010 10:59 |
Marko Espig Messages: 19 Registered: July 2009 |
Junior Member |
|
|
It doesn't produce errors, but there are no IU's.
Regards
Marko Espig
Am 17.06.2010 15:04, schrieb Henrik Lindberg:
> Did that test work or fail?
> - henrik
> On 6/17/10 9:57 AM, Marko Espig wrote:
>> Hi Filip,
>>
>> After no success with our company repo, I tried a local repository with
>> about 200 MB and also tried to limit artifacts to about 18 MB. I just
>> added the m2 repository to an b3aggr configuration.
>>
>> Thanks an kind regards
>>
>> Marko
>>
>>
>>
>> Am 01.06.2010 16:02, schrieb Filip Hrbek:
>>> How big is your repo? Could you provide a sample?
>>> A load of a large repository is supposed to run for a reasonable time.
>>>
>>> Filip
>>>
>>>
>>> Marko Espig wrote:
>>>> Hi,
>>>>
>>>> has anyone tried to load a maven2 Repository with success. b3
>>>> aggregator
>>>> is loading, but never finished, even a local m2 repo.
>>>>
>>>>
>>>> Kind regards
>>>>
>>>> Marko Espig
>>>>
>>>
>>>
>>
>
>
|
|
| | | | | | | |
Re: Maven2 Repositories [message #611386 is a reply to message #542587] |
Fri, 25 June 2010 13:23 |
Filip Hrbek Messages: 233 Registered: July 2009 |
Senior Member |
|
|
Hi Kevin,
maven integration in the b3 aggregator has not been much tested yet so any feedback is very important for us! Thank you for your report.
The problem is obviously in the maven-metadata.xml syntax. When I wrote the code I could not find any official XML schema for maven-metadata files. So I took an "unofficial" one (don't remember exactly who wrote it originally) and converted into an EMF model. This model does not contain the "latest" tag/attribute definition but your file does. That's it. My model contains "release" attribute instead. If you are sure that your files is correct I can add it to the model as an optional feature. Ideally, if you know where to find 100% correct schema for this file, send me a link :-)
Could you at least provide an example of your maven-metadata.xml file so that I could test the modification?
Filip
Kevin wrote:
> Hi,
> I'm also having problems working with a maven repo.
> The repository appears to load, but no 'Installable Units' are listed in
> the editor.
> In the .metadata/.log, there is message for each maven artifact:
>
> !ENTRY org.eclipse.b3.util ......
> !MESSAGE org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature
> 'latest' not found.
> (http://ourmavenhost/groupid/artifactid/maven-metadata.xml, 7,13)
>
> p2 side of things is working fine...
> Using helios, b3 0.1.0r01053
>
> There doesn't seem to be as much detail in the documentation for maven
> repos, any help is appreciated.
> Thanks,
> Kevin
|
|
| |
Re: Maven2 Repositories [message #611572 is a reply to message #540840] |
Mon, 05 July 2010 10:59 |
Marko Espig Messages: 19 Registered: July 2009 |
Junior Member |
|
|
It doesn't produce errors, but there are no IU's.
Regards
Marko Espig
Am 17.06.2010 15:04, schrieb Henrik Lindberg:
> Did that test work or fail?
> - henrik
> On 6/17/10 9:57 AM, Marko Espig wrote:
>> Hi Filip,
>>
>> After no success with our company repo, I tried a local repository with
>> about 200 MB and also tried to limit artifacts to about 18 MB. I just
>> added the m2 repository to an b3aggr configuration.
>>
>> Thanks an kind regards
>>
>> Marko
>>
>>
>>
>> Am 01.06.2010 16:02, schrieb Filip Hrbek:
>>> How big is your repo? Could you provide a sample?
>>> A load of a large repository is supposed to run for a reasonable time.
>>>
>>> Filip
>>>
>>>
>>> Marko Espig wrote:
>>>> Hi,
>>>>
>>>> has anyone tried to load a maven2 Repository with success. b3
>>>> aggregator
>>>> is loading, but never finished, even a local m2 repo.
>>>>
>>>>
>>>> Kind regards
>>>>
>>>> Marko Espig
>>>>
>>>
>>>
>>
>
>
|
|
| | | | |
Goto Forum:
Current Time: Fri Nov 08 21:59:08 GMT 2024
Powered by FUDForum. Page generated in 0.04476 seconds
|