Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 1,145 for PRIVATE (0.03 seconds)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class RemoteSnapshotMetadataTest {
        private Locale defaultLocale;
    
        private static final Pattern DATE_FILTER = Pattern.compile("\\..*");
    
        @BeforeEach
        void setLocaleToUseBuddhistCalendar() {
            defaultLocale = Locale.getDefault();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

     *
     */
    public class MetadataParseException extends IOException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Tools.java

    import org.apache.maven.api.annotations.Immutable;
    
    /**
     * Represents most common tools supported by CLIng.
     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public final class Tools {
        private Tools() {}
    
        public static final String MVN_CMD = "mvn";
        public static final String MVN_NAME = "Maven";
    
        public static final String MVNENC_CMD = "mvnenc";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/InvalidRepositoryException.java

    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     * Error constructing an artifact repository.
     *
     */
    public class InvalidRepositoryException extends Exception {
        private final String repositoryId;
    
        public InvalidRepositoryException(String message, String repositoryId, MalformedURLException cause) {
            super(message, cause);
            this.repositoryId = repositoryId;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

    import java.util.Objects;
    
    /**
     * Filter to only retain objects in the given artifactScope or better.
     *
     */
    public class ScopeArtifactFilter extends AbstractScopeArtifactFilter {
    
        private final String scope;
    
        public ScopeArtifactFilter(String scope) {
            this.scope = scope;
    
            addScopeInternal(scope);
        }
    
        public String getScope() {
            return scope;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/merge/MavenToolchainMergerTest.java

    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MavenToolchainMergerTest {
        private MavenToolchainMerger merger = new MavenToolchainMerger();
    
        private DefaultToolchainsReader reader = new DefaultToolchainsReader();
    
        @Test
        void testMergeNulls() {
            merger.merge(null, null, null);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    
    class MavenLifecycleParticipantTest extends AbstractCoreMavenComponentTestCase {
    
        private static final String INJECTED_ARTIFACT_ID = "injected";
    
        public static class InjectDependencyLifecycleListener extends AbstractMavenLifecycleParticipant {
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

         */
        @Override
        public boolean isErrorEnabled() {
            return true;
        }
    
        private void print(String prefix, CharSequence content) {
            System.out.println("[" + prefix + "] " + content.toString());
        }
    
        private void print(String prefix, Throwable error) {
            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

            "org/gradle/util/**", // contains Path that clashes with `org.gradle.api.model.Path` imported above. This line should not appear before "org/gradle/api/**"
        )
    
        val excludes = listOf("**/internal/**")
    
        private val includePackagePatterns: List<Pattern> by lazy {
            includes.map {
                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 12 23:20:08 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy

                transformer.transform(new DOMSource(root), new StreamResult(stream))
            }
        }
    
        Document getDocument() {
            root
        }
    
        private Document parseSourceFile(File sourceFile) {
            documentBuilder().parse(sourceFile)
        }
    
        private DocumentBuilder documentBuilder() {
            DocumentBuilderFactory.newInstance().with {
                namespaceAware = true
                XIncludeAware = true
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
Back to Top