- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 511 for if (0.99 sec)
-
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java
throws ArtifactResolutionException, ArtifactNotFoundException { if (Artifact.LATEST_VERSION.equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); if (Artifact.LATEST_VERSION.equals(version)) { throw new ArtifactNotFoundException("Unable to determine the latest version", artifact);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 2.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java
public void setSession(MavenSession session) { AtomicReference<MavenSession> reference = DefaultLegacySupport.SESSION.get(); if (reference != null) { reference.set(null); } if (session == null && reference != null) { DefaultLegacySupport.SESSION.remove(); } else { DefaultLegacySupport.SESSION.set(new AtomicReference<>(session));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java
* @param message The detail message of the problem, may be {@code null}. * @param line The one-based index of the line containing the problem or {@code -1} if unknown. * @param column The one-based index of the column containing the problem or {@code -1} if unknown. * @param cause The cause of the problem, may be {@code null}. */ void add(Problem.Severity severity, String message, int line, int column, Exception cause);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java
* variable lookup. * * @param props The properties to add the environment variables to, may be {@code null}. */ public static void addEnvVars(Properties props) { if (props != null) { if (envVars == null) { Properties tmp = new Properties(); boolean caseSensitive = !Os.IS_WINDOWS; for (Map.Entry<String, String> entry : System.getenv().entrySet()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 06:01:36 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
result = true; } else if (mirrorLayout.equals(repoLayout)) { result = true; } else { // process the list String[] layouts = mirrorLayout.split(","); for (String layout : layouts) { // see if this is a negative match if (layout.length() > 1 && layout.startsWith("!")) { if (layout.substring(1).equals(repoLayout)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PropertiesAsMap.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
Path path = artifactManager.getPath(artifact).orElse(null); if (path != null) { paths.put(artifact, path); } else { requests.add(new ArtifactRequest(aetherArtifact, repositories, null)); } } if (!requests.isEmpty()) { List<ArtifactResult> results =
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DeprecatedCoreExpressionValidator.java
import org.apache.maven.plugin.descriptor.Parameter; import org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator; import org.codehaus.plexus.configuration.PlexusConfiguration; /** * Print warnings if deprecated core parameters are used in mojo. * * @since 3.9.1 */ @Singleton @Named class DeprecatedCoreExpressionValidator extends AbstractMavenPluginParametersValidator {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 26 16:22:12 GMT 2023 - 3.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCollector.java
DependencyCoordinate root; Collection<DependencyCoordinate> dependencies; Collection<DependencyCoordinate> managedDependencies; List<RemoteRepository> remoteRepositories; if (request.getProject().isPresent()) { Project project = request.getProject().get(); rootArtifact = project.getPomArtifact(); root = null; dependencies = project.getDependencies();
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 23:30:57 GMT 2024 - 4.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java
* @return The user properties, never {@code null}. */ Map<String, String> getUserProperties(); /** * Gets the base directory of the current project (if any). * * @return The base directory of the current project or {@code null} if none. */ Path getProjectDirectory(); /** * Gets current calculated project properties * * @return The project properties, never {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.8K bytes - Viewed (0)