- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 632 for if (0.13 sec)
-
maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
} public void merge(ArtifactRepositoryPolicy policy) { if (policy != null && policy.isEnabled()) { setEnabled(true); if (ordinalOfCksumPolicy(policy.getChecksumPolicy()) < ordinalOfCksumPolicy(getChecksumPolicy())) { setChecksumPolicy(policy.getChecksumPolicy()); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 5.9K bytes - Viewed (0) -
apache-maven/src/assembly/shared/init.cmd
) @REM If none of the above, skip the argument shift if not "%~1" == "" ( goto arg_loop ) else ( goto findBaseDir ) :process_file_arg if "%FILE_ARG%" == "" ( goto findBaseDir ) if not exist "%FILE_ARG%" ( echo POM file "%FILE_ARG%" specified the -f/--file command-line argument does not exist >&2 goto error ) if exist "%FILE_ARG%\*" ( set "POM_DIR=%FILE_ARG%" ) else (
Batch File - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Dec 16 21:35:28 GMT 2022 - 2.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java
if (token.startsWith("[")) { ranges.add(new RangeValue(token.replace("[", ""), true)); } else if (token.startsWith("(")) { ranges.add(new RangeValue(token.replace("(", ""), false)); } else if (token.endsWith("]")) { ranges.add(new RangeValue(token.replace("]", ""), true)); } else if (token.endsWith(")")) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
boolean isBlankVersion = descriptor.getRequiredMavenVersion() == null || descriptor.getRequiredMavenVersion().trim().isEmpty(); if (isBlankVersion) { // only take value from underlying POM if plugin descriptor has no explicit Maven requirement descriptor.setRequiredMavenVersion(artifact.getProperty("requiredMavenVersion", null)); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 42.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
public boolean isStale() { File pomFile = pomArtifact.getFile(); if (pomFile != null) { if (pomFile.canRead()) { return length != pomFile.length() || timestamp != pomFile.lastModified(); } else { // if the POM didn't exist, retry if any repo is configured to always update boolean snapshot = pomArtifact.isSnapshot();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 11.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java
} public boolean include(Artifact artifact) { if (Artifact.SCOPE_COMPILE.equals(artifact.getScope())) { return compileScope; } else if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope())) { return runtimeScope; } else if (Artifact.SCOPE_TEST.equals(artifact.getScope())) { return testScope; } else if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope())) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
Collection<String> scopes = Collections.emptyList(); if (classpath != null && !classpath.isEmpty()) { if (Artifact.SCOPE_COMPILE.equals(classpath)) { scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED); } else if (Artifact.SCOPE_RUNTIME.equals(classpath)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 20.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java
if (active && os.getFamily() != null) { active = determineFamilyMatch(os.getFamily(), actualOsName); } if (active && os.getName() != null) { active = determineNameMatch(os.getName(), actualOsName); } if (active && os.getArch() != null) { active = determineArchMatch(os.getArch(), actualOsArch);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.9K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
int lastHyphen = version.lastIndexOf('-'); if (lastHyphen > 0) { int prevHyphen = version.lastIndexOf('-', lastHyphen - 1); if (prevHyphen > 0) { Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version); if (m.matches()) { return m.group(1) + "-" + Artifact.SNAPSHOT_VERSION; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 06 08:51:18 GMT 2023 - 6.9K bytes - Viewed (0) -
apache-maven/src/assembly/shared/run.cmd
if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat" if exist "%USERPROFILE%\mavenrc_post.cmd" echo Warning: The mavenrc_post.cmd script is deprecated and will be removed in a future version. >&2 if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd" :skipRcPost @REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' if "%MAVEN_BATCH_PAUSE%"=="on" pause
Batch File - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Mar 05 22:52:54 GMT 2022 - 1.1K bytes - Viewed (0)