Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for if (0.28 sec)

  1. 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)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

            if (getSource() != null && !getSource().isEmpty()) {
                buffer.append(getSource());
            }
            if (getLineNumber() > 0) {
                if (!buffer.isEmpty()) {
                    buffer.append(", ");
                }
                buffer.append("line ").append(getLineNumber());
            }
            if (getColumnNumber() > 0) {
                if (!buffer.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

                StringBuilder sb = new StringBuilder();
                if (groupId != null) {
                    sb.append(groupId);
                }
                sb.append(":");
                if (artifactId != null) {
                    sb.append(artifactId);
                }
                sb.append(":");
                if (version != null) {
                    sb.append(version);
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepositoryManager.java

                InternalSession session, LocalRepository local) {
            org.eclipse.aether.repository.LocalRepository repository = session.toRepository(local);
            if ("enhanced".equals(repository.getContentType())) {
                repository = new org.eclipse.aether.repository.LocalRepository(repository.getBasePath(), "");
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

     * of sessions, use {@link CloseableSession#close()} method on built instance(s).
     * <p>
     * Extend this class and override methods to customize, if needed.
     *
     * @since 4.0.0
     */
    public class MavenSessionBuilderSupplier implements Supplier<SessionBuilder> {
        protected final RepositorySystem repositorySystem;
        protected final InternalScopeManager scopeManager;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultRepositoryFactory.java

            String checksumPolicy = RepositoryPolicy.CHECKSUM_POLICY_FAIL;
            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 May 02 16:33:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            if (Files.isRegularFile(source)) {
                throw new IllegalArgumentException("source file does not exist or is not a file");
            }
            if (relativeTarget.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI target = baseURI.resolve(relativeTarget);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MoreCollectors.java

       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
       *     {@code null}) and returns {@code Optional.empty()} if it has none.
       */
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelResolver.java

                throws ModelResolverException {
            try {
                ArtifactCoordinate coord = session.createArtifactCoordinate(groupId, artifactId, version, "pom");
                if (coord.getVersion().getVersionRange() != null
                        && coord.getVersion().getVersionRange().getUpperBoundary() == null) {
                    // Message below is checked for in the MNG-2199 core IT.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

        @Override
        public Optional<Path> getPath(@Nonnull Artifact artifact) {
            String id = id(nonNull(artifact, "artifact"));
            if (session.getMavenSession().getAllProjects() != null) {
                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top