Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for it (0.13 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
                    } else {
                        file.delete();
                    }
                }
    
                it.remove();
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                classLoader = getClass().getClassLoader();
            }
            try {
                for (Iterator<URL> it = classLoader
                                .getResources("META-INF/maven/org.apache.maven.api.di.Inject")
                                .asIterator();
                        it.hasNext(); ) {
                    URL url = it.next();
                    List<String> lines;
                    try (InputStream is = url.openStream();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.services.VersionParserException;
    
    /**
     * Model builder specific version parser. It is intentionally not
     * {@link org.apache.maven.api.services.VersionParser} as this is not a service,
     * but at Maven runtime it MAY actually use that service.
     *
     * @since 4.0.0
     */
    public interface ModelVersionParser {
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

        // <plugin/> block in a Maven POM. We have to do some wiggling to pull the sources of information
        // together and this really shows the problem of constructing a sensible default configuration but
        // it's all encapsulated here so it appears normalized to the POM builder.
    
        // We are going to take the project packaging and find all plugin in the default lifecycle and create
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

        /**
         * Obtain the {@link Type} from the specified {@code id}.
         * If no type is known for {@code id}, the registry will
         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testProjectInheritance() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

                if (propValue.startsWith("!")) {
                    reverseValue = true;
                    propValue = propValue.substring(1);
                }
    
                // we have a value, so it has to match the system value...
                return reverseValue != propValue.equals(sysValue);
            } else {
                return reverseName != (sysValue != null && !sysValue.isEmpty());
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

         * Do not use directly!
         *
         * @deprecated This ctor is present only for Plexus XML defined component compatibility, do not use it.
         */
        @Deprecated
        public DefaultArtifactHandler() {
            this.type = null;
        }
    
        public DefaultArtifactHandler(final String type) {
            this(type, null, null, null, null, false, null, false);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

         * @return
         */
        public Lifecycle get(String phase) {
            return getPhaseToLifecycleMap().get(phase);
        }
    
        /**
         * We use this to map all phases to the lifecycle that contains it. This is used so that a user can specify the
         * phase they want to execute and we can easily determine what lifecycle we need to run.
         *
         * @return A map of lifecycles, indexed on id
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top