| Summary: | Adding maven central as repository to an aggregation does not complete | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] CBI | Reporter: | Lothar Werzinger <lothar> | ||||||
| Component: | CBI p2 Repository Aggregator | Assignee: | CBI Inbox <cbi-inbox> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | David Williams <david_williams> | ||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | frederic.gurr, lists, thomas | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Lothar Werzinger
Created attachment 203561 [details]
the b3 aggregation file to reproduce the problem
Hi. When I try to aggregate bundles from a Maven repository into a P2 repo, then b3 gives the following output: b3.bat aggregate --buildModel my.b3aggr Loading all repositories Unable to load repository http://repository.springsource.com/maven/bundles/external Unable to load repository maven2:http://repository.springsource.com/maven/bundles/external Build failed! Exception was org.eclipse.core.runtime.CoreException: Not all repositories could be loaded (see log for details) Not all repositories could be loaded (see log for details) However, there is no log output anywhere and hence also not more details about the failure. Snippet from my b3aggr: <contributions label="Maven"> <repositories location="http://repository.springsource.com/maven/bundles/external" nature="maven2" mirrorArtifacts="true"> <bundles name="com.springsource.org.jdom" versionRange="2.0.1"/> </repositories> <mavenMappings namePattern="com.springsource.org.jdom" groupId="org.jdom" artifactId="com.springsource.org.jdom"/> <!-- removing/adding this mapping line did not change anything --> </contributions> Created attachment 224719 [details]
screenshot showing bundle artifact in maven repo
attachment shows that bundle artifact really exists in the maven repo referenced in the b3aggr snippet
Did you have the "b3 and p2 - Nexus Indexer for Maven" feature when you attempted this? Without it, b3 will try and crawl the repository. In case of Maven Central, a crawl would take a very long time (days) if it's even possible. [Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI.] If this issue is still relevant, please move it to https://github.com/eclipse-cbi/p2repo-aggregator/issues. |