Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Build p2 update site from Maven artifacts
  • From: "Fauth Dirk (CAP-SST/ESM1)" <Dirk.Fauth@xxxxxxxxxxxx>
  • Date: Fri, 4 Dec 2020 09:27:01 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=de.bosch.com; dmarc=pass action=none header.from=de.bosch.com; dkim=pass header.d=de.bosch.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9xFgWfdt/MyB6uWSmXSNe8UIhA8tILn5iDPUcV8qTxI=; b=Rm4lP72aa8bXjYe5y6AUyzajAdllABxtbwae45BiRO64yogGpTGRERezEBRdQvyoktQi9bt7Q0tSpWI5cuCfaVrJUv7ZrBzKmf1Deo0wAmeugc8RXfTd8AoToILFty1fvbepzRZJdY0ZrEaYAaGgK+U+VVWmUYKHQDiAfNYop+dcdUBQD43oN2mG8848cflINkC6Tg8l0S695WmEPab+egdB6gjIKoNzeCrdrhHEV2xvy5fni4d31mtutxR1BZb4lk5RHw/lhkATNxIEFgMc3yUxb/00HXosrBKPVHnkh8tS0Z5RJxWfH+ZeCF33djNndkxqlEmU04KQMc+rNi1sHg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eO6yNZyvWs9Zxju2zFbkPeII10DBAquGb4P2D3dsiMFsE7TE4eObi0M0lcPQwClf58ww9ysOZGcfer51TFkuSzTt+YqYFrVU3ylaETrGB456wPjqKwrUanEFKDxQtfZbPzgWuMwHKTsKIKihm0pwZsQb449maLG648gvgPtuyKGR0a6SYarVgQiF9p1X2rB8YxxZSMOST9oSEAzptcslB+gMeilto+CbppI6sRaxdrQSoueQle9c0pqTQOKvvEtTS2rm1qkNOXlFlfx0KzMusIgoM2HZe/4dQlGhk5RNL0aumlC6zJccKJPgxgI1DaGMYAIRDmRG4+QL9bDnHIkJbA==
  • Delivered-to: tycho-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tycho-dev>
  • List-help: <mailto:tycho-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tycho-dev>, <mailto:tycho-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tycho-dev>, <mailto:tycho-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdbKHpL7xoLRlKPSQOmlrhvwMW8B+A==
  • Thread-topic: Build p2 update site from Maven artifacts

Hi,

 

I would like to create a p2 update site from Maven artifacts. I added the OSGi metadata via bnd-maven-plugin to the Eclipse Collections artifacts a while ago, so also in Maven Central the artifacts are available to be used in OSGi projects.

 

The current approach to build the p2 repository for Eclipse collections is to use EBR, which actually takes the build results and merge them into a single bundle that combines API and IMPL. And that also creates a source bundle.

 

To make the process more straight forward and easier to maintain, I wanted to use the original artifacts available via Maven and drop the EBR process. For this I configured the build with pomDependencies=consider. But then the tycho-source-feature-plugin fails as it can’t resolve the sources for the plugins. From the documentation it searches for bundles with a .source suffix. But in Maven the bundles are names with a -sources suffix.

 

Is it somehow possible to configure the tycho-source-feature-plugin to consider the sources from Maven?

 

Mit freundlichen Grüßen / Best regards

Dirk Fauth


Cross Automotive Platforms - System, Software and Tools Engineering Engineering Software Methods and Tools1 (CAP-SST/ESM1)
Robert Bosch GmbH | Postfach 10 60 50 | 70049 Stuttgart | GERMANY |
www.bosch.com
Tel.
+49 711 811-57819 | Telefax +49 711 811 | Dirk.Fauth@xxxxxxxxxxxx

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Franz Fehrenbach; Geschäftsführung: Dr. Volkmar Denner,
Prof. Dr. Stefan Asenkerschbaumer, Dr. Michael Bolle, Dr. Christian Fischer, Dr. Stefan Hartung,
Dr. Markus Heyn, Harald Kröger, Christoph Kübel, Rolf Najork, Uwe Raschke, Peter Tyroller


Back to the top