Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for type (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

     * to the build path.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Type extends ExtensibleEnum {
        /**
         * Artifact type name for a POM file.
         */
        String POM = "pom";
    
        /**
         * Artifact type name for a BOM file.
         */
        String BOM = "bom";
    
        /**
         * Artifact type name for a JAR file that can be placed either on the class-path or on the module-path.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

         * @param model the model, must not be {@code null}
         * @param type the type
         * @param logger the logger, must not be {@code null}
         */
        protected DefaultToolchain(ToolchainModel model, String type, Logger logger) {
            this(model, logger);
            this.type = type;
        }
    
        @Override
        public final String getType() {
            return type != null ? type : model.getType();
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.*;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({FIELD, METHOD, TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface Typed {
        Class<?>[] value() default {};
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

                    assertEquals(handler.getExtension(), extension, type + " extension");
                    // Packaging/Directory is Maven1 remnant!!!
                    // assertEquals(handler.getPackaging(), packaging, type + " packaging");
                    assertEquals(handler.getClassifier(), classifier, type + " classifier");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 14 10:51:16 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

            this.groupId = groupId;
            this.artifactId = artifactId;
            this.version = version;
            this.type = type;
            this.baseMessage = message;
        }
    
        public InvalidArtifactRTException(
                String groupId, String artifactId, String version, String type, String message, Throwable cause) {
            super(cause);
    
            this.groupId = groupId;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/types/RarTypeProvider.java

    @Named(RarTypeProvider.NAME)
    @Singleton
    public class RarTypeProvider implements Provider<Type> {
        public static final String NAME = "rar";
    
        private final Type type;
    
        public RarTypeProvider() {
            this.type = new DefaultType(
                    NAME,
                    Type.LANGUAGE_JAVA,
                    "rar",
                    null,
                    new DefaultDependencyProperties(DependencyProperties.FLAG_INCLUDES_DEPENDENCIES));
        }
    
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Thu Dec 14 10:51:16 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/types/MavenPluginTypeProvider.java

    @Named(MavenPluginTypeProvider.NAME)
    @Singleton
    public class MavenPluginTypeProvider implements Provider<Type> {
        public static final String NAME = "maven-plugin";
    
        private final Type type;
    
        public MavenPluginTypeProvider() {
            this.type = new DefaultType(
                    NAME,
                    Type.LANGUAGE_JAVA,
                    "jar",
                    null,
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Thu Dec 14 10:51:16 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

     * or another kind of path.
     *
     * <p>One path type is handled in a special way: unlike other options,
     * the paths specified in a {@code --patch-module} Java option is effective only for a specified module.
     * This type is created by calls to {@link #patchModule(String)} and a new instance must be created for
     * every module to patch.</p>
     *
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactFactory.java

            ArtifactType type = null;
            if (request.getType() != null) {
                type = session.getSession().getArtifactTypeRegistry().get(request.getType());
            }
            String str1 = request.getClassifier();
            String classifier =
                    str1 != null && !str1.isEmpty() ? request.getClassifier() : type != null ? type.getClassifier() : null;
            String str = request.getExtension();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

        void testGetType() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model, "TYPE");
            assertEquals("TYPE", toolchain.getType());
    
            model.setType("MODEL_TYPE");
            toolchain = newDefaultToolchain(model);
            assertEquals("MODEL_TYPE", toolchain.getType());
        }
    
        @Test
        void testGetLogger() {
            ToolchainModel model = new ToolchainModel();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top