- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 226 for setVersion (0.06 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
return repo; } @Override public String getPathForLocalArtifact(Artifact artifact) { if (realLocalRepo) { return delegate.pathOf(RepositoryUtils.toArtifact(artifact.setVersion(artifact.getBaseVersion()))); } return delegate.pathOf(RepositoryUtils.toArtifact(artifact)); } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
// Dependency d = new Dependency(); d.setGroupId("org.apache.maven.its"); d.setArtifactId("b"); d.setVersion("0.1"); d.setScope(Artifact.SCOPE_COMPILE); Artifact artifact = repositorySystem.createDependencyArtifact(d); ArtifactResolutionRequest request = new ArtifactResolutionRequest()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (relocation.getVersion() != null) { // note: see MNG-3454. This causes a problem, but fixing it may break more. artifact.setVersionRange(VersionRange.createFromVersion(relocation.getVersion())); relocatedArtifact = artifact; project.setVersion(relocation.getVersion()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 12:03:50 GMT 2025 - 30.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java
coreExtension.setArtifactId(interpolatedTrimmed(parser.nextText(), "artifactId")); } else if (checkFieldWithDuplicate(parser, "version", null, parsed)) { coreExtension.setVersion(interpolatedTrimmed(parser.nextText(), "version")); } else if (checkFieldWithDuplicate(parser, "classLoadingStrategy", null, parsed)) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 25.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
// resolve plugin version as necessary if (plugin.getVersion() == null) { PluginVersionRequest versionRequest = new DefaultPluginVersionRequest(plugin, session, repositories); try { plugin.setVersion(pluginVersionResolver.resolve(versionRequest).getVersion()); } catch (PluginVersionResolutionException e) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 16:35:21 GMT 2025 - 46.4K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
String PATH_SEP; private String family; private String name; private String version; private String arch; public void Os(); public void Os(String); public void setFamily(String); public void setName(String); public void setArch(String); public void setVersion(String); public boolean eval() throws Exception; public static boolean isFamily(String); public static boolean isName(String); public static boolean isArch(String); public static boolean isVersion(String); public static boolean isOs(String, String,...
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 164.6K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java
} Collection<String> versions = new LinkedHashSet<>(recessive.getVersioning().getVersions()); versions.addAll(versioning.getVersions()); versioning.setVersions(new ArrayList<>(versions)); } // just carry-on as-is if (!recessive.getPlugins().isEmpty()) { metadata.setPlugins(new ArrayList<>(recessive.getPlugins())); } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
session.setSession(defaultSessionFactory.newSession(session)); sessionScope.seed(MavenSession.class, session); sessionScope.seed(Session.class, session.getSession()); sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession())); legacySupport.setSession(session);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon May 05 16:58:52 GMT 2025 - 28.7K bytes - Click Count (1) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java
requestB.setArtifact(artifactB); VersionResult resultB = versionResolver.resolveVersion(session, requestB); assertEquals("07.20.3-20120809.112920-97", resultB.getVersion()); VersionRequest requestA = new VersionRequest(); requestA.addRepository(newTestRepository()); Artifact artifactA =
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.3K bytes - Click Count (0)