Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 819 for throws (0.03 seconds)

  1. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

            }
        }
    
        /**
         * Parse jvm.config file and return formatted arguments.
         * Package-private for testing.
         */
        static String parseJvmConfig(Path jvmConfigPath, String mavenProjectBasedir) throws IOException {
            StringBuilder result = new StringBuilder();
    
            for (String line : Files.readAllLines(jvmConfigPath, StandardCharsets.UTF_8)) {
                line = processLine(line, mavenProjectBasedir);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

             *
             * @param step The build step to execute
             * @throws IOException If there's an IO error during execution
             * @throws LifecycleExecutionException If there's a lifecycle execution error
             */
            private void executeStep(BuildStep step) throws IOException, LifecycleExecutionException {
                Clock clock = getClock(step.project);
                switch (step.name) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

         *
         * @param <T> the type of the model object
         * @param object the model object to process
         * @return the processed object (may be the same instance, a pooled instance, or a modified instance)
         * @throws IllegalArgumentException if the object cannot be processed
         */
        <T> T process(T object);
    
        /**
         * Process a model object using the first available processor implementation.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateDefaultImports.java

        /**
         * Package name can end with '.**' to exclude subpackages as well.
         */
        @Input
        public abstract SetProperty<String> getExcludedPackages();
    
        @TaskAction
        public void generate() throws IOException {
            final Set<String> packages = new LinkedHashSet<>();
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:21 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java

        public Decrypt(MessageBuilderFactory messageBuilderFactory, SecDispatcher secDispatcher) {
            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        protected int doExecute(EncryptContext context) throws Exception {
            String encrypted = context.reader.readLine("Enter the password to decrypt: ");
            if (secDispatcher.isAnyEncryptedString(encrypted)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenArtifactRelocationSource.java

         * @return The {@link Artifact} to relocate to, or {@code null} if no relocation wanted.
         */
        Artifact relocatedTarget(RepositorySystemSession session, ArtifactDescriptorResult result, Model model)
                throws ArtifactDescriptorException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                    return null;
                }
                return target.toFile();
            } catch (IOException | XMLStreamException | ModelBuilderException e) {
                throw new TransformationFailedException(e);
            }
        }
    
        private String mayUpdate() throws IOException, XMLStreamException, ModelBuilderException {
            String result;
            ModelSource src = sourcePathProvider.get();
            if (src == null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/PomlessCollectionStrategy.java

        public PomlessCollectionStrategy(ProjectBuilder projectBuilder) {
            this.projectBuilder = projectBuilder;
        }
    
        @Override
        public List<MavenProject> collectProjects(final MavenExecutionRequest request) throws ProjectBuildingException {
            ProjectBuildingRequest buildingRequest = request.getProjectBuildingRequest();
            ModelSource modelSource = new UrlModelSource(DefaultMaven.class.getResource("project/standalone.xml"));
    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)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorSubModulesTest.java

        @Inject
        private ExceptionHandler exceptionHandler;
    
        protected String getProjectsDirectory() {
            return "src/test/projects/lifecycle-executor";
        }
    
        @Test
        void testCreation() throws Exception {
            assertNotNull(defaultLifeCycles);
            assertNotNull(mojoExecutor);
            assertNotNull(lifeCycleBuilder);
            assertNotNull(lifeCycleDependencyResolver);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MavenModelVersionTest {
    
        private static Model model;
    
        @BeforeAll
        static void setup() throws Exception {
            try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) {
                model = new MavenStaxReader().read(is);
            }
        }
    
        @Test
        void testV4Model() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top