Migrate 10 @Component classes to JSR330 in p2-maven-plugin#5530
Draft
Migrate 10 @Component classes to JSR330 in p2-maven-plugin#5530
Conversation
Co-authored-by: laeubi <[email protected]>
Co-authored-by: laeubi <[email protected]>
Copilot
AI
changed the title
[WIP] Migrate components from @Component to JSR330 annotations
Migrate 10 @Component classes to JSR330 in p2-maven-plugin
Oct 25, 2025
Test Results 30 files - 948 30 suites - 948 17s ⏱️ - 5h 53m 37s Results for commit a54a7d7. ± Comparison against base commit 7e7ede6. This pull request removes 1247 tests. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates 10 Plexus
@Componentannotated classes to JSR330 annotations as part of the ongoing effort to modernize dependency injection across Tycho modules.Related to #1494
Changes
Simple components (no dependencies):
P2ArtifactRepositoryLayout,P2RepositoryConnectorFactoryEclipseTargetDefinitionArtifactHandler,EclipseTestPluginArtifactHandlerP2ArtifactsArtifactHandler,P2InstallableUnitArtifactHandler,P2MetadataArtifactHandlerComponents with dependencies:
DefaultProvisioningAgent- field injection with named qualifiersP2ServicesLifecycleListener- map injectionDefaultMavenRepositorySettings-Initializable→@PostConstructMigration pattern
Plexus component count: 23 → 13
JSR330 components indexed by sisu-maven-plugin: +10
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
testng.org/opt/hostedtoolcache/CodeQL/2.23.1/x64/codeql/tools/linux64/java/bin/java -jar /opt/hostedtoolcache/CodeQL/2.23.1/x64/codeql/xml/tools/xml-extractor.jar --fileList=/home/REDACTED/work/tycho/.codeql-scratch/dbs/java/working/files-to-index15537833322444320745.list --sourceArchiveDir=/home/REDACTED/work/tycho/.codeql-scratch/dbs/java/src --outputDir=/home/REDACTED/work/tycho/.codeql-scratch/dbs/java/trap/java(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.