Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for GetScope (0.14 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

            }
            stringBuilder
                    .append(":")
                    .append(dependency.getVersion())
                    .append("@")
                    .append(dependency.getScope() == null ? "compile" : dependency.getScope());
            if (dependency.isOptional()) {
                stringBuilder.append("[optional]");
            }
            if (!dependency.getExclusions().isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

            }
            return tree;
        }
    
        public void setClasspath(List<ArtifactMetadata> classpath) {
            this.classpath = classpath;
        }
    
        public ArtifactScopeEnum getScope() {
            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
            this.scope = scope;
        }
    
        // -------------------------------------------------------------------------------------------
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                MetadataGraphEdge e = edges.get(0);
                if (scope.encloses(e.getScope())) {
                    return e;
                }
    
                return null;
            }
    
            MetadataGraphEdge res = null;
    
            for (MetadataGraphEdge e : edges) {
                if (!scope.encloses(e.getScope())) {
                    continue;
                }
    
                if (res == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            // and we want artifact resolution to only return the system scoped artifact itself.
            //
            if (artifact.getScope() != null && artifact.getScope().equals(Artifact.SCOPE_SYSTEM)) {
                return new ResolutionGroup(null, null, null);
            }
    
            ResolutionGroup cached = cache.get(
                    artifact,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        }
    
        /** {@inheritDoc} */
        public void setVersion(String version) {
            artifact.setVersion(version);
        }
    
        /** {@inheritDoc} */
        public String getScope() {
            return artifact.getScope();
        }
    
        /** {@inheritDoc} */
        public String getType() {
            return artifact.getType();
        }
    
        /** {@inheritDoc} */
        public String getClassifier() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

                    .build();
        }
    
        private Dependency injectDependency(Dependency d) {
            // we cannot set this directly in the MDO due to the interactions with dependency management
            return (d.getScope() == null || d.getScope().isEmpty()) ? d.withScope("compile") : d;
        }
    
        /**
         * Returns a list suited for the builders, i.e. null if not modified
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                result = 31 * result + a.getVersion().hashCode();
            }
            result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0);
            result = 31 * result + (a.getScope() != null ? a.getScope().hashCode() : 0);
            result = 31 * result
                    + (a.getDependencyFilter() != null ? a.getDependencyFilter().hashCode() : 0);
            result = 31 * result + (a.isOptional() ? 1 : 0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                    return session.requireType(type);
                }
    
                @Nonnull
                @Override
                public DependencyScope getScope() {
                    String scope = dependency.getScope() != null ? dependency.getScope() : "";
                    return session.requireDependencyScope(scope);
                }
    
                @Override
                public Boolean getOptional() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/NetbiosName.java

     * 
     * @author mbechler
     *
     */
    public interface NetbiosName {
    
        /**
         * @return the name
         */
        String getName ();
    
    
        /**
         * @return the scope id
         */
        String getScope ();
    
    
        /**
         * @return the name type
         */
        int getNameType ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

    /**
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DependencyCoordinatesFactoryRequest extends ArtifactCoordinatesFactoryRequest {
    
        String getScope();
    
        boolean isOptional();
    
        @Nonnull
        Collection<Exclusion> getExclusions();
    
        @Nonnull
        static DependencyCoordinatesFactoryRequest build(
                @Nonnull Session session,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top