Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 150 for init (0.24 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/impl/TestArtifactHandler.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    /**
     * Assists unit testing.
     *
     */
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
        public TestArtifactHandler(String type) {
            this(type, type);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    /**
     * Assists unit testing.
     *
     */
    @Deprecated
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
        public TestArtifactHandler(String type) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

    /**
     * Transformed artifact is derived with some transformation from source artifact.
     *
     * @since TBD
     */
    class TransformedArtifact extends DefaultArtifact {
    
        private static final int SHA1_BUFFER_SIZE = 8192;
        private final DefaultConsumerPomArtifactTransformer defaultConsumerPomArtifactTransformer;
        private final MavenProject project;
        private final Supplier<Path> sourcePathProvider;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/SetWithResolutionResult.java

            this.artifacts = Collections.unmodifiableSet(artifacts);
        }
    
        @Override
        public Iterator<Artifact> iterator() {
            return artifacts.iterator();
        }
    
        @Override
        public int size() {
            return artifacts.size();
        }
    
        @Override
        public DependencyResolutionResult getResult() {
            return result;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:34:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            buffer.append(LS).append("Metadata Type: ").append(getClass().getName());
    
            return buffer.toString();
        }
    
        public int getNature() {
            return RELEASE;
        }
    
        public ArtifactRepositoryPolicy getPolicy(ArtifactRepository repository) {
            int nature = getNature();
            if ((nature & RepositoryMetadata.RELEASE_OR_SNAPSHOT) == RepositoryMetadata.RELEASE_OR_SNAPSHOT) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinate.java

                    && Objects.equals(this.getVersion(), that.getVersion())
                    && Objects.equals(this.getClassifier(), that.getClassifier());
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(getGroupId(), getArtifactId(), getVersion(), getClassifier());
        }
    
        @Override
        public String toString() {
            return coordinate.toString();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

                        stateMap.put(v, DfsState.VISITED);
                    } else if (state == DfsState.VISITING) {
                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
                    }
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        }
    
        public boolean isSnapshot() {
            // Don't consider the artifact's version in here, as this is stored in the directory above that
            return false;
        }
    
        public int getNature() {
            if (artifact.getVersion() != null) {
                return artifact.isSnapshot() ? SNAPSHOT : RELEASE;
            }
    
            VersionRange range = artifact.getVersionRange();
            if (range != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultPluginConfigurationExpander.java

                } else {
                    return plugin;
                }
            });
        }
    
        static <T> List<T> map(List<T> list, Function<T, T> mapper) {
            List<T> newList = list;
            for (int i = 0; i < newList.size(); i++) {
                T oldT = newList.get(i);
                T newT = mapper.apply(oldT);
                if (newT != oldT) {
                    if (newList == list) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            return path.toString();
        }
    
        private String insertRepositoryKey(String filename, String repositoryKey) {
            String result;
            int idx = filename.indexOf('.');
            if (idx < 0) {
                result = filename + '-' + repositoryKey;
            } else {
                result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top