Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for contents (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        /**
         * Sets the value of the context value of this project identified by the given key. If the supplied value is
         * <code>null</code>, the context value is removed from this project. Context values are intended to allow core
         * extensions to associate derived state with project instances.
         */
        public void setContextValue(String key, Object value) {
            if (context == null) {
                context = new HashMap<>();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("https://project.url/license", pom.getValue("licenses[1]/url"));
            assertEquals("repo", pom.getValue("licenses[1]/distribution"));
            assertEquals("free", pom.getValue("licenses[1]/comments"));
    
            assertEquals(1, ((List<?>) pom.getValue("developers")).size());
            assertEquals("dev", pom.getValue("developers[1]/id"));
            assertEquals("project-developer", pom.getValue("developers[1]/name"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
Back to top