Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 799 for thrown (0.04 seconds)

  1. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

         */
        public InputSource clone() {
            try {
                InputSource copy = (InputSource) super.clone();
    
                return copy;
            } catch (Exception ex) {
                throw (RuntimeException)
                        new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex);
            }
        } // -- InputSource clone()
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

     * of the given providers. If no input provider is present, the output
     * provider will not be present. If more than one input provider
     * has a value specified, the resulting provider will throw an
     * exception when queried.
     */
    fun <T: Any> atMostOneOf(vararg providers: Provider<T>): Provider<T> {
        return providers.map { provider ->
            provider.map {
                Optional.of(it)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                                + " (" + repository.getUrl() + ")");
            }
    
            if (file == null) {
                // TODO throw something instead?
                return true;
            }
    
            Date lastCheckDate;
    
            if (file.exists()) {
                lastCheckDate = new Date(file.lastModified());
            } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java

            this.pluginVersionResolver = pluginVersionResolver;
        }
    
        public void resolveMissingPluginVersions(MavenProject project, MavenSession session)
                throws PluginVersionResolutionException {
            Map<String, String> versions = new HashMap<>(64);
    
            for (Plugin plugin : project.getBuildPlugins()) {
                if (plugin.getVersion() == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java

            this.buf = out;
            this.consumer = consumer;
        }
    
        public PrintStream printStream() {
            return new LoggingPrintStream(this);
        }
    
        @Override
        public void write(int b) throws IOException {
            super.write(b);
            if (buf.isEol()) {
                String line = new String(buf.toByteArray(), 0, buf.size() - LINE_SEP.length);
                ProjectBuildLogAppender.updateMdc();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 12:31:43 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolverTest.java

        @Inject
        private LifecycleDependencyResolver resolver;
    
        @Override
        protected String getProjectsDirectory() {
            return null;
        }
    
        @Test
        void testCachedReactorProjectDependencies() throws Exception {
            MavenSession session = createMavenSession(
                    new File("src/test/projects/lifecycle-dependency-resolver/pom.xml"), new Properties(), true);
            Collection<String> scopesToCollect = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagement() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

                        break;
                    }
                    builder.append(line);
                    builder.append("\n");
                }
            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
            input.insert(pos, builder.toString().trim());
        }
    
        public char getFirst() {
            return input.charAt(pos);
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         *
         * @param session the Maven session
         * @param source the source of the project to build
         * @return a new ProjectBuilderRequest
         * @throws NullPointerException if session or source is null
         */
        @Nonnull
        static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Source source) {
            return builder()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java

                    if ("file".equals(url.getProtocol())) {
                        basedir = new File(url.getPath());
                    }
                } catch (MalformedURLException e) {
                    throw new IllegalStateException(e);
                }
            }
        }
    
        @Override
        public void close() {}
    
        @Override
        public void get(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top