Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Reference (0.22 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * @since 3.0
     */
    // TODO The configuration for the lifecycle needs to be externalized so that I can use the annotations properly for the
    // 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"};
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

        }
    
        @Test
        void testThatErrorDuringProjectDependencyGraphCreationAreStored() throws Exception {
            MavenExecutionRequest request =
                    createMavenExecutionRequest(getProject("cyclic-reference")).setGoals(asList("validate"));
    
            MavenExecutionResult result = maven.execute(request);
    
            assertEquals(ProjectCycleException.class, result.getExceptions().get(0).getClass());
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

        private static final Map<Model, Map<List<Profile>, Model>> CACHE = Collections.synchronizedMap(new WeakHashMap<>());
    
        // In order for the weak hash map to work correctly, we must not hold any reference to
        // the model used as the key.  So we use a dummy model as a placeholder to indicate that
        // we want to store the model used as they key.
        private static final Model KEY = Model.newInstance();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // The root artifact may, or may not be resolved so we need to check before we attempt to resolve.
            // This is often an artifact like a POM that is taken from disk and we already have hold of the
            // file reference. But this may be a Maven Plugin that we need to resolve from a remote repository
            // as well as its dependencies.
    
            if (request.isResolveRoot() /* && rootArtifact.getFile() == null */) {
                try {
    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)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            .orElse(null);
                    if (cycle != null) {
                        throw new RuntimeException(new ProjectCycleException(
                                "The projects in the reactor contain a cyclic reference: " + cycle.getMessage(),
                                (CycleDetectedException) cycle.getException()));
                    }
                    throw new ProjectBuildingException(results);
                }
    
    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)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelUrlNormalizer.java

     */
    package org.apache.maven.api.services.model;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     */
    public interface ModelUrlNormalizer {
    
        /**
         * Normalizes the well-known URLs of the specified model.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelUrlNormalizer.java

    import org.apache.maven.api.services.ModelBuilderRequest;
    import org.apache.maven.api.services.model.ModelUrlNormalizer;
    import org.apache.maven.api.services.model.UrlNormalizer;
    
    /**
     * Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
     * model inheritance.
     *
     */
    @Named
    @Singleton
    public class DefaultModelUrlNormalizer implements ModelUrlNormalizer {
    
    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)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                    // This means a module which is build has a dependency which has the same
                    // groupId, artifactId, version and classifier coordinates. This is in consequence
                    // a self reference or in other words a circular reference which can not being resolved.
                    addViolation(
                            problems,
                            Severity.FATAL,
                            Version.V31,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

         */
        private void fixTimestamp(File metadataFile, Metadata metadata, Metadata reference) {
            boolean changed = false;
    
            if (metadata != null && reference != null) {
                Versioning versioning = metadata.getVersioning();
                Versioning versioningRef = reference.getVersioning();
                if (versioning != null && versioningRef != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         * be able to accept <code>relative</code> parameter values that
         * <ul>
         * <li>use either / or \ file path separator,</li>
         * <li>have .. parent directory references,</li>
         * <li>point either at file or directory.</li>
         * </ul>
         *
         * @param relative is the path of the requested source relative to this source
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top