Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FileModelSource (0.14 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

     */
    @Deprecated(since = "4.0.0")
    public class FileModelSource extends FileSource implements ModelSource3 {
    
        /**
         * Creates a new model source backed by the specified file.
         *
         * @param pomFile The POM file, must not be {@code null}.
         * @deprecated Use {@link #FileModelSource(Path)} instead.
         */
        @Deprecated
        public FileModelSource(File pomFile) {
            super(pomFile);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java

     *
     */
    class FileModelSourceTest {
    
        /**
         * Test of equals method, of class FileModelSource.
         */
        @Test
        void testEquals() throws Exception {
            File tempFile = createTempFile("pomTest");
            FileModelSource instance = new FileModelSource(tempFile);
    
            assertFalse(instance.equals(null));
            assertFalse(instance.equals(new Object()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                return false;
            }
        }
    
        @Override
        public TransformerContext build() {
            return context;
        }
    
        public FileModelSource getSource(String groupId, String artifactId) {
            Set<FileModelSource> sources = mappedSources.get(groupId != null ? groupId + ":" + artifactId : artifactId);
            if (sources == null) {
                return null;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top