Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for reference (0.16 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java

        public void setSession(MavenSession session) {
            AtomicReference<MavenSession> reference = DefaultLegacySupport.SESSION.get();
            if (reference != null) {
                reference.set(null);
            }
    
            if (session == null && reference != null) {
                DefaultLegacySupport.SESSION.remove();
            } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/MavenProjectHelper.java

         * @param project project reference.
         * @param artifactType artifact type.
         * @param artifactFile artifact file.
         */
        void attachArtifact(MavenProject project, String artifactType, File artifactFile);
    
        /**
         * Add or replace an artifact to the current project.
         * @param project the project reference.
         * @param artifactType the type (e.g. jar) or null.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                                reference = "AetherClassNotFound";
                            }
                        }
                    }
    
                    if (reference == null || reference.isEmpty()) {
                        reference = getReference(cause);
                    }
    
                    if (reference == null || reference.isEmpty()) {
                        reference = exception.getClass().getSimpleName();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  6. 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)
  7. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

         * <p>
         * <b>NOTE:</b> This will result in a different instance of Model being returned!!!
         *
         * @param model The inbound Model instance, to serialize and reference for expression resolution
         * @param context The other context map to be used during resolution
         *
         * @return The resolved instance of the inbound Model. This is a different instance!
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
  8. 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)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

     *   over {@code 1.0.0.X1}.</li>
     * </ul>
     *
     * @see <a href="https://maven.apache.org/pom.html#version-order-specification">"Versioning" in the POM reference</a>
     */
    public class ComparableVersion implements Comparable<ComparableVersion> {
        private static final int MAX_INTITEM_LENGTH = 9;
    
        private static final int MAX_LONGITEM_LENGTH = 18;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java

        }
    
        /**
         * Add an attached artifact or replace the file for an existing artifact.
         *
         * @see MavenProject#addAttachedArtifact(org.apache.maven.artifact.Artifact)
         * @param project project reference.
         * @param artifact artifact to add or replace.
         */
        public void attachArtifact(MavenProject project, Artifact artifact) {
            project.addAttachedArtifact(artifact);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.3K bytes
    - Viewed (0)
Back to top