Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for bicycle (0.29 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-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)
  5. 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)
  6. 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)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

            try {
                dag.addEdge(from.toString(), p.toString());
                return true;
            } catch (Graph.CycleDetectedException e) {
                problems.add(new DefaultModelProblem(
                        "Cycle detected between models at " + from + " and " + p,
                        ModelProblem.Severity.FATAL,
                        null,
                        null,
                        0,
                        0,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

        int FINISH_PROCESSING_CHILDREN = 3;
    
        int INCLUDE_ARTIFACT = 4;
    
        int OMIT_FOR_NEARER = 5;
    
        int UPDATE_SCOPE = 6;
    
        @Deprecated
        int MANAGE_ARTIFACT = 7;
    
        int OMIT_FOR_CYCLE = 8;
    
        /**
         * this event means that the artifactScope has NOT been updated to a farther node artifactScope because current
         * node is in the first level pom
         */
        int UPDATE_SCOPE_CURRENT_POM = 9;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

                logger.debug(indent + omitted + " (removed - nearer found: " + keptVersion + ")");
            }
        }
    
        public void omitForCycle(Artifact omitted) {
            logger.debug(indent + omitted + " (removed - causes a cycle in the graph)");
        }
    
        public void updateScopeCurrentPom(Artifact artifact, String ignoredScope) {
            logger.debug(indent + artifact + " (not setting artifactScope to: " + ignoredScope + "; local artifactScope "
    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)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleStarter.java

    import org.apache.maven.lifecycle.internal.builder.Builder;
    import org.apache.maven.lifecycle.internal.builder.BuilderNotFoundException;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Starts the build life cycle
     *
     */
    @Named
    @Singleton
    public class DefaultLifecycleStarter implements LifecycleStarter {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:56:36 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top