Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Unknwon (0.16 sec)

  1. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            toolchainModels.put("unknown", Collections.singletonList(new ToolchainModel()));
            executionRequest.setToolchains(toolchainModels);
            when(session.getRequest()).thenReturn(executionRequest);
    
            List<Toolchain> toolchains = toolchainManager.getToolchains(session, "unknown", null);
    
            assertEquals(0, toolchains.size());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Apr 16 12:54:16 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

         */
        @Nonnull
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return the one-based index of the line containing the problem or a non-positive value if unknown
         */
        int getLineNumber();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * @param message The detail message of the problem, may be {@code null}.
         * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param column The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param cause The cause of the problem, may be {@code null}.
         */
        void add(Problem.Severity severity, String message, int line, int column, Exception cause);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerPrivateTest.java

            // execute
            ToolchainPrivate[] toolchains = toolchainManager.getToolchainsForType("unknown", session);
    
            // verify
            verify(logger).error("Missing toolchain factory for type: unknown. Possibly caused by misconfigured project.");
            assertEquals(0, toolchains.length);
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    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)
  6. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

     *
     * @since 3.0.2
     */
    public interface RuntimeInformation {
    
        /**
         * Retrieves the current Maven version, for example "3.0.2".
         *
         * @return The current Maven version or an empty string if unknown, never {@code null}.
         */
        String getMavenVersion();
    
        /**
         * Checks whether the current Maven runtime matches the specified version range. A version range can either use the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

     *
     */
    public interface MetadataReader {
    
        /**
         * The key for the option to enable strict parsing. This option is of type {@link Boolean} and defaults to {@code
         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.artifact.repository.metadata.io.isStrict";
    
        /**
         * Reads the metadata from the specified file.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        void setProfiles(List<Profile> profiles);
    
        List<Profile> getProfiles();
    
        /**
         * Gets the start time of the build.
         *
         * @return The start time of the build or {@code null} if unknown.
         */
        Date getBuildStartTime();
    
        /**
         * Sets the start time of the build.
         *
         * @param buildStartTime The start time of the build, may be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    }
                }
                stringBuilder.append(" @ line ").append(inputLocation.getLineNumber());
                return stringBuilder.toString();
            } else {
                return "unknown";
            }
        }
    
        private String mojoInfo(MojoDescriptor mojoDescriptor, Class<?> mojoClass) {
            return mojoDescriptor.getFullGoalName() + " (" + mojoClass.getName() + ")";
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

            return new StringBuilder(128)
                .append((getGroupId() == null) ? "[unknown-group-id]" : getGroupId())
                .append(":")
                .append((getArtifactId() == null) ? "[unknown-artifact-id]" : getArtifactId())
                .append(":")
                .append((getVersion() == null) ? "[unknown-version]" : getVersion())
                .toString();
        }
    
        /**
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
Back to top