- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 306 for modelVersion (0.06 seconds)
-
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>
Created: 2026-04-05 03:35 - Last Modified: 2024-10-25 12:31 - 904 bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/missing-modelVersion-pom.xml
Guillaume Nodet <******@****.***> 1729859506 +0200
Created: 2026-04-05 03:35 - Last Modified: 2024-10-25 12:31 - 901 bytes - Click Count (0) -
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>
Created: 2026-04-05 03:35 - Last Modified: 2024-10-25 12:31 - 907 bytes - Click Count (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); } /**Created: 2026-04-05 03:35 - Last Modified: 2025-11-18 18:03 - 9.5K bytes - Click Count (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 {
Created: 2026-04-05 03:35 - Last Modified: 2025-11-18 18:03 - 31.3K bytes - Click Count (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>Created: 2026-04-05 03:35 - Last Modified: 2025-11-18 18:03 - 17.3K bytes - Click Count (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) {
Created: 2026-04-05 03:35 - Last Modified: 2025-11-18 18:03 - 19.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
Created: 2026-04-05 03:35 - Last Modified: 2025-11-18 18:03 - 35.2K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy
<!-- is to indicate to Gradle or any Gradle module metadata file consumer --> <!-- that they should prefer consuming it instead. --> <!-- do_not_remove: published-with-gradle-metadata --> <modelVersion>4.0.0</modelVersion> <groupId>org.acme</groupId> <artifactId>hello-world</artifactId> <version>1.0</version> <name>hello-world</name> <description>custom project description</description> <url>unknown</url>
Created: 2026-04-08 16:19 - Last Modified: 2021-06-22 07:24 - 19K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
Created: 2026-04-05 03:35 - Last Modified: 2025-11-18 18:03 - 27.8K bytes - Click Count (0)