Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getPom (0.09 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    class ComplexActivationTest {
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/factory/" + name + ".xml").getAbsoluteFile();
        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            writer = new DefaultModelWriter();
            assembler = new DefaultInheritanceAssembler();
        }
    
        private File getPom(String name) {
            return new File("src/test/resources/poms/inheritance/" + name + ".xml");
        }
    
        private Model getModel(String name) throws IOException {
            return reader.read(getPom(name), null).getDelegate();
        }
    
        @Test
        void testPluginConfiguration() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

    /**
     */
    class DefaultModelBuilderFactoryTest {
    
        private static final String BASE_DIR =
                Paths.get("src", "test", "resources", "poms", "factory").toString();
    
        private File getPom(String name) {
            return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile();
        }
    
        @Test
        void testCompleteWiring() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            }
        }
    
        private void baseDirectory(MavenExecutionRequest request) {
            if (request.getBaseDirectory() == null && request.getPom() != null) {
                request.setBaseDirectory(request.getPom().getAbsoluteFile().getParentFile());
            }
        }
    
        /*if_not[MAVEN4]*/
    
        @Override
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                if (!optSelectedProject.isPresent()) {
                    String message = "Could not find the selected project in the reactor: " + selector;
                    throw new MavenExecutionException(message, request.getPom());
                }
    
                MavenProject selectedProject = optSelectedProject.get();
    
                selectedProjects.add(selectedProject);
                selectedProjects.addAll(getChildProjects(selectedProject, request));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            System.out.println(
                    "Child SCM developer connection is: " + project1.getScm().getDeveloperConnection());
    
            assertEquals(project1.getScm().getUrl(), project0.getScm().getUrl() + "/modules/p1");
            assertEquals(project1.getScm().getConnection(), project0.getScm().getConnection() + "/modules/p1");
            assertEquals(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("http://www.example.com/", sitemaps[0].getLoc());
            assertEquals("monthly", ((SitemapUrl) sitemaps[0]).getChangefreq());
            assertEquals("0.8", ((SitemapUrl) sitemaps[0]).getPriority());
    
            assertNull(sitemaps[1].getLastmod());
            assertEquals("http://www.example.com/catalog?item=12&desc=vacation_hawaii", sitemaps[1].getLoc());
            assertEquals("weekly", ((SitemapUrl) sitemaps[1]).getChangefreq());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

                assertEquals("seg" + (i + 1), kuromojiItem.getSegmentation());
                assertEquals("reading" + (i + 1), kuromojiItem.getReading());
                assertEquals("pos" + (i + 1), kuromojiItem.getPos());
                assertFalse(kuromojiItem.isUpdated());
                assertFalse(kuromojiItem.isUpdated());
            }
        }
    
        /*
        // TODO
        public void test_insert() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

         * discovery of new URLs on very large sites.
         */
        private String lastmod;
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.Sitemap#getLoc()
         */
        @Override
        public String getLoc() {
            return loc;
        }
    
        public void setLoc(final String loc) {
            this.loc = loc;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationOS os = activation.getOs();
    
            if (os == null) {
                return false;
            }
    
            boolean active = ensureAtLeastOneNonNull(os);
    
            String actualOsName = context.getSystemProperties()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top