Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for if (0.13 sec)

  1. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            {
                Artifact artifact = it.next();
    
                if ( "test-artifact2".equals( artifact.getArtifactId() ) )
                {
                    ArtifactFilter filter = artifact.getDependencyFilter();
    
                    assertSame( dependencyFilter, filter );
                }
            }
            */
        }
    
        @Test
        @Disabled("TODO restore these if it makes sense")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            String path = repository.pathOf(artifact);
    
            File artifactFile = new File(repository.getBasedir(), path);
    
            if (artifactFile.exists()) {
                if (!artifactFile.delete()) {
                    throw new IOException("Failure while attempting to delete artifact " + artifactFile);
                }
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

        Session getSession();
    
        @Nonnull
        ModelSource getSource();
    
        int getValidationLevel();
    
        boolean isTwoPhaseBuilding();
    
        boolean isLocationTracking();
    
        /**
         * Indicates if the model to be built is a local project or a dependency.
         * In case the project is loaded externally from a remote repository (as a dependency or
         * even as an external parent), the POM will be parsed in a lenient way.  Local POMs
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

            }
    
            @Override
            public Map<String, String> getEffectiveProperties(Project project) {
                HashMap<String, String> result = new HashMap<>(getSystemProperties());
                if (project != null) {
                    result.putAll(project.getModel().getProperties());
                }
                result.putAll(getUserProperties());
                return result;
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

        public RepositorySystemSupplier() {}
    
        private void checkClosed() {
            if (closed.get()) {
                throw new IllegalStateException("Supplier is closed");
            }
        }
    
        private PathProcessor pathProcessor;
    
        public final PathProcessor getPathProcessor() {
            checkClosed();
            if (pathProcessor == null) {
                pathProcessor = createPathProcessor();
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            values.add(0, new ScopeState());
        }
    
        protected ScopeState getScopeState() {
            if (values.isEmpty()) {
                throw new OutOfScopeException("Cannot access session scope outside of a scoping block");
            }
            return values.get(0);
        }
    
        public void exit() {
            if (values.isEmpty()) {
                throw new IllegalStateException();
            }
            values.remove(0);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            if (pom != null) {
                MavenProject project = projectBuilder.build(pom, configuration).getProject();
    
                projects.add(project);
                if (includeModules) {
                    for (String module : project.getModules()) {
                        File modulePom = new File(pom.getParentFile(), module);
                        if (modulePom.isDirectory()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. 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)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

        private final LifecycleMapping lifecycleMapping;
    
        protected AbstractLifecycleMappingProvider(String[] pluginBindings) {
            requireNonNull(pluginBindings);
            final int len = pluginBindings.length;
            if (len < 2 || len % 2 != 0) {
                throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements");
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 15:34:45 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

            Set<Plugin> plugins;
    
            // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests
            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top