Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Dapper (0.19 sec)

  1. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<wrapper><file>test</file></wrapper>");
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config, "wrapper");
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("test"), bean.file);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // The root locator can be used very early during the setup of Maven,
                // even before the arguments from the command line are parsed.  Any exception
                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
                // displayed to the user, so just bail out and return false.
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

    // wiring and reference and external source for the lifecycle configuration.
    @Named
    @Singleton
    public class DefaultLifecycles {
        public static final String[] STANDARD_LIFECYCLES = {"clean", "default", "site", "wrapper"};
    
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        // @Configuration(source="org/apache/maven/lifecycle/lifecycles.xml")
    
        private final Lookup lookup;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedCollection.java

    public class MappedCollection<U, V> extends AbstractCollection<U> {
        private final Collection<V> list;
        private final Function<V, U> mapper;
    
        public MappedCollection(Collection<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public Iterator<U> iterator() {
            Iterator<V> it = list.iterator();
            return new Iterator<U>() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/Utils.java

            }
            return clazz.cast(o);
        }
    
        static <U, V> List<V> map(Collection<U> list, Function<U, V> mapper) {
            return list.stream().map(mapper).collect(Collectors.toList());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

     */
    @Experimental
    @Immutable
    public interface Lifecycle extends ExtensibleEnum {
    
        String CLEAN = "clean";
    
        String DEFAULT = "default";
    
        String SITE = "site";
    
        String WRAPPER = "wrapper";
    
        /**
         * Name or identifier of this lifecycle.
         *
         * @return the unique identifier for this lifecycle
         */
        @Override
        String id();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinate.java

    import org.apache.maven.api.ArtifactCoordinate;
    import org.apache.maven.api.VersionConstraint;
    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    /**
     * A wrapper class around a maven resolver artifact.
     */
    public class DefaultArtifactCoordinate implements ArtifactCoordinate {
        private final @Nonnull InternalSession session;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // workspace
            if (source == null) {
                try {
                    source = container.lookup(ArtifactMetadataSource.class);
                } catch (ComponentLookupException e) {
                    // won't happen
                }
            }
    
            if (listeners == null) {
                listeners = new ArrayList<>();
    
                if (logger.isDebugEnabled()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                if (session != null) {
                    try {
                        modelBuildingRequest.setRootDirectory(session.getRootDirectory());
                    } catch (IllegalStateException e) {
                        // can happen if root directory cannot be found, just ignore
                    }
                }
                */
    
                return modelBuildingRequest;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedList.java

    public class MappedList<U, V> extends AbstractList<U> {
        private final List<V> list;
        private final Function<V, U> mapper;
    
        public MappedList(List<V> list, Function<V, U> mapper) {
            this.list = list;
            this.mapper = mapper;
        }
    
        @Override
        public U get(int index) {
            return mapper.apply(list.get(index));
        }
    
        @Override
        public int size() {
            return list.size();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.3K bytes
    - Viewed (0)
Back to top