Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for using (0.15 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        <T> T computeIfAbsent(@Nonnull Key<T> key, @Nonnull Supplier<T> supplier);
    
        /**
         * Create a key using the given class as an identifier and as the type of the object.
         */
        static <T> Key<T> key(Class<T> clazz) {
            return new Key<>(clazz, clazz);
        }
    
        /**
         * Create a key using the given class and id.
         */
        static <T> Key<T> key(Class<T> clazz, Object id) {
    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)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

         */
        public static class ObjectBasedValueSource extends AbstractValueSource {
    
            private final Object root;
    
            /**
             * Construct a new value source, using the supplied object as the root from
             * which to start, and using expressions split at the dot ('.') to navigate
             * the object graph beneath this root.
             * @param root the root of the graph.
             */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenArtifactRelocationSource.java

    /**
     * Maven relocation source.
     * Note: implementations of this component should avoid the "default" name (has special meaning in Eclipse Sisu) and
     * explicitly order implementations using Sisu priorities.
     *
     * @since 4.0.0
     */
    public interface MavenArtifactRelocationSource {
        /**
         * Returns {@link Artifact} instance where to relocate to, or {@code null}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

            if (Files.isDirectory(path)) {
                /*
                 * Package hierarchy: only one module with descriptor at the root.
                 * This is the layout of output directories in projects using the
                 * classical (Java 8 and before) way to organize source files.
                 */
                Path file = path.resolve(MODULE_INFO);
                if (Files.isRegularFile(file)) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

         */
        public Set<String> getExportedPackages() {
            return packages;
        }
    
        /**
         * The key that can must used to identify the configuration using the
         * {@link javax.inject.Named} annotation.
         */
        public String getKey() {
            return key;
        }
    
        /**
         * Returns the configuration for this extension.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 07:14:56 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

    import org.eclipse.aether.resolution.ArtifactRequest;
    import org.eclipse.aether.util.artifact.ArtifactIdUtils;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A class building reverse tree using {@link CollectStepData} trace data provided in {@link RepositoryEvent}
     * events fired during collection.
     *
     * @since 3.9.0
     */
    class ReverseTreeRepositoryListener extends AbstractRepositoryListener {
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

             * remotely resolved snapshot artifact gets passed into pathOf(). So producing a proper local artifact path
             * using DefaultRepositoryLayout requires us to enforce usage of the artifact's base version. This
             * transformation however contradicts the other use case of precisely obeying the repository's layout. The below
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Creates a derived session using the given local repository.
         *
         * @param localRepository the new local repository
         * @return the derived session
         * @throws NullPointerException if {@code localRepository} is null
         */
        @Nonnull
        Session withLocalRepository(@Nonnull LocalRepository localRepository);
    
        /**
         * Creates a derived session using the given remote repositories.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            if (!outputDirectory.toFile().exists()) {
                return true;
            }
    
            try (Stream<Path> outputFiles = Files.walk(outputDirectory)) {
                // Not using File#lastModified() to avoid a Linux JDK8 milliseconds precision bug: JDK-8177809.
                long artifactLastModified =
                        Files.getLastModifiedTime(packagedArtifactFile.toPath()).toMillis();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         */
        String BOM = "bom";
    
        /**
         * Artifact type name for a JAR file that can be placed either on the class-path or on the module-path.
         * The path (classes or modules) is chosen by the plugin, possibly using heuristic rules.
         * This is the behavior of Maven 3.
         */
        String JAR = "jar";
    
        /**
         * Artifact type name for a fat-JAR file that can be only on the class-path.
    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)
Back to top