You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2026/02/21 12:20:00 UTC
[jira] [Created] (NIFI-15633) NiFi Maven - address deprecations
Pierre Villard created NIFI-15633:
-------------------------------------
Summary: NiFi Maven - address deprecations
Key: NIFI-15633
URL: https://issues.apache.org/jira/browse/NIFI-15633
Project: Apache NiFi
Issue Type: Task
Affects Versions: nifi-nar-maven-plugin-2.2.0
Reporter: Pierre Villard
Assignee: Pierre Villard
h3. Deprecations fixed
* @Component annotation (10+ occurrences). Replaced with JSR-330 @Inject / @Named across NarMojo, NarDuplicateDependenciesMojo, and NarProvidedDependenciesMojo
* ArtifactFactory, Replaced with org.apache.maven.repository.RepositorySystem in NarMojo
* MavenArchiver.configureReproducible(), Replaced with configureReproducibleBuild() plus parseBuildOutputTimestamp() in NarMojo
* AbstractArchiver.addDirectory(). Replaced with addFileSet(DefaultFileSet) in NarMojo
* MavenProject.getDependencyArtifacts(). Replaced with getDependencies() in NarMojo and NarDependencyUtils
h3. Deprecations not addressed (no fix available in Maven 3.9.x)
* ArtifactRepository. ProjectBuildingRequest and ArtifactResolutionRequest still require this type; there is no Aether-based alternative for these APIs until Maven 4.x
* ArtifactHandlerManager.addHandlers(). Deprecated with no replacement API provided; needed to register the custom NAR artifact handler at runtime
--
This message was sent by Atlassian Jira
(v8.20.10#820010)