Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for toArtifact (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            return (string == null || string.isEmpty()) ? null : string;
        }
    
        private static org.apache.maven.artifact.Artifact toArtifact(Dependency dependency) {
            if (dependency == null) {
                return null;
            }
    
            org.apache.maven.artifact.Artifact result = toArtifact(dependency.getArtifact());
            result.setScope(dependency.getScope());
            result.setOptional(dependency.isOptional());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

            this.repoSystem = repoSystem;
            this.dependenciesValidators = dependenciesValidators;
        }
    
        private Artifact toArtifact(Plugin plugin, RepositorySystemSession session) {
            return new DefaultArtifact(
                    plugin.getGroupId(),
                    plugin.getArtifactId(),
                    null,
                    "jar",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepositoryManager.java

        public Path getPathForLocalArtifact(Session session, LocalRepository local, Artifact artifact) {
            InternalSession s = InternalSession.from(session);
            String path = getManager(s, local).getPathForLocalArtifact(s.toArtifact(artifact));
            return local.getPath().resolve(path);
        }
    
        @Override
        public Path getPathForRemoteArtifact(
                Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultLocalRepositoryManager.java

        public Path getPathForLocalArtifact(Session session, LocalRepository local, Artifact artifact) {
            InternalSession s = InternalSession.from(session);
            String path = getManager(s, local).getPathForLocalArtifact(s.toArtifact(artifact));
            return local.getPath().resolve(path);
        }
    
        @Override
        public Path getPathForRemoteArtifact(
                Session session, LocalRepository local, RemoteRepository remote, Artifact artifact) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/InternalSession.java

        List<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<Artifact> artifacts);
    
        org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact);
    
        org.eclipse.aether.artifact.Artifact toArtifact(ArtifactCoordinate coord);
    
        MavenSession getMavenSession();
    
        RepositorySystemSession getSession();
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Wed Feb 07 13:37:36 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        @Override
        public void attachArtifact(Project project, Artifact artifact, Path path) {
            getMavenProject(project)
                    .addAttachedArtifact(RepositoryUtils.toArtifact(
                            ((DefaultProject) project).getSession().toArtifact(artifact)));
            artifactManager.setPath(artifact, path);
        }
    
        @Override
        public List<Path> getCompileSourceRoots(Project project, ProjectScope scope) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

        List<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<Artifact> artifacts);
    
        org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact);
    
        org.eclipse.aether.artifact.Artifact toArtifact(ArtifactCoordinate coord);
    
        RepositorySystemSession getSession();
    
        RepositorySystem getRepositorySystem();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            }
            return dep;
        }
    
        @Override
        public List<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<Artifact> artifacts) {
            return artifacts == null ? null : map(artifacts, this::toArtifact);
        }
    
        @Override
        public org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact) {
            File file = getService(ArtifactManager.class)
                    .getPath(artifact)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 27.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        @Override
        public List<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<Artifact> artifacts) {
            return artifacts == null ? null : map(artifacts, this::toArtifact);
        }
    
        @Override
        public org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact) {
            File file = getService(ArtifactManager.class)
                    .getPath(artifact)
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

            request.setTrace(RequestTrace.newChild(null, legacySupport.getSession().getCurrentProject()));
    
            org.eclipse.aether.artifact.Artifact mainArtifact = RepositoryUtils.toArtifact(artifact);
            mainArtifact = mainArtifact.setFile(source);
            request.addArtifact(mainArtifact);
    
            for (ArtifactMetadata metadata : artifact.getMetadataList()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
Back to top