Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 371 for modelVersion1 (0.07 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

        }
    
        private Model newTestModel() {
            Model model = new Model();
            model.setGroupId("modelGroup1");
            model.setArtifactId("modelArtifact1");
            model.setVersion("modelVersion1");
    
            return model;
        }
    
        @Test
        void testDebugEnabled() throws PlexusContainerException {
            Logger logger = mock(Logger.class);
            when(logger.isDebugEnabled()).thenReturn(true);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            String targetModel;
            if (options.modelVersion().isPresent()) {
                targetModel = options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                targetModel = MODEL_VERSION_4_1_0;
            } else {
                targetModel = MavenPomElements.ModelVersions.MODEL_VERSION_4_0_0;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. 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)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                        .modelVersion("4.1.0")
                        .groupId("com.example")
                        .artifactId("module-a")
                        .version("1.0.0")
                        .build();
    
                String moduleBPomXml = PomBuilder.create()
                        .namespace("http://maven.apache.org/POM/4.1.0")
                        .modelVersion("4.1.0")
                        .groupId("com.example")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.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>
                        <groupId>test</groupId>
                        <artifactId>test</artifactId>
                        <version>1.0.0</version>
                        <build>
                            <plugins>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top