Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for safety (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                                    + "plugin(s) that have goals not marked as thread-safe to support parallel execution.",
                            "While this /may/ work fine, please look for plugin updates and/or "
                                    + "request plugins be made thread-safe.",
                            "If reporting an issue, report it against the plugin in question, not against Apache Maven.")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
     * <strong>Note:</strong> Actual implementations must be thread-safe.
     *
     * @see Session#getData()
     * @since 4.0.0
     */
    @Experimental
    @ThreadSafe
    @Provider
    public interface SessionData {
    
        /**
         * Associates the specified session data with the given key.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                        }
                    }
                }
            }
            return plugins.values();
        }
    
        private PluginInfo extractPluginInfo(Artifact artifact) {
            // sanity: jar, no classifier and file exists
            if (artifact != null
                    && "jar".equals(artifact.getExtension())
                    && "".equals(artifact.getClassifier())
                    && artifact.getPath() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. api/maven-api-plugin/src/main/mdo/plugin.mdo

            </field>
            <field>
              <name>threadSafe</name>
              <version>1.0.0/1.1.0</version>
              <type>boolean</type>
              <description>
                Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
                builds. Mojos without this annotation will make Maven output a warning when used during a parallel build
                session.
                @since Maven 3.0.
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Apr 14 17:14:22 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact;
    
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * Type safe enumeration for the artifact status field.
     *
     */
    @Deprecated
    public final class ArtifactStatus implements Comparable<ArtifactStatus> {
        /**
         * No trust - no information about status.
         */
    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/repository/metadata/DefaultClasspathTransformation.java

            }
        }
    
        // ===================================================================================================
        /**
         * Helper class to traverse graph. Required to make the containing method thread-safe
         * and yet use class level data to lessen stack usage in recursion
         */
        private class ClasspathGraphVisitor {
            MetadataGraph graph;
    
            ClasspathContainer cpc;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/properties/internal/SystemProperties.java

    public class SystemProperties {
        /**
         * Thread-safe System.properties copy implementation.
         */
        public static void addSystemProperties(Properties props) {
            props.putAll(getSystemProperties());
        }
    
        /**
         * Returns a copy of {@link System#getProperties()} in a thread-safe manner.
         *
         * @return {@link System#getProperties()} obtained in a thread-safe manner.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                    if (vertex != null) {
                        addEdge(projectVertex, vertex, project, projectMap, force, safe);
                    }
                } else {
                    for (Vertex vertex : vertices.values()) {
                        addEdge(projectVertex, vertex, project, projectMap, force, safe);
                    }
                }
            }
        }
    
        private void addEdge(
                Vertex fromVertex,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

        private volatile ProjectSegment currentBuild;
    
        private final PrintStream originalSystemOUtStream;
    
        private final ConsolePrinter printer;
    
        /**
         * A simple but safe solution for printing to the console.
         */
        class ConsolePrinter implements Runnable {
            private volatile boolean running;
    
            private final ProjectBuildList projectBuildList;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/MultilineMessageHelperTest.java

            msgs.add("* as @threadSafe to support parallel building.                  *");
            msgs.add("* While this /may/ work fine, please look for plugin updates    *");
            msgs.add("* and/or request plugins be made thread-safe.                   *");
            msgs.add("* If reporting an issue, report it against the plugin in        *");
            msgs.add("* question, not against maven-core                              *");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
Back to top