Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for if (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            Object value = null;
    
            if (expr == null) {
                return null;
            }
    
            String expression = stripTokens(expr);
            if (expression.equals(expr)) {
                int index = expr.indexOf("${");
                if (index >= 0) {
                    int lastIndex = expr.indexOf('}', index);
                    if (lastIndex >= 0) {
    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)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * Module information for the path specified at construction time.
         * This map is usually either empty if no module was found, or a singleton map.
         * It may however contain more than one entry if module hierarchy was detected,
         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                // There is no need to check if the build has created any outputs, see MNG-2222.
                boolean projectCompiledDuringThisSession =
                        project.hasLifecyclePhase("compile") && COMPILE_PHASE_TYPES.contains(type);
    
                // Check if the project is part of the session (not filtered by -pl, -rf, etc). If so, we check
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            while (trace != null) {
                Object data = trace.getData();
                if (data instanceof CollectStepData) {
                    collectStepTrace = (CollectStepData) data;
                } else if (data instanceof ArtifactDescriptorRequest) {
                    artifactDescriptorRequest = (ArtifactDescriptorRequest) data;
                } else if (data instanceof ArtifactRequest) {
                    artifactRequest = (ArtifactRequest) data;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            String updatePolicy = null;
    
            String checksumPolicy = null;
    
            if (policy != null) {
                enabled = policy.isEnabled();
    
                if (policy.getUpdatePolicy() != null) {
                    updatePolicy = policy.getUpdatePolicy();
                }
                if (policy.getChecksumPolicy() != null) {
                    checksumPolicy = policy.getChecksumPolicy();
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    PluginValidationIssues issues = entry.getValue();
                    if (!hasAnythingToReport(issues, issueLocalitiesToReport)) {
                        continue;
                    }
                    logger.warn(" * {}", entry.getKey());
                    if (validationReportLevel == ValidationReportLevel.VERBOSE) {
                        if (!issues.pluginDeclarations.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            }
            RecursionInterceptor recursionInterceptor = createRecursionInterceptor(request);
            return value -> {
                if (value != null && value.contains("${")) {
                    String c = cache.get(value);
                    if (c == null) {
                        try {
                            c = interpolator.interpolate(value, recursionInterceptor);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
Back to top