Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 224 for catch (0.17 sec)

  1. maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java

            defaultLegacySupport.setSession(m2);
            latch.countDown();
            thread.join();
            assertNull(myRunnable.getSession());
        }
    
        class MyRunnable implements Runnable {
    
            private volatile MavenSession session;
    
            public void run() {
                try {
                    latch.await();
                } catch (InterruptedException ignore) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            StringWriter sWriter = new StringWriter(1024);
    
            MavenStaxWriter writer = new MavenStaxWriter();
            try {
                writer.write(sWriter, model.getDelegate());
            } catch (IOException | XMLStreamException e) {
                throw new ModelInterpolationException("Cannot serialize project model for interpolation.", e);
            }
    
            String serializedModel = sWriter.toString();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                    String c = cache.get(value);
                    if (c == null) {
                        try {
                            c = interpolator.interpolate(value, recursionInterceptor);
                        } catch (InterpolationException e) {
                            problems.add(BuilderProblem.Severity.ERROR, ModelProblem.Version.BASE, e.getMessage(), e);
                        }
                        cache.put(value, c);
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                throws RepositoryMetadataStoreException {
            try {
                updateRepositoryMetadata(localRepository, remoteRepository);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryMetadataStoreException("Error updating group repository metadata", e);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                PluginDescriptor pluginDescriptor = mojoDescriptor.getPluginDescriptor();
                return getMavenSession().getPluginContext(pluginDescriptor, ((DefaultProject) project).getProject());
            } catch (LookupException e) {
                throw new MavenException("The PluginContext is only available during a mojo execution", e);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactInstaller.java

                        new InstallRequest().setArtifacts(session.toArtifacts(request.getArtifacts()));
    
                InstallResult result = repositorySystem.install(session.getSession(), installRequest);
            } catch (InstallationException e) {
                throw new ArtifactInstallerException(e.getMessage(), e);
            }
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                for (org.apache.maven.api.Lifecycle lf : registry) {
                    lifecycles.put(lf.id(), new Lifecycle(registry, lf));
                }
                return lifecycles;
            } catch (LookupException e) {
                throw new IllegalStateException("Unable to lookup lifecycles from the plexus container", e);
            }
        }
    
        public String getLifecyclePhaseList() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactDeployer.java

                        .setArtifacts(session.toArtifacts(artifacts));
    
                DeployResult result = session.getRepositorySystem().deploy(session.getSession(), deployRequest);
            } catch (DeploymentException e) {
                throw new ArtifactDeployerException("Unable to deploy artifacts", e);
            }
        }
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Dec 15 06:34:19 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java

                ArtifactVersion version2 = node2.getArtifact().getSelectedVersion();
    
                return version1.compareTo(version2) <= 0 ? node1 : node2;
            } catch (OverConstrainedVersionException exception) {
                // TODO log message or throw exception?
    
                return null;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java

                                session, reactorContext, projectBuild.getProject(), taskSegment);
                        if (reactorBuildStatus.isHalted()) {
                            break;
                        }
                    } catch (Exception e) {
                        break; // Why are we just ignoring this exception? Are exceptions are being used for flow control
                    }
                }
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top