Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for type (0.19 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 29 09:32:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultTypeProvider.java

        @Override
        public Collection<Type> provides() {
            return (Collection) types();
        }
    
        public Collection<DefaultType> types() {
            return Arrays.asList(
                    // Maven types
                    new DefaultType(Type.POM, Language.NONE, "pom", null, false),
                    new DefaultType(Type.BOM, Language.NONE, "pom", null, false),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

    import org.apache.maven.api.Type;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Access to {@link Type} registry.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface TypeRegistry extends ExtensibleEnumRegistry<Type> {
    
        /**
         * Obtain the {@link Type} from the specified {@code id}.
         * If no type is known for {@code id}, the registry will
    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)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @param classifier the artifact classifier, or {@code null} is unspecified
         * @param extension the artifact extension, or {@code null} is unspecified
         * @param type the artifact type, or {@code null} is unspecified
         * @return coordinate used to point to the artifact
         *
    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)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                public String getExtension() {
                    return getType().getExtension();
                }
    
                @Override
                public Type getType() {
                    String type = dependency.getType();
                    return session.requireType(type);
                }
    
                @Nonnull
                @Override
                public DependencyScope getScope() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                if (project.hasLifecyclePhase("test-compile")) {
                    return new File(project.getBuild().getTestOutputDirectory());
                }
            } else {
                String type = artifact.getProperty("type", "");
                File outputDirectory = new File(project.getBuild().getOutputDirectory());
    
                // Check if the project is being built during this session, and if we can expect any output.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>${test}</file>");
    
            BeanConfigurationValuePreprocessor preprocessor = (value, type) -> {
                if (value != null && value.startsWith("${") && value.endsWith("}")) {
                    return value.substring(2, value.length() - 1);
                }
                return value;
            };
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadata.java

            if (!artifact.isSnapshot()) {
                versioning.release(artifact.getBaseVersion());
            }
            if ("maven-plugin".equals(artifact.getProperty(ArtifactProperties.TYPE, ""))) {
                versioning.latest(artifact.getBaseVersion());
            }
    
            metadata.versioning(versioning.build());
    
            return metadata.build();
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 10:10:21 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
                    .filter(type::isInstance)
                    .map(type::cast)
                    .findAny()
                    .orElseThrow(() -> new LookupException("No service of type " + type));
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return null;
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java

     *
     */
    @Deprecated
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
        public TestArtifactHandler(String type) {
            this(type, type);
        }
    
        public TestArtifactHandler(String type, String extension) {
            this.type = type;
            this.extension = extension;
        }
    
        @Override
        public String getClassifier() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top