Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 151 for Parenti (0.16 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

            final Parent parent = Parent.newBuilder()
                    .groupId("org.apache")
                    .artifactId("apache")
                    .version("1")
                    .build();
    
            assertNotNull(this.newModelResolver().resolveModel(session, parent, new AtomicReference<>()));
            assertEquals("1", parent.getVersion());
        }
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

            parent.setArtifactId("apache");
            parent.setVersion("1");
    
            assertNotNull(this.newModelResolver().resolveModel(parent.getDelegate(), new AtomicReference<>()));
            assertEquals("1", parent.getVersion());
        }
    
        @Test
        void testResolveParentSuccessfullyResolvesExistingParentUsingHighestVersion() throws Exception {
            final Parent parent = new Parent();
            parent.setGroupId("org.apache");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/java/org/apache/maven/internal/impl/model/MavenModelMergerTest.java

            builder = Model.newBuilder(model);
            modelMerger.mergeModel_ModelVersion(builder, model, parent, false, null);
            assertEquals("5.0.0", builder.build().getModelVersion());
        }
    
        // ArtifactId is neither inherited nor injected
        @Test
        void testMergeModel_ArtifactId() {
            Model parent = Model.newBuilder().artifactId("PARENT").build();
            Model model = Model.newInstance();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java

            }
        }
    
        //
        // Infer parent information
        //
        void handleParent(ModelTransformerContext context, Model model, Path pomFile, Model.Builder builder) {
            Parent parent = model.getParent();
            if (parent != null) {
                String version = parent.getVersion();
                String path = Optional.ofNullable(parent.getRelativePath()).orElse("..");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelResolver.java

    import org.apache.maven.api.model.Parent;
    
    /**
     * Resolves a POM from its coordinates.
     */
    public interface ModelResolver extends Service {
    
        /**
         * Tries to resolve the POM for the specified parent coordinates possibly updating {@code parent}.
         *
         * @param session The session to use to resolve the model, must not be {@code null}.
         * @param parent The parent coordinates to resolve, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            final List<Vertex> parents = new ArrayList<>();
    
            Vertex(String label) {
                this.label = label;
            }
    
            String getLabel() {
                return label;
            }
    
            List<Vertex> getChildren() {
                return children;
            }
    
            List<Vertex> getParents() {
                return parents;
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

        val parent = nonContainerParent
        return when {
            parent is R && check(parent, this) -> parent
            parent is KtQualifiedExpression && parent.selectorExpression == this -> {
                val grandParent = parent.nonContainerParent
                when {
                    grandParent is R && check(grandParent, parent) -> grandParent
                    else -> null
                }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/InheritanceAssembler.java

        /**
         * Merges values from the specified parent model into the given child model. Implementations are expected to keep
         * parent and child completely decoupled by injecting deep copies of objects into the child rather than the original
         * objects from the parent.
         *
         * @param child The child model into which to merge the values inherited from the parent, must not be
         *            <code>null</code>.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .inOrder();
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_duplicateUri_parentWins() throws Exception {
        URL url = new URL("file:/a");
        URLClassLoader parent = new URLClassLoader(new URL[] {url}, null);
        URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

        }
    
        /**
         * Calculates the relative path from the base directory of the parent to the parent directory of the base directory
         * of the child. The general idea is to adjust inherited URLs to match the project layout (in SCM).
         *
         * <p>This calculation is only a heuristic based on our conventions.
         * In detail, the algo relies on the following assumptions: <ul>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top