Home » Archived » B3 » Maven2 Repositories
Maven2 Repositories [message #537153] |
Tue, 01 June 2010 09:25  |
Eclipse User |
|
|
|
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 #542625 is a reply to message #542587] |
Fri, 25 June 2010 09:23   |
Eclipse User |
|
|
|
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 06:59   |
Eclipse User |
|
|
|
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 09:23   |
Eclipse User |
|
|
|
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 06:59   |
Eclipse User |
|
|
|
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 #896409 is a reply to message #611615] |
Wed, 18 July 2012 06:19  |
Eclipse User |
|
|
|
Hello everyone,
despite the age of this thread I'd like to announce, that I'm getting the same problems with maven2-repositories. I've deployed my plugins/features to a nexus oss repository manager and do not see any installable units in the editor. When I use 'install' and map the local repository, everythin seems fine.
My installation details:
0.2.0.v20120330-1440 org.eclipse.b3.aggregator.editor.feature.feature.group
0.2.0.v20110818-1257 org.eclipse.b3.p2.maven.indexer.feature.feature.group
Has anyone an idea?
|
|
|
Goto Forum:
Current Time: Sun May 11 05:07:02 EDT 2025
Powered by FUDForum. Page generated in 0.07206 seconds
|