Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for unknown (0.14 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-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

    @Deprecated
    public interface ArtifactTransferResource {
    
        /**
         * The base URL of the repository, e.g. "http://repo1.maven.org/maven2/". Unless the URL is unknown, it will be
         * terminated by a trailing slash.
         *
         * @return The base URL of the repository or an empty string if unknown, never {@code null}.
         */
        String getRepositoryUrl();
    
        /**
         * The path of the artifact relative to the repository's base URL.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         */
        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: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. 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)
  7. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingResult.java

         * <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the exception
         * is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the project or an empty string if not known, never {@code null}.
         */
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            boolean modules = false;
            boolean unknown = false;
            for (PathType type : types) {
                if (filter.test(type)) {
                    if (JavaPathType.CLASSES.equals(type)) {
                        classes = true;
                    } else if (JavaPathType.MODULES.equals(type)) {
                        modules = true;
                    } else {
                        unknown = true;
                    }
    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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * If no type is known for {@code id}, the registry will
         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @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)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

            boolean modules = false;
            boolean unknown = false;
            for (PathType type : types) {
                if (filter.test(type)) {
                    if (JavaPathType.CLASSES.equals(type)) {
                        classes = true;
                    } else if (JavaPathType.MODULES.equals(type)) {
                        modules = true;
                    } else {
                        unknown = true;
                    }
    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)
Back to top