[ 
https://issues.apache.org/jira/browse/NIFI-15633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann updated NIFI-15633:
------------------------------------
    Fix Version/s: nifi-nar-maven-plugin-2.3.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Address Maven Plugin Deprecations and switch to JSR-330 Annotations
> -------------------------------------------------------------------
>
>                 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
>            Priority: Major
>             Fix For: nifi-nar-maven-plugin-2.3.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to