Skip to content

Commit

Permalink
[MNG-7959] User controlled relocations Addendum (#1350)
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas authored Dec 18, 2023
1 parent 57effdd commit 9596255
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
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

0 comments on commit 9596255

Please sign in to comment.