Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 116 for empty (0.13 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelData.java

         *
         * @return The effective identifier of the model, never {@code null}.
         */
        public String id() {
            // if source is null, it is the super model, which can be accessed via empty string
            return source != null ? source.getLocation() : "";
        }
    
        @Override
        public String toString() {
            return String.valueOf(model);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

        /**
         * The base URL of the repository, e.g. "http://repo1.maven.org/maven2/". Unless the URL is unknown, it will be
         * terminated by a trailing slash.
         *
         * @return The base URL of the repository or an empty string if unknown, never {@code null}.
         */
        String getRepositoryUrl();
    
        /**
         * The path of the artifact relative to the repository's base URL.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

        private boolean offline;
    
        private boolean forceUpdate;
    
        private ArtifactRepository localRepository;
    
        private List<ArtifactRepository> remoteRepositories;
    
        /**
         * Creates an empty repository request.
         */
        public DefaultRepositoryRequest() {
            // enables no-arg constructor
        }
    
        /**
         * Creates a shallow copy of the specified repository request.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultVersionRangeResolver.java

                            return Optional.of(
                                    new DefaultRemoteRepository((org.eclipse.aether.repository.RemoteRepository) repo));
                        } else {
                            return Optional.empty();
                        }
                    }
                };
            } catch (VersionRangeResolutionException e) {
                throw new VersionRangeResolverException("Unable to resolve version range", e);
            }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 09:10:49 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java

        @Override
        public boolean isMavenVersion(String versionRange) {
            if (Objects.requireNonNull(versionRange, "versionRange cannot be null").isEmpty()) {
                throw new IllegalArgumentException("versionRange cannot be empty");
            }
    
            VersionConstraint constraint;
            try {
                constraint = versionScheme.parseVersionConstraint(versionRange);
            } catch (InvalidVersionSpecificationException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  6. maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
         * which the settings were read.
         *
         * @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        //        ArtifactRepository localArtifactRepo = repoFactory.createLocalRepository( localRepo );
        //
        //        MavenProject project1 = getProjectBuilder().buildFromRepository( artifact, Collections.EMPTY_LIST,
        // localArtifactRepo );
        //
        //        System.out.println( "\n\n" );
        //        System.out.println( "Child SCM URL is: " + project1.getScm().getUrl() );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            EmptyLifecycleBindingsInjector.useEmpty();
        }
    
        /**
         * Will throw exception if url is empty. MNG-4050
         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
            buildPom("empty-distMng-repo-url");
        }
    
        /**
         * Tests that modules is not overridden by profile
         *
         * @throws Exception in case of issue
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

        private static final Attributes.Name AUTO_MODULE_NAME = new Attributes.Name("Automatic-Module-Name");
    
        /**
         * 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.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                            Stream.of(new ProjectArtifact(project)),
                            // main project artifact if not a pom
                            "pom".equals(project.getPackaging()) ? Stream.empty() : Stream.of(project.getArtifact())),
                    // attached artifacts
                    project.getAttachedArtifacts().stream());
            return artifacts.map(RepositoryUtils::toArtifact);
        }
    
    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)
Back to top