- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for example (0.24 sec)
-
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) -
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) -
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) -
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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java
* * @since 4.0.0 */ @Experimental @Consumer public interface VersionResolver extends Service { /** * 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". * * @param session The repository session, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 2.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
/** * Cache of {@link PathModularization} instances computed for given {@link Path} elements. * The cache is used for avoiding the need to reopen the same files many times when the * same dependency is used for different scope. For example a path used for compilation * is typically also used for tests. */ class PathModularizationCache { /** * Module information for each JAR file or output directories.
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 5.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java
/** * Cache of {@link PathModularization} instances computed for given {@link Path} elements. * The cache is used for avoiding the need to reopen the same files many times when the * same dependency is used for different scope. For example a path used for compilation * is typically also used for tests. */ class PathModularizationCache { /** * Module information for each JAR file or output directories.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 5.2K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java
void testValidateUniqueProxyId() throws Exception { Settings settings = new Settings(); Proxy proxy = new Proxy(); String id = "foo"; proxy.setId(id); proxy.setHost("www.example.com"); settings.addProxy(proxy); settings.addProxy(proxy); SimpleProblemCollector problems = new SimpleProblemCollector(); validator.validate(settings, problems);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* This type is created by calls to {@link #patchModule(String)} and a new instance must be created for * every module to patch.</p> * * <p>Path types are often exclusive. For example, a dependency should not be both on the Java class-path * and on the Java module-path.</p> * * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths() * * @since 4.0.0 */ @Experimental
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.6K bytes - Viewed (0)