Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNG-7959] User controlled relocations Addendum #1350

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

/**
* Maven relocation source.
* Note: implementations of this component should avoid the "default" name (has special meaning in Eclipse Sisu) and
* explicitly order implementations using Sisu priorities.
*
* @since 4.0.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@
* @since 4.0.0
*/
@Singleton
@Named
@Named(DistributionManagementArtifactRelocationSource.NAME)
@Priority(5)
@SuppressWarnings("checkstyle:MagicNumber")
public final class DistributionManagementArtifactRelocationSource implements MavenArtifactRelocationSource {
public static final String NAME = "distributionManagement";
private static final Logger LOGGER = LoggerFactory.getLogger(DistributionManagementArtifactRelocationSource.class);

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@
* @since 4.0.0
*/
@Singleton
@Named
@Named(UserPropertiesArtifactRelocationSource.NAME)
@Priority(50)
@SuppressWarnings("checkstyle:MagicNumber")
public final class UserPropertiesArtifactRelocationSource implements MavenArtifactRelocationSource {
public static final String NAME = "userProperties";
private static final Logger LOGGER = LoggerFactory.getLogger(UserPropertiesArtifactRelocationSource.class);

private static final String CONFIG_PROP_RELOCATIONS_ENTRIES = "maven.relocations.entries";
Expand Down
Loading