Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [transformer-dev] Can I use transformer-maven-plugin to transform dependency jars
  • From: BJ Hargrave <hargrave@xxxxxxxxxx>
  • Date: Thu, 16 Jun 2022 13:49:12 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=us.ibm.com; dmarc=pass action=none header.from=us.ibm.com; dkim=pass header.d=us.ibm.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i3Zk4u5UG56T62nqlqqHTr1hK5IaiILfhw+We6XGEaM=; b=GoaBHqZYT6zgzAGuOlNXQcwQOmUvujrekqZhcuEJOukpOS960HzZmqt4FRXcGfJcQDhQRrrYz5sLkLNTkHJ8KA4bWZs01GWVihr4beQEaFCBgcjW87a4+EQILAnAHIdSW184wzlZjGwiROwQ/XOux35OMLUfPleeow9Kppq6dhohpCWbIKQrWc9oat5k1ewrUgwz83FrBKfE2O09wode2Mk9s9QrV5pri/nkUgkWNKVHOU5dPsw23cB3JUJJI6OxtyCnrYd8vbAK8Uafgmy/43l6XUJKCM6ceRZphcPeIY9X1BKiNwNcQKcREw2XakNqD3v4UWNCIK/t77LNi9T5gg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fkm7bkXZKNJOCsJ4O0zCfzbHCTYcvnMox0SMUH5xn+V+8g8zq9/9acmi/K7wdIAEIOhL9EhG8O+tf7ncyLjjMNNvjhobnmZ5lLqFaAWKbibQextCcQp6NJpMwBRL9WUe6/3eLDBd0P365u1k/hj11lsChAs170u8TBfv3koRezcTa/v6EG2J3pUzCL40h4nQQYDwnKtvvCgxaqAM0920zP8M0YKA64s9rLNAaEvQ2eq8u9t/i6rFXtitNpNV89vA4KmMP6RIy6mYny7elpwa1W0LlY7ji54wtC55+v22IlEtS0Px9Ow+Z+e1PP2rFV9H+pJn/Nj2qgdWo+t+LrUG/g==
  • Delivered-to: transformer-dev@xxxxxxxxxxx
  • List-archive: <https://dev.eclipse.org/mailman/private/transformer-dev/>
  • List-help: <mailto:transformer-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://dev.eclipse.org/mailman/listinfo/transformer-dev>, <mailto:transformer-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://dev.eclipse.org/mailman/options/transformer-dev>, <mailto:transformer-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHYgQnmRCF8/SN+IkK1brXBkmJrsq1SDKM8
  • Thread-topic: [EXTERNAL] [transformer-dev] Can I use transformer-maven-plugin to transform dependency jars

I am hoping to release 0.5.0 in the next week or so.

 

Please do try out the new maven plugin goal in 0.5.0-SNAPSHOT. https://github.com/eclipse/transformer#artifacts show how you can configure the snapshot repo into your project to try out 0.5.0-SNAPSHOT. See https://github.com/eclipse/transformer/issues/139#issuecomment-1127741677 for my suggestion on how to use the transformer maven plugin in a project to transform artifacts.

 

-- 

BJ Hargrave
Senior Technical Staff Member, IBM // office: +1 386 848 1781
OSGi Fellow and OSGi Specification Project lead // mobile: +1 386 848 3788
hargrave@xxxxxxxxxx

 

 

From: transformer-dev <transformer-dev-bounces@xxxxxxxxxxx> on behalf of fsuchy--- via transformer-dev <transformer-dev@xxxxxxxxxxx>
Date: Wednesday, June 15, 2022 at 18:47
To: transformer-dev@xxxxxxxxxxx <transformer-dev@xxxxxxxxxxx>
Cc: fsuchy@xxxxxxxxx <fsuchy@xxxxxxxxx>
Subject: [EXTERNAL] [transformer-dev] Can I use transformer-maven-plugin to transform dependency jars

Hello, I am working on a large project with a bunch of dependencies, and we are updating to Java 11. Camel is still using javax and depends on v2.x Jakarta libs. But we have other libraries that have moved on and use v3.x Jakarta libs. ‍ ‍ ‍ ‍

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

Hello,

 

I am working on a large project with a bunch of dependencies, and we are updating to Java 11.

 

Camel is still using javax and depends on v2.x Jakarta libs.  But we have other libraries that have moved on and use v3.x Jakarta libs.

 

As an experiment, I downloaded the Eclipse Transformer project version 0.4.0, built it and used the org.eclipse.transformer.cli-0.4.0.jar to transform each lib in turn.

 

This was very successful, so I tried to incorporate that into the maven build.  I'd like to run the transformer maven plugin against dependencies before they are added to an RPM.

 

But I'm running into issues.  It only seems to operate on the artifact that the project is currently creating and nothing else.  Is that the current state of the plugin as of 0.4.0?

 

 

Has anyone done this?

 

It appears there is some documentation for the plugin on the main branch, but it doesn't match the 0.4.0 version.

 

 

Looking at the code on main, it appears to be gaining functionality.  Maybe it can do what I need?  If so, any idea when a 0.5.0 release candidate might be ready?

 

 

 

 

Thanks,

Frank

 

 


Back to the top