- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for normalize (0.18 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelUrlNormalizer.java
.url(normalize(scm.getUrl())) .connection(normalize(scm.getConnection())) .developerConnection(normalize(scm.getDeveloperConnection())) .build()); } DistributionManagement dist = model.getDistributionManagement(); if (dist != null) { Site site = dist.getSite(); if (site != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/UrlNormalizer.java
*/ package org.apache.maven.api.services.model; public interface UrlNormalizer { /** * Normalizes the specified URL. * * @param url The URL to normalize, may be {@code null}. * @return The normalized URL or {@code null} if the input was {@code null}. */ String normalize(String url);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelUrlNormalizer.java
import org.apache.maven.api.services.ModelBuilderRequest; /** * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during * model inheritance. * */ public interface ModelUrlNormalizer { /** * Normalizes the well-known URLs of the specified model. * * @param model The model whose URLs should be normalized, may be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultUrlNormalizer.java
import org.apache.maven.api.di.Named; import org.apache.maven.api.di.Singleton; import org.apache.maven.api.services.model.UrlNormalizer; /** * Normalizes a URL. * */ @Named @Singleton public class DefaultUrlNormalizer implements UrlNormalizer { @Override public String normalize(String url) { String result = url; if (result != null) { while (true) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java
path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar); File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done result = file.getPath(); } else if (file.getPath().startsWith(File.separator)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
return null; } String s = stripBasedirToken(path); File file = new File(s); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done s = file.getPath(); } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with project directory but with drive root
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 7.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
result = path.getAbsoluteFile(); } else { // an ordinary relative path, align with base dir result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile(); } } return result; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java
if (Files.isDirectory(pomPath)) { pomPath = context.locate(pomPath); } if (pomPath == null || !Files.isRegularFile(pomPath)) { return Optional.empty(); } Optional<RelativeProject> mappedProject = Optional.ofNullable(context.getRawModel(pomFile, pomPath.normalize()))
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
// similar component for re-usage if (file != null) { if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with project directory but with drive root
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Oct 17 17:55:08 GMT 2023 - 16.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
// similar component for re-usage if (file != null) { if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with project directory but with drive root
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Jan 30 23:39:19 GMT 2024 - 9.8K bytes - Viewed (0)