Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 543 for if (0.26 sec)

  1. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            String part2 = null;
    
            if (index < 0) {
                part1 = version;
            } else {
                part1 = version.substring(0, index);
                part2 = version.substring(index + 1);
            }
    
            if (part2 != null) {
                if (part2.length() == 1 || !part2.startsWith("0")) {
                    buildNumber = tryParseInt(part2);
                    if (buildNumber == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         * if output directories are desired on the class-path or module-path.
         * This method can be invoked at most once.
         *
         * @param main the main output directory, or {@code null} if none
         * @param test the test output directory, or {@code null} if none
         * @param cache cache of module information about each dependency
         * @throws IOException if an error occurred while reading module information
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                        }
                    } else if (request.isForceUpdate()) {
                        update = true;
                    } else if (localCopyLastModified != null && !policy.checkOutOfDate(localCopyLastModified)) {
                        update = false;
    
                        if (getLogger().isDebugEnabled()) {
                            getLogger()
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            if (g == 0) {
                int a = compareStrings(md.artifactId, vmd.artifactId);
                if (a == 0) {
                    if (compareVersion) {
                        int v = compareStrings(md.version, vmd.version);
                        if (v == 0) {
                            if (compareScope) {
                                String s1 = ArtifactScopeEnum.checkScope(md.artifactScope)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.3K bytes
    - Viewed (0)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            int result = groupId.compareTo(a.getGroupId());
            if (result == 0) {
                result = artifactId.compareTo(a.getArtifactId());
                if (result == 0) {
                    result = type.compareTo(a.getType());
                    if (result == 0) {
                        if (classifier == null) {
                            if (a.getClassifier() != null) {
                                result = 1;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Feb 09 19:20:54 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

                boolean isBlankParentUrl = true;
    
                if (parentUrl != null) {
                    for (int i = 0; i < parentUrl.length(); i++) {
                        if (!Character.isWhitespace(parentUrl.charAt(i))) {
                            isBlankParentUrl = false;
                        }
                    }
                }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java

                    if (isCompatible(request, ver)) {
                        version = ver;
                        repo = versions.versions.get(version);
                        break;
                    }
                }
    
                if (version == null) {
                    for (Version v : snapshots) {
                        String ver = v.toString();
                        if (isCompatible(request, ver)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            if (policy == null) {
                throw new GraphConflictResolutionException("no GraphConflictResolutionPolicy injected");
            }
    
            if (graph == null) {
                return null;
            }
    
            final MetadataGraphVertex entry = graph.getEntry();
            if (entry == null) {
                return null;
            }
    
            if (graph.isEmpty()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                Model model;
    
                // TODO hack: don't rebuild model if it was already loaded during reactor resolution
                final WorkspaceReader workspace = session.getWorkspaceReader();
                if (workspace instanceof MavenWorkspaceReader) {
                    model = ((MavenWorkspaceReader) workspace).findModel(pomArtifact);
                    if (model != null) {
                        return model;
                    }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            this.projectSelector = new ProjectSelector(); // if necessary switch to DI
        }
    
        @Override
        public Result<ProjectDependencyGraph> build(MavenSession session) {
            try {
                Result<ProjectDependencyGraph> result = sessionDependencyGraph(session);
    
                if (result == null) {
                    final List<MavenProject> projects = getProjectsForMavenReactor(session);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 18.5K bytes
    - Viewed (0)
Back to top