- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 372 for modelVersion (0.52 sec)
-
compat/maven-model-builder/src/test/resources/poms/validation/bad-modelVersion.xml
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project> <modelVersion>99.0.0</modelVersion> <groupId>foo</groupId> <artifactId>bar</artifactId> <version>0.1</version>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 907 bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/modelVersion-4_0.xml
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project> <modelVersion>4.0</modelVersion> <groupId>foo</groupId> <artifactId>bar</artifactId> <version>0.1</version>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 904 bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/missing-modelVersion-pom.xml
Guillaume Nodet <******@****.***> 1729859506 +0200
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 901 bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
* * @param modelVersion the model version to validate * @return true if the model version is valid */ public static boolean isValidModelVersion(String modelVersion) { return MODEL_VERSION_4_0_0.equals(modelVersion) || MODEL_VERSION_4_1_0.equals(modelVersion) || MODEL_VERSION_4_2_0.equals(modelVersion); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 9.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
* Gets the namespace URI for a model version. */ private String getNamespaceForModelVersion(String modelVersion) { if (MavenPomElements.ModelVersions.MODEL_VERSION_4_2_0.equals(modelVersion)) { return MavenPomElements.Namespaces.MAVEN_4_2_0_NAMESPACE; } else if (MODEL_VERSION_4_1_0.equals(modelVersion)) { return MAVEN_4_1_0_NAMESPACE; } else { return MAVEN_4_0_0_NAMESPACE;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 16.6K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
assertTrue(ModelVersionUtils.isEligibleForInference(modelVersion)); } @ParameterizedTest(name = "{0}") @ValueSource(strings = {"3.0.0", "5.0.0"}) @DisplayName("should reject inference for unsupported version") void shouldRejectInferenceForUnsupportedVersions(String modelVersion) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 19.6K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
assertNotNull(xmlOutput, "Should produce XML output"); assertTrue(xmlOutput.contains("<project"), "Should contain project element"); assertTrue(xmlOutput.contains("<modelVersion>4.0.0</modelVersion>"), "Should contain modelVersion"); assertTrue(xmlOutput.contains("<groupId>test</groupId>"), "Should contain groupId"); } @Test void testElementOrderingInProject() throws Exception {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 31.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 35.2K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.8K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
String pomXml = """ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.example</groupId> <artifactId>parent-project</artifactId> <version>1.0.0</version>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 17.3K bytes - Viewed (0)