Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for text (0.73 sec)

  1. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        /**
         * Uses the {@link org.jline.jansi.AnsiRenderer}
         * to generate the ANSI escape sequences for the supplied text.
         *
         * @param text text
         * @return this
         * @since 2.2
         */
        public Ansi render(final String text) {
            a(new org.jline.jansi.Ansi().render(text).toString());
            return this;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            // simple bean? assumes string constructor
            if (parser.next() == XmlPullParser.TEXT) {
                final String text = parser.getText();
    
                // confirm element doesn't contain nested XML
                if (parser.next() != XmlPullParser.START_TAG) {
                    return convertText(text, clazz == rawType ? toType : TypeLiteral.get(clazz));
                }
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            target = createMetadataFromArtifact(artifact);
        }
    
        /*--- START test common metadata ---*/
        @Test
        void mergeEmptyMetadata() throws Exception {
            Metadata metadata = new Metadata();
            assertFalse(metadata.merge(new Metadata()));
        }
    
        @Test
        void mergeDifferentGAV() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertCollectorState(0, 1, 0, collector);
        }
    
        @Test
        public void testShouldNotThrowExceptionOnReferenceToValueContainingNakedExpression() throws Exception {
            Scm scm = Scm.newBuilder().connection("${test}/somepath").build();
            Map<String, String> props = new HashMap<>();
            props.put("test", "test");
            Model model = Model.newBuilder().scm(scm).properties(props).build();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // We have collected all the problems so let's mimic the way the old code worked and just blow up right here.
            // That's right lets just let it rip right here and send a big incomprehensible blob of text at unsuspecting
            // users. Bad dog!
    
            resolutionErrorHandler.throwErrors(request, result);
    
            return result;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    // It would be cool if there was a hook that I could use to set up a test environment.
    // I want to set up a local/remote repositories for testing but I don't want to have
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Artifact result = artifacts.iterator().next();
    
            assertEquals("org.myco.plugins", result.getGroupId());
        }
    
        @Test
        void testRootDirectoryNotPrefixed() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(createDefaultProject(), new Properties());
            assertNull(ee.evaluate("${rootDirectory}"));
        }
    
        @Test
        void testRootDirectoryWithNull() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

        }
    
        @Test
        void testReadModifiedPoms(@TempDir Path tempDir) throws Exception {
            // TODO a similar test should be created to test the dependency management (basically all usages
            // of DefaultModelBuilder.getCache() are affected by MNG-6530
    
            FileUtils.copyDirectoryStructure(new File("src/test/resources/projects/grandchild-check"), tempDir.toFile());
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            Node root = session.collectDependencies(artifact);
            assertNotNull(root);
        }
    
        @Test
        void testResolveArtifactCoordinateDependencies() {
            DependencyCoordinate coord = session.createDependencyCoordinate(
                    session.createArtifactCoordinate("org.apache.maven.core.test", "test-extension", "1", "jar"));
    
            List<Path> paths = session.resolveDependencies(coord);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 14:13:36 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         * So the modular test output directory usually needs to be placed in a {@code --path-module} option.
         *
         * <ul>
         *   <li>If the test output directory is modular, then:
         *     <ul>
         *       <li>If a test module name is identical to a main module name,
         *           place the test directory in a {@code --patch-module} option.</li>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top