Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,593 for Retain (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Objects;
    
    /**
     * Filter to only retain objects in the given artifactScope or better.
     *
     */
    public class ScopeArtifactFilter extends AbstractScopeArtifactFilter {
    
        private final String scope;
    
        public ScopeArtifactFilter(String scope) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Filter to only retain objects in the given artifactScope or better.
     *
     */
    abstract class AbstractScopeArtifactFilter implements ArtifactFilter {
    
        private boolean compileScope;
    
        private boolean runtimeScope;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
     * scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                return null;
            } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile artifactScope. Remove if you want compile inherited as runtime
                desiredScope = Artifact.SCOPE_COMPILE;
            }
    
            if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public boolean isResolved() {
            return resolved;
        }
    
        @Override
        public void setResolvedVersion(String version) {
            this.version = version;
            // retain baseVersion
        }
    
        @Override
        public void setArtifactHandler(ArtifactHandler artifactHandler) {
            this.artifactHandler = artifactHandler;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. LICENSES/third_party/forked/cgroups/LICENSE

              stating that You changed the files; and
    
          (c) You must retain, in the Source form of any Derivative Works
              that You distribute, all copyright, patent, trademark, and
              attribution notices from the Source form of the Work,
              excluding those notices that do not pertain to any part of
              the Derivative Works; and
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Oct 31 17:42:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. LICENSES/third_party/forked/libcontainer/LICENSE

              stating that You changed the files; and
    
          (c) You must retain, in the Source form of any Derivative Works
              that You distribute, all copyright, patent, trademark, and
              attribution notices from the Source form of the Work,
              excluding those notices that do not pertain to any part of
              the Derivative Works; and
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 22 13:56:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                effectiveScope = Artifact.SCOPE_SYSTEM;
            } else if (Artifact.SCOPE_COMPILE.equals(originalScope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile scope. Remove if you want compile inherited as runtime
                effectiveScope = Artifact.SCOPE_COMPILE;
            } else if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                effectiveScope = Artifact.SCOPE_TEST;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            // have been resolved.
            if (request.isResolveRoot()) {
                // Add the root artifact (as the first artifact to retain logical order of class path!)
                Set<Artifact> allArtifacts = new LinkedHashSet<>();
                allArtifacts.add(rootArtifact);
                allArtifacts.addAll(result.getArtifacts());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            VersionRange range2 = VersionRange.createFromVersionSpec("1.1");
            VersionRange mergedRange = range1.restrict(range2);
            // TODO current policy is to retain the original version - is this correct, do we need strategies or is that
            // handled elsewhere?
            //        assertEquals( "1.1", mergedRange.getRecommendedVersion().toString(), CHECK_VERSION_RECOMMENDATION );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top