Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 819 for throws (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

         * @param context the Maven session, must not be {@code null}
         * @since 3.0 (addition of the <code>MavenSession</code> parameter)
         */
        ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException;
    
        /**
         * Stores the toolchain into build context for later use by toolchain-aware plugins.
         *
         * @param toolchain the toolchain to store, must not be {@code null}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/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
    - 2.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testFalsePluginExecutionInheritValue() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue May 27 13:59:13 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

            this.location = (location != null) ? location : "(memory)";
            this.hashCode = this.content.hashCode();
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
        }
    
        @Override
        public String getLocation() {
            return location;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java

        Key createKey(
                Plugin plugin,
                DependencyFilter extensionFilter,
                List<RemoteRepository> repositories,
                RepositorySystemSession session);
    
        CacheRecord get(Key key) throws PluginResolutionException;
    
        CacheRecord put(Key key, List<Artifact> pluginArtifacts);
    
        CacheRecord put(Key key, PluginResolutionException e);
    
        void flush();
    
        /**
    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)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            super.transferInitiated(event);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            overridePreviousTransfer(event);
    
            super.transferCorrupted(event);
        }
    
        @Override
        public void transferProgressed(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            transfers.put(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/repository/TestMavenRepositorySystem.java

            super(artifactHandlerManager, layouts);
        }
    
        @Override
        public ArtifactRepository createDefaultRemoteRepository() throws Exception {
            return new MavenArtifactRepository(
                    DEFAULT_REMOTE_REPO_ID,
                    "file://"
                            + new File(System.getProperty("basedir", "."), "src/test/remote-repo")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

        }
    
        @Override
        public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {
            if (!Features.consumerPom(session.getConfigProperties())) {
                try {
                    Model model = read(project.getFile().toPath());
                    String version = model.getVersion();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

            this.lifecyclePluginResolver = lifecyclePluginResolver;
        }
    
        @Override
        public List<TaskSegment> calculateTaskSegments(MavenSession session)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:07:01 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

     *
     */
    @PlexusTest
    @Deprecated
    class LegacyRepositorySystemTest {
        @Inject
        private LegacyRepositorySystem repositorySystem;
    
        @Test
        void testThatLocalRepositoryWithSpacesIsProperlyHandled() throws Exception {
            File basedir = new File("target/spacy path").getAbsoluteFile();
            ArtifactRepository repo = repositorySystem.createLocalRepository(basedir);
            assertEquals(basedir, new File(repo.getBasedir()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top