Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Sample (0.26 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            Artifact artifact = new DefaultArtifact(
                    "sample.group",
                    "sample-art",
                    VersionRange.createFromVersion("1.0"),
                    "scope",
                    "jar",
                    "classifier",
                    null);
            artifact.setFile(getTestFile("target/sample-art"));
    
            StringWagon wagon = (StringWagon) wagonManager.getWagon("string");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

     * but at Maven runtime it MAY actually use that service.
     *
     * @since 4.0.0
     */
    public interface ModelVersionParser {
    
        /**
         * Parses the specified version string, for example "1.0".
         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

                @Nonnull Project project, @Nonnull PathScope scope, @Nonnull Collection<PathType> desiredTypes);
    
        /**
         * Resolves an artifact's meta version (if any) to a concrete version. For example, resolves "1.0-SNAPSHOT"
         * to "1.0-20090208.132618-23" or "RELEASE"/"LATEST" to "2.0".
         * <p>
         * Shortcut for {@code getService(VersionResolver.class).resolve(...)}
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionProcessor.java

    import java.util.Properties;
    
    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Allows a fixed set of properties that are valid inside a version and that could be overwritten for example on the
     * commandline
     */
    public interface ModelVersionProcessor {
    
        /**
         * @param property the property to check
         * @return <code>true</code> if this is a valid property for this processor
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        @Test
        void testPluginInheritanceSimple() throws Exception {
            PomTestWrapper pom = this.buildPom("plugin-inheritance-simple/sub");
            assertEquals(2, ((List<?>) pom.getValue("build/plugins")).size());
        }
    
        @Test
        void testPluginManagementDuplicate() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         *
         * <p>It is nevertheless common to specify two or more types of path. For example,
         * a Java library may be compatible with either the class-path or the module-path,
         * and the user may have provided no instruction about which type to use. In such
         * case, the plugin may apply rules for choosing a path. See for example
         * {@link JavaPathType#CLASSES} and {@link JavaPathType#MODULES}.</p>
         */
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Dependency scope.
     * This represents at which time the dependency will be used, for example, at compile time only,
     * at run time or at test time.  For a given dependency, the scope is directly derived from the
     * {@link org.apache.maven.api.model.Dependency#getScope()} and will be used when using {@link PathScope}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

     * it delegates to other components that potentially encounter problems. Then, the problem reporter can focus on
     * providing a simple error message, leaving the donkey work of creating a nice model problem to this component.
     *
     */
    public interface ModelProblemCollector {
    
        /**
         * The collected problems.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

    package org.apache.maven.internal.impl;
    
    import org.apache.maven.api.services.BuilderProblem;
    
    /**
     * Describes a problem that was encountered during settings building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
     * that exhibits the problem.
     */
    class DefaultBuilderProblem implements BuilderProblem {
        final String source;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/DefaultMavenTest.java

            Maven maven = getContainer().lookup(Maven.class);
            MavenExecutionRequest request =
                    createMavenExecutionRequest(getProject("simple")).setGoals(asList("validate"));
    
            MavenExecutionResult result = maven.execute(request);
    
            Class<?> wsrClass = wsrClassCatcher.wsrClassRef.get();
            assertNotNull(wsrClass, "wsr cannot be null");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top