Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for two (0.13 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java

    @Deprecated
    public interface GraphConflictResolver {
        String ROLE = GraphConflictResolver.class.getName();
    
        /**
         * Cleanses the supplied graph by leaving only one directed versioned edge\
         * between any two nodes, if multiple exists. Uses scope relationships, defined
         * in <code>ArtifactScopeEnum</code>
         *
         * @param graph the "dirty" graph to be simplified via conflict resolution
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * This exception is thrown if an application attempts to attach
     * two of the same artifacts to a single project.
     *
     * TODO Make this a checked exception, and modify the API of MavenProjectHelper.
     * Currently, this modification would create compatibility problems for existing plugins.
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

        private static final String DARWIN = "darwin";
    
        /**
         * The path separator.
         */
        private static final String PATH_SEP = System.getProperty("path.separator");
    
        static {
            // Those two public constants are initialized here, as they need all the private constants
            // above to be initialized first, but the code style imposes the public constants to be
            // defined above the private ones...
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            declaringProject.getModel().setBuild(build);
    
            projects = new ProjectSorter(projects).getSortedProjects();
    
            assertEquals(parentProject, projects.get(0));
    
            // the order of these two is non-deterministic, based on when they're added to the reactor.
            assertThat(projects, hasItem(pluginProject));
            assertThat(projects, hasItem(pluginLevelDepProject));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

        void updateScope(Artifact artifact, String scope);
    
        @Deprecated
        void manageArtifact(Artifact artifact, Artifact replacement);
    
        // TODO Use the following two instead of manageArtifact
        // TODO Remove ResolutionListenerDM interface
    
        // void manageArtifactVersion( Artifact artifact, Artifact replacement );
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

         * (and more information) is needed to be able to determine when and if the version and/or artifactScope changes.
         * See the two added methods, manageArtifactVersion and manageArtifactScope.
         */
        public void manageArtifact(Artifact artifact, Artifact replacement) {
            String msg = indent + artifact;
            msg += " (";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * the dependency will be unconditionally placed on the specified type of path
         * and no heuristic rule will be involved.
         *
         * <p>It is nevertheless common to specify two or more types of path. For example,
         * a Java library may be compatible with either the class-path or the module-path,
         * and the user may have provided no instruction about which type to use. In such
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            PomTestWrapper pom = buildPom("plugin-config-order/wo-plugin-mgmt");
            assertEquals("one", pom.getValue("build/plugins[1]/configuration/stringParams/stringParam[1]"));
            assertEquals("two", pom.getValue("build/plugins[1]/configuration/stringParams/stringParam[2]"));
            assertEquals("three", pom.getValue("build/plugins[1]/configuration/stringParams/stringParam[3]"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  9. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ArtifactVersion.java

     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    /**
     * Describes an artifact version in terms of its components, converts it to/from a string and
     * compares two versions.
     *
     */
    public interface ArtifactVersion extends Comparable<ArtifactVersion> {
        int getMajorVersion();
    
        int getMinorVersion();
    
        int getIncrementalVersion();
    
        int getBuildNumber();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                            }
    
                            if (resolved == null) {
                                // TODO add better exception that can detail the two conflicting artifacts
                                ArtifactResolutionException are = new ArtifactResolutionException(
                                        "Cannot resolve artifact version conflict between "
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
Back to top