Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for bicycle (0.21 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
                if (cycle != null) {
                    // remove edge which introduced cycle
                    throw new CycleDetectedException(
                            "Edge between '" + from + "' and '" + to + "' introduces to cycle in the graph", cycle);
                }
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/Graph.java

            from.children.add(to);
            to.parents.add(from);
            List<String> cycle = findCycle(to);
            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
                        "Edge between '" + from.label + "' and '" + to.label + "' introduces to cycle in the graph", cycle);
            }
        }
    
        void removeEdge(Vertex from, Vertex to) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. maven-core/src/site/apt/inheritance.apt

       - [version] tells maven what release of this artifact we're trying to produce.
           The fact that a project has a distinct pom.xml should indicate a separate
           release cycle that is also distinct to that project, so a concrete version
           declaration is required.
    
       - [name] tells maven what the user-friendly name of this project is. The name
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                if (parentData == null) {
                    currentData = superData;
                } else if (!parentIds.add(parentData.id())) {
                    StringBuilder message = new StringBuilder("The parents form a cycle: ");
                    for (String parentId : parentIds) {
                        message.append(parentId).append(" -> ");
                    }
                    message.append(parentData.id());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    r); private static final int getFreq(Object, java.util.Map); } org/codehaus/plexus/util/dag/CycleDetectedExcepti.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetectedExcepti extends Exception { private java.util.List cycle; public void CycleDetectedExcepti(String, java.util.List); public java.util.List getCycle(); public String cycleToString(); public String getMessage(); } org/codehaus/plexus/util/dag/CycleDetector.class package org.codehaus.plexus.util.dag; public...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  6. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    r); private static final int getFreq(Object, java.util.Map); } org/codehaus/plexus/util/dag/CycleDetectedExcepti.class package org.codehaus.plexus.util.dag; public synchronized class CycleDetectedExcepti extends Exception { private java.util.List cycle; public void CycleDetectedExcepti(String, java.util.List); public java.util.List getCycle(); public String cycleToString(); public String getMessage(); } org/codehaus/plexus/util/dag/CycleDetector.class package org.codehaus.plexus.util.dag; public...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            List<String> cycle = cde.getCycle();
            assertNotNull(cycle, "Cycle should be not null");
            assertTrue(cycle.contains("a"), "Cycle contains 'a'");
            assertTrue(cycle.contains("b"), "Cycle contains 'b'");
            assertTrue(cycle.contains("c"), "Cycle contains 'c'");
    
            Graph graph3 = new Graph();
            addEdge(graph3, "a", "b");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/CyclicDependencyException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Indicates a cycle in the dependency graph.
     *
     */
    public class CyclicDependencyException extends ArtifactResolutionException {
        private Artifact artifact;
    
        public CyclicDependencyException(String message, Artifact artifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/CycleDetectedInPluginGraphException.java

    public class CycleDetectedInPluginGraphException extends Exception {
        private final Plugin plugin;
    
        public CycleDetectedInPluginGraphException(Plugin plugin, CycleDetectedInComponentGraphException e) {
            super("A cycle was detected in the component graph of the plugin: " + plugin.getArtifactId());
    
            this.plugin = plugin;
        }
    
        public Plugin getPlugin() {
            return plugin;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    org.apache.maven.model.building.ModelProblem cycle = results.stream()
                            .flatMap(r -> r.getProblems().stream())
                            .filter(p -> p.getException() instanceof CycleDetectedException)
                            .findAny()
                            .orElse(null);
                    if (cycle != null) {
                        throw new RuntimeException(new ProjectCycleException(
    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)
Back to top