Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for if (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * {@link Project}, never returns {@code null} as if context not present, creates it.
         *
         * <strong>Implementation note:</strong> while this method return type is {@link Map}, the
         * returned map instance implements {@link java.util.concurrent.ConcurrentMap} as well.
         *
         * @throws org.apache.maven.api.services.MavenException if not called from the within a mojo execution
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            if (repository == null || repository.getBasedir() == null) {
                return session;
            }
    
            if (session != null) {
                LocalRepositoryManager lrm = session.getLocalRepositoryManager();
                if (lrm != null && lrm.getRepository().getBasedir().equals(new File(repository.getBasedir()))) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                throws ArtifactResolutionException, InvalidVersionSpecificationException {
            ScopeArtifactFilter filter;
            if (Artifact.SCOPE_PROVIDED.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else if (Artifact.SCOPE_SYSTEM.equals(expectedScope)) {
                filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

         *         <code>null</code>. If it is <code>null</code>, the specified version range's recommended
         *         version is used (provided it is non-<code>null</code>). If no recommended version can be
         *         obtained, the returned version range's recommended version is set to <code>null</code>.
         *         </p>
         * @throws NullPointerException if the specified <code>VersionRange</code> is
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                return;
            }
    
            ArtifactRepository localRepo = request.getLocalRepository();
    
            File localFile = new File(localRepo.getBasedir(), localRepo.pathOf(artifact));
    
            artifact.setFile(localFile);
    
            if (!localFile.exists()) {
                if (request.getRemoteRepositories().isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top