Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 77 of 77 for getSource (0.08 seconds)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

            assertEquals(1, collector2.getProblems().size());
        }
    
        @Test
        void testAddProblem() {
            ProblemCollector collector = ProblemCollectorFactory.newInstance(null);
            collector.setSource("pom.xml");
            collector.add(Problem.Severity.ERROR, "Error message", 10, 5, null);
            collector.add(Problem.Severity.WARNING, "Warning message", 15, 3, null);
    
            List<Problem> problems = collector.getProblems();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jul 20 20:19:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * their source, but the next messages will use the new source.
         *
         * @param source a source
         */
        void setSource(String source);
    
        /**
         *
         * @return the collected Problems, never {@code null}
         */
        List<Problem> getProblems();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

                    e.getMessage());
        }
    
        @Test
        void testUnknownPosition() {
            ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null);
            problemCollector.setSource("SOURCE");
            problemCollector.add(Problem.Severity.ERROR, "MESSAGE", -1, -1, new Exception());
            ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems());
            assertEquals(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java

            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
        public List<Problem> getProblems() {
            return problems;
        }
    
        @Override
        public void setSource(String source) {
            this.source = source;
        }
    
        @Override
        public void add(Problem.Severity severity, String message, int line, int column, Exception cause) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
            if (profileActivation != null) {
                Activation activation = new Activation();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            PersistedToolchains userToolchains = readToolchains(request.getUserToolchainsSource(), request, problems);
    
            toolchainsMerger.merge(userToolchains, globalToolchains, TrackableBase.GLOBAL_LEVEL);
    
            problems.setSource("");
    
            userToolchains = interpolate(userToolchains, problems);
    
            if (hasErrors(problems.getProblems())) {
                throw new ToolchainsBuildingException(problems.getProblems());
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

        }
    
        private PluginDescriptor build(String source, PlexusConfiguration c) throws PlexusConfigurationException {
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
    
            pluginDescriptor.setSource(source);
            pluginDescriptor.setGroupId(extractGroupId(c));
            pluginDescriptor.setArtifactId(extractArtifactId(c));
            pluginDescriptor.setVersion(extractVersion(c));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top