You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/filter/GroupIdRemoteRepositoryFilterSource.java
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -83,17 +83,14 @@ public final class GroupIdRemoteRepositoryFilterSource extends RemoteRepositoryF
83
83
/**
84
84
* Configuration to enable the GroupId filter (enabled by default). Can be fine-tuned per repository using
85
85
* repository ID suffixes.
86
-
* <p>
87
86
* <strong>Important:</strong> For this filter to take effect, you must provide configuration files. Without
88
87
* configuration files, the enabled filter remains dormant and does not interfere with resolution.
89
-
* <p>
90
88
* <strong>Configuration Files:</strong>
91
89
* <ul>
92
90
* <li>Location: Directory specified by {@link #CONFIG_PROP_BASEDIR} (defaults to {@code $LOCAL_REPO/.remoteRepositoryFilters})</li>
Copy file name to clipboardExpand all lines: maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/filter/PrefixesRemoteRepositoryFilterSource.java
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -87,19 +87,15 @@ public final class PrefixesRemoteRepositoryFilterSource extends RemoteRepository
87
87
/**
88
88
* Configuration to enable the Prefixes filter (enabled by default). Can be fine-tuned per repository using
89
89
* repository ID suffixes.
90
-
* <p>
91
90
* <strong>Important:</strong> For this filter to take effect, configuration files must be available. Without
92
91
* configuration files, the enabled filter remains dormant and does not interfere with resolution.
93
-
* <p>
94
92
* <strong>Configuration File Resolution:</strong>
95
93
* <ol>
96
94
* <li><strong>User-provided files:</strong> Checked first from directory specified by {@link #CONFIG_PROP_BASEDIR}
97
95
* (defaults to {@code $LOCAL_REPO/.remoteRepositoryFilters})</li>
98
96
* <li><strong>Auto-discovery:</strong> If not found, attempts to download from remote repository and cache locally</li>
Copy file name to clipboardExpand all lines: src/site/markdown/configuration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,10 +97,10 @@ To modify this file, edit the template and regenerate.
97
97
| `"aether.priority.<class>"` | `Float` | The priority to use for a certain extension class. <code><class></code> can either be the fully qualified name or the simple name of a class. If the class name ends with Factory that suffix could optionally be left out. This configuration is used by <code>org.eclipse.aether.internal.impl.PrioritizedComponents</code> internal utility to sort classes by priority. This is reusable utility (so an extension can make use of it), but by default in "vanilla" Resolver following classes are sorted: <ul> <li> <code>org.eclipse.aether.spi.localrepo.LocalRepositoryManagerFactory</code> </li> <li> <code>org.eclipse.aether.spi.connector.RepositoryConnectorFactory</code> </li> <li> <code>org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory</code> </li> <li> <code>org.eclipse.aether.spi.connector.transport.TransporterFactory</code> </li> <li> <code>org.eclipse.aether.spi.artifact.decorator.ArtifactDecoratorFactory</code> </li> <li> <code>org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory</code> </li> <li> <code>org.eclipse.aether.impl.MetadataGeneratorFactory</code> </li> </ul> | - | | No | Session Configuration |
98
98
|`"aether.priority.cached"`|`Boolean`| A flag indicating whether the created ordered components should be cached in session. |`true`| 2.0.0 | No | Session Configuration |
99
99
|`"aether.priority.implicit"`|`Boolean`| A flag indicating whether the priorities of pluggable extensions are implicitly given by their iteration order such that the first extension has the highest priority. If set, an extension's built-in priority as well as any corresponding <code>aether.priority.*</code> configuration properties are ignored when searching for a suitable implementation among the available extensions. This priority mode is meant for cases where the application will present/inject extensions in the desired search order. |`false`|| No | Session Configuration |
100
-
| `"aether.remoteRepositoryFilter.groupId"` | `Boolean` | Configuration to enable the GroupId filter (enabled by default). Can be fine-tuned per repository using repository ID suffixes. <p> <strong>Important:</strong> For this filter to take effect, you must provide configuration files. Without configuration files, the enabled filter remains dormant and does not interfere with resolution. <p> <strong>Configuration Files:</strong> <ul> <li>Location: Directory specified by <code>#CONFIG_PROP_BASEDIR</code> (defaults to <code>$LOCAL_REPO/.remoteRepositoryFilters</code> )</li> <li>Naming: <code>groupId-$(repository.id).txt</code> </li> <li>Content: One groupId per line to allow/block from the repository</li> </ul> <p> <strong>Recommended Setup (Per-Project):</strong> Use project-specific configuration to avoid repository ID clashes. Add to <code>.mvn/maven.config</code> : <pre> -Daether.remoteRepositoryFilter.groupId=true -Daether.remoteRepositoryFilter.groupId.basedir=${session.rootDirectory}/.mvn/rrf/ </pre> Then create <code>groupId-myrepoId.txt</code> files in the <code>.mvn/rrf/</code> directory and commit them to version control. | `true` | 1.9.0 | Yes | Session Configuration |
100
+
| `"aether.remoteRepositoryFilter.groupId"` | `Boolean` | Configuration to enable the GroupId filter (enabled by default). Can be fine-tuned per repository using repository ID suffixes. <strong>Important:</strong> For this filter to take effect, you must provide configuration files. Without configuration files, the enabled filter remains dormant and does not interfere with resolution. <strong>Configuration Files:</strong> <ul> <li>Location: Directory specified by <code>#CONFIG_PROP_BASEDIR</code> (defaults to <code>$LOCAL_REPO/.remoteRepositoryFilters</code> )</li> <li>Naming: <code>groupId-$(repository.id).txt</code> </li> <li>Content: One groupId per line to allow/block from the repository</li> </ul> <strong>Recommended Setup (Per-Project):</strong> Use project-specific configuration to avoid repository ID clashes. Add to <code>.mvn/maven.config</code> : <pre> -Daether.remoteRepositoryFilter.groupId=true -Daether.remoteRepositoryFilter.groupId.basedir=${session.rootDirectory}/.mvn/rrf/ </pre> Then create <code>groupId-myrepoId.txt</code> files in the <code>.mvn/rrf/</code> directory and commit them to version control. | `true` | 1.9.0 | Yes | Session Configuration |
101
101
|`"aether.remoteRepositoryFilter.groupId.basedir"`|`String`| The basedir where to store filter files. If path is relative, it is resolved from local repository root. |`".remoteRepositoryFilters"`| 1.9.0 | No | Session Configuration |
102
102
|`"aether.remoteRepositoryFilter.groupId.record"`|`Boolean`| Should filter go into "record" mode (and collect encountered artifacts)? |`false`| 1.9.0 | No | Session Configuration |
103
-
| `"aether.remoteRepositoryFilter.prefixes"` | `Boolean` | Configuration to enable the Prefixes filter (enabled by default). Can be fine-tuned per repository using repository ID suffixes. <p> <strong>Important:</strong> For this filter to take effect, configuration files must be available. Without configuration files, the enabled filter remains dormant and does not interfere with resolution. <p> <strong>Configuration File Resolution:</strong> <ol> <li><strong>User-provided files:</strong> Checked first from directory specified by <code>#CONFIG_PROP_BASEDIR</code> (defaults to <code>$LOCAL_REPO/.remoteRepositoryFilters</code> )</li> <li><strong>Auto-discovery:</strong> If not found, attempts to download from remote repository and cache locally</li> </ol> <p> <strong>File Naming:</strong> <code>prefixes-$(repository.id).txt</code> <p> <strong>Recommended Setup (Auto-Discovery with Override Capability):</strong> Start with auto-discovery, but prepare for project-specific overrides. Add to <code>.mvn/maven.config</code> : <pre> -Daether.remoteRepositoryFilter.prefixes=true -Daether.remoteRepositoryFilter.prefixes.basedir=${session.rootDirectory}/.mvn/rrf/ </pre> <strong>Initial setup:</strong> Don't provide any files - rely on auto-discovery as repositories are accessed. <strong>Override when needed:</strong> Create <code>prefixes-myrepoId.txt</code> files in <code>.mvn/rrf/</code> and commit to version control. <p> <strong>Caching:</strong> Auto-discovered prefix files are cached in the local repository with unique IDs (using <code>RepositoryIdHelper#remoteRepositoryUniqueId(RemoteRepository)</code> ) to prevent conflicts that could cause build failures. | `true` | 1.9.0 | Yes | Session Configuration |
103
+
| `"aether.remoteRepositoryFilter.prefixes"` | `Boolean` | Configuration to enable the Prefixes filter (enabled by default). Can be fine-tuned per repository using repository ID suffixes. <strong>Important:</strong> For this filter to take effect, configuration files must be available. Without configuration files, the enabled filter remains dormant and does not interfere with resolution. <strong>Configuration File Resolution:</strong> <ol> <li><strong>User-provided files:</strong> Checked first from directory specified by <code>#CONFIG_PROP_BASEDIR</code> (defaults to <code>$LOCAL_REPO/.remoteRepositoryFilters</code> )</li> <li><strong>Auto-discovery:</strong> If not found, attempts to download from remote repository and cache locally</li> </ol> <strong>File Naming:</strong> <code>prefixes-$(repository.id).txt</code> <strong>Recommended Setup (Auto-Discovery with Override Capability):</strong> Start with auto-discovery, but prepare for project-specific overrides. Add to <code>.mvn/maven.config</code> : <pre> -Daether.remoteRepositoryFilter.prefixes=true -Daether.remoteRepositoryFilter.prefixes.basedir=${session.rootDirectory}/.mvn/rrf/ </pre> <strong>Initial setup:</strong> Don't provide any files - rely on auto-discovery as repositories are accessed. <strong>Override when needed:</strong> Create <code>prefixes-myrepoId.txt</code> files in <code>.mvn/rrf/</code> and commit to version control. <strong>Caching:</strong> Auto-discovered prefix files are cached in the local repository with unique IDs (using <code>RepositoryIdHelper#remoteRepositoryUniqueId(RemoteRepository)</code> ) to prevent conflicts that could cause build failures. | `true` | 1.9.0 | Yes | Session Configuration |
104
104
|`"aether.remoteRepositoryFilter.prefixes.basedir"`|`String`| The basedir where to store filter files. If path is relative, it is resolved from local repository root. |`".remoteRepositoryFilters"`| 1.9.0 | No | Session Configuration |
105
105
|`"aether.snapshotFilter"`|`Boolean`| The key in the repository session's <code>RepositorySystemSession#getConfigProperties() configurationproperties</code> used to store a <code>Boolean</code> flag whether this filter should be forced to ban snapshots. By default, snapshots are only filtered if the root artifact is not a snapshot. |`false`|| No | Session Configuration |
106
106
|`"aether.syncContext.named.basedir.locksDir"`|`String`| The location of the directory toi use for locks. If relative path, it is resolved from the local repository root. |`".locks"`| 1.9.0 | No | Session Configuration |
0 commit comments