Skip to content

Commit 8f6aadc

Browse files
authored
Fix site (#1578)
It freaks out on `<p>`, while javadoc freaks out on `<p/>`.
1 parent e5187a9 commit 8f6aadc

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/filter/GroupIdRemoteRepositoryFilterSource.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,14 @@ public final class GroupIdRemoteRepositoryFilterSource extends RemoteRepositoryF
8383
/**
8484
* Configuration to enable the GroupId filter (enabled by default). Can be fine-tuned per repository using
8585
* repository ID suffixes.
86-
* <p>
8786
* <strong>Important:</strong> For this filter to take effect, you must provide configuration files. Without
8887
* configuration files, the enabled filter remains dormant and does not interfere with resolution.
89-
* <p>
9088
* <strong>Configuration Files:</strong>
9189
* <ul>
9290
* <li>Location: Directory specified by {@link #CONFIG_PROP_BASEDIR} (defaults to {@code $LOCAL_REPO/.remoteRepositoryFilters})</li>
9391
* <li>Naming: {@code groupId-$(repository.id).txt}</li>
9492
* <li>Content: One groupId per line to allow/block from the repository</li>
9593
* </ul>
96-
* <p>
9794
* <strong>Recommended Setup (Per-Project):</strong>
9895
* Use project-specific configuration to avoid repository ID clashes. Add to {@code .mvn/maven.config}:
9996
* <pre>

maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/filter/PrefixesRemoteRepositoryFilterSource.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,15 @@ public final class PrefixesRemoteRepositoryFilterSource extends RemoteRepository
8787
/**
8888
* Configuration to enable the Prefixes filter (enabled by default). Can be fine-tuned per repository using
8989
* repository ID suffixes.
90-
* <p>
9190
* <strong>Important:</strong> For this filter to take effect, configuration files must be available. Without
9291
* configuration files, the enabled filter remains dormant and does not interfere with resolution.
93-
* <p>
9492
* <strong>Configuration File Resolution:</strong>
9593
* <ol>
9694
* <li><strong>User-provided files:</strong> Checked first from directory specified by {@link #CONFIG_PROP_BASEDIR}
9795
* (defaults to {@code $LOCAL_REPO/.remoteRepositoryFilters})</li>
9896
* <li><strong>Auto-discovery:</strong> If not found, attempts to download from remote repository and cache locally</li>
9997
* </ol>
100-
* <p>
10198
* <strong>File Naming:</strong> {@code prefixes-$(repository.id).txt}
102-
* <p>
10399
* <strong>Recommended Setup (Auto-Discovery with Override Capability):</strong>
104100
* Start with auto-discovery, but prepare for project-specific overrides. Add to {@code .mvn/maven.config}:
105101
* <pre>
@@ -109,7 +105,6 @@ public final class PrefixesRemoteRepositoryFilterSource extends RemoteRepository
109105
* <strong>Initial setup:</strong> Don't provide any files - rely on auto-discovery as repositories are accessed.
110106
* <strong>Override when needed:</strong> Create {@code prefixes-myrepoId.txt} files in {@code .mvn/rrf/} and
111107
* commit to version control.
112-
* <p>
113108
* <strong>Caching:</strong> Auto-discovered prefix files are cached in the local repository with unique IDs
114109
* (using {@link RepositoryIdHelper#remoteRepositoryUniqueId(RemoteRepository)}) to prevent conflicts that
115110
* could cause build failures.

src/site/markdown/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ To modify this file, edit the template and regenerate.
9797
| `"aether.priority.<class>"` | `Float` | The priority to use for a certain extension class. <code>&lt;class&gt;</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 |
9898
| `"aether.priority.cached"` | `Boolean` | A flag indicating whether the created ordered components should be cached in session. | `true` | 2.0.0 | No | Session Configuration |
9999
| `"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 |
101101
| `"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 |
102102
| `"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 |
104104
| `"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 |
105105
| `"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 |
106106
| `"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

Comments
 (0)