Sylwester Lachiewicz created FELIX-6896:
-------------------------------------------
Summary: Replace the deprecated MavenProjectBuilder and
ArtifactCollector in maven-bundle-plugin
Key: FELIX-6896
URL: https://issues.apache.org/jira/browse/FELIX-6896
Project: Felix
Issue Type: Improvement
Components: Maven Bundle Plugin
Reporter: Sylwester Lachiewicz
maven-bundle-plugin uses two classes from maven-compat that have been
deprecated since Maven 3:
* {{org.apache.maven.project.MavenProjectBuilder}} in {{BundlePlugin}}
({{createDependencyReducedPom}}) and {{BundleAllPlugin}}
({{buildFromRepository}})
* {{org.apache.maven.artifact.resolver.ArtifactCollector}}, an unused field in
{{BundlePlugin}}
Moving to maven-core's {{ProjectBuilder}} with a request derived from the Maven
session keeps the same validation level, plugin processing and repository
settings, and keeps the plugin working on Maven versions that no longer ship
these legacy classes.
The remote OBR goals' use of {{WagonManager}} is tracked separately in
FELIX-6876.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)