- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 61 for setVersions (1.61 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java
// version // goal // plugin = new Plugin(); plugin.setGroupId(tok[0]); plugin.setArtifactId(tok[1]); plugin.setVersion(tok[2]); goal.append(tok[3]); // This won't be valid, but it constructs something easy to read in the error message for (int idx = 4; idx < tok.length; idx++) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 11.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/CoreExtension.java
} // -- void setGroupId( String ) /** * Set the version of the extension. * * @param version a version object. */ public void setVersion(String version) { this.version = version; } // -- void setVersion( String ) /** * Gets the identifier of the extension. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 4.5K bytes - Click Count (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
setVersioning( v ); changed = true; } for ( String version : versioning.getVersions() ) { if ( !v.getVersions().contains( version ) ) { changed = true; v.getVersions().add( version ); } } if ( "null".equals( versioning.getLastUpdated() ) )
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed May 15 17:32:27 GMT 2024 - 15.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/LocalSnapshotMetadata.java
Metadata metadata = new Metadata(); metadata.setVersioning(versioning); metadata.setGroupId(artifact.getGroupId()); metadata.setArtifactId(artifact.getArtifactId()); metadata.setVersion(artifact.getBaseVersion()); metadata.setModelVersion("1.1.0"); return metadata; } public void bind(Artifact artifact) { artifacts.add(artifact); } @DeprecatedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java
*/ public int getVersion() { return version; } /** * Sets the witness protocol version. * * @param version the protocol version */ public void setVersion(int version) { this.version = version; } /** * Gets the share name to monitor. * * @return the share name */ public String getShareName() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
? parentData.getGroupId() : currentData.getRawModel().getGroupId()); currentData.setVersion( currentData.getRawModel().getVersion() == null ? parentData.getVersion() : currentData.getRawModel().getVersion());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
project = new Project(); project.setModelVersion("4.0.0"); project.setGroupId("org.apache.maven"); project.setArtifactId("maven-core"); project.setName("Maven"); project.setVersion("2.0-SNAPSHOT"); project.setScm(new Scm()); project.getScm().setConnection("scm-connection"); project.addDependency(dependency1); project.addDependency(dependency2);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 16.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
if (Artifact.LATEST_VERSION.equals(version) || Artifact.RELEASE_VERSION.equals(version)) { // meta-versions are not valid <version/> values...don't write them. metadata.setVersion(null); } if (changed || !metadataFile.exists()) { metadataFile.getParentFile().mkdirs(); try (OutputStream output = Files.newOutputStream(metadataFile.toPath())) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java
this.source = source; this.model = model; setGroupId(groupId); setArtifactId(artifactId); setVersion(version); } public ModelSource getSource() { return source; } /** * Gets the model being wrapped. * * @return The model or {@code null} if not set. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
parent.getGroupId(), parent.getArtifactId(), parent.getVersion()); } parent.setVersion(versionRangeResult.getHighestVersion().toString()); return resolveModel(parent.getGroupId(), parent.getArtifactId(), parent.getVersion()); } catch (final VersionRangeResolutionException e) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 10.8K bytes - Click Count (0)