- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 204 for try (0.14 sec)
-
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/TransportProvider.java
import org.apache.maven.api.annotations.Nonnull; /** * Transporter provider is a service that provides somewhat trivial transport capabilities backed by Maven internals. * This API does not try to cover all the requirements out there, just the basic ones, and is intentionally simple. * If plugin or extension needs anything more complex feature wise (i.e. HTTP range support or alike) it should * probably roll its own. * <p>
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 2.1K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
private SessionScope sessionScope; protected String component() { return "deployer"; } @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
String CHILDREN_COMBINATION_APPEND = "append"; /** * This default mode for combining children DOMs during merge means that where element names match, the process will * try to merge the element data, rather than putting the dominant and recessive elements (which share the same * element name) as siblings in the resulting DOM. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Nov 27 23:11:34 GMT 2023 - 4.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
// Only select snapshots that are unresolved (eg 1.0-SNAPSHOT, not 1.0-20050607.123456) if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) { try { String version = resolveVersion(artifact, request); artifact.updateVersion(version, request.getLocalRepository()); } catch (RepositoryMetadataResolutionException e) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 6.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java
} VersionConstraint constraint; try { constraint = versionScheme.parseVersionConstraint(versionRange); } catch (InvalidVersionSpecificationException e) { throw new IllegalArgumentException(e.getMessage(), e); } Version current; try { String mavenVersion = getMavenVersion();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 18 11:03:17 GMT 2023 - 4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java
if (Files.isDirectory(dir.resolve(".mvn"))) { return true; } // we're too early to use the modelProcessor ... Path pom = dir.resolve("pom.xml"); try (InputStream is = Files.newInputStream(pom)) { XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is); if (parser.nextTag() == XMLStreamReader.START_ELEMENT
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
throws ArtifactResolverException, IllegalArgumentException { nonNull(request, "request"); InternalSession session = InternalSession.from(request.getSession()); try { Map<Artifact, Path> paths = new HashMap<>(); ArtifactManager artifactManager = session.getService(ArtifactManager.class);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java
if (Files.isRegularFile(artifactPath)) { try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) { ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION); if (pluginDescriptorEntry != null) { try (InputStream is = artifactJar.getInputStream(pluginDescriptorEntry)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
} for (InterpolationPostProcessor postProcessor : postProcessors) { interpolator.addPostProcessor(postProcessor); } try { try { result = interpolator.interpolate(result, recursionInterceptor); } catch (InterpolationException e) { throw new ModelInterpolationException(e.getMessage(), e);
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)