Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Mackey (0.18 sec)

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

            return Holder.deref(modelByGA.get(new GAKey(groupId, artifactId)));
        }
    
        @Override
        public Path locate(Path path) {
            return modelLocator.locateExistingPom(path);
        }
    
        static class GAKey {
            private final String groupId;
            private final String artifactId;
            private final int hashCode;
    
            GAKey(String groupId, String artifactId) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        @Deprecated // This appears only to be used in test code
        public String getModulePathAdjustment(MavenProject moduleProject) throws IOException {
            // FIXME: This is hacky. What if module directory doesn't match artifactid, and parent
            // is coming from the repository??
            String module = moduleProject.getArtifactId();
    
            File moduleFile = moduleProject.getFile();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java

    import org.apache.maven.api.services.ModelTransformerContext;
    import org.apache.maven.api.services.ModelTransformerContextBuilder;
    import org.apache.maven.internal.impl.model.DefaultModelTransformerContext.GAKey;
    import org.apache.maven.internal.impl.model.DefaultModelTransformerContext.Holder;
    
    /**
     * Builds up the transformer context.
    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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

    import org.apache.maven.api.services.Source;
    import org.eclipse.aether.RepositoryCache;
    import org.eclipse.aether.RepositorySystemSession;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * A model builder cache backed by the repository system cache.
     *
     */
    public class DefaultModelCache implements ModelCache {
        private static final String KEY = DefaultModelCache.class.getName();
    
        @SuppressWarnings("unchecked")
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
                if (!(obj instanceof GAKey)) {
                    return false;
                }
                GAKey that = (GAKey) obj;
                return artifactId.equals(that.artifactId) && groupId.equals(that.groupId);
            }
    
            @Override
            public int hashCode() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

     */
    @Experimental
    public interface Source {
    
        /**
         * Provides access the file to be parsed, if this source is backed by a file.
         *
         * @return the underlying {@code Path}, or {@code null} if this source is not backed by a file
         */
        @Nullable
        Path getPath();
    
        /**
         * Creates a new byte stream to the source contents.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

    import static org.hamcrest.Matchers.contains;
    import static org.hamcrest.Matchers.containsString;
    import static org.hamcrest.Matchers.empty;
    import static org.hamcrest.Matchers.greaterThan;
    import static org.hamcrest.Matchers.hasKey;
    import static org.hamcrest.Matchers.is;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                info.repository = repository;
                info.timestamp = timestamp;
            }
        }
    
        private void merge(Map<String, VersionInfo> infos, String srcKey, String dstKey) {
            VersionInfo srcInfo = infos.get(srcKey);
            VersionInfo dstInfo = infos.get(dstKey);
    
            if (dstInfo == null
                    || (srcInfo != null
                            && dstInfo.isOutdated(srcInfo.timestamp)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  9. maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

        /**
         * Creates a new source backed by the specified file.
         *
         * @param file The file, must not be {@code null}.
         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

    /**
     * Wraps an ordinary {@link URL} as a source.
     *
     */
    public class UrlSource implements Source {
    
        private final URL url;
    
        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified URL.
         *
         * @param url The file, must not be {@code null}.
         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top