Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for addError (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        public boolean hasErrorArtifactExceptions() {
            return errorArtifactExceptions != null;
        }
    
        public MetadataResolutionResult addError(Exception e) {
            exceptions = initList(exceptions);
    
            exceptions.add(e);
    
            return this;
        }
    
        public List<ArtifactResolutionException> getErrorArtifactExceptions() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Mirror mirror = new Mirror();
            mirror.setId("local");
            settings.addMirror(mirror);
            mirror = new Mirror();
            mirror.setId("illegal\\:/chars");
            mirror.setUrl("http://void");
            mirror.setMirrorOf("void");
            settings.addMirror(mirror);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
            validator.validate(settings, problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            //     <url>http://repository.sonatype.org/content/groups/public</url>
            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                request.addMirror(mirror);
            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                mirror = mirror.clone();
    
                request.addMirror(mirror);
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
            for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        MavenExecutionRequest addServer(Server server);
    
        // Mirrors
        List<Mirror> getMirrors();
    
        MavenExecutionRequest setMirrors(List<Mirror> mirrors);
    
        MavenExecutionRequest addMirror(Mirror mirror);
    
        // Plugin groups
        List<String> getPluginGroups();
    
        MavenExecutionRequest setPluginGroups(List<String> pluginGroups);
    
        MavenExecutionRequest addPluginGroup(String pluginGroup);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

                this.mirrors = new ArrayList<>(mirrors);
            } else {
                this.mirrors = null;
            }
    
            return this;
        }
    
        @Override
        public MavenExecutionRequest addMirror(Mirror mirror) {
            Objects.requireNonNull(mirror, "mirror cannot be null");
    
            for (Mirror p : getMirrors()) {
                if (p.getId() != null && p.getId().equals(mirror.getId())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            //     <url>http://repository.sonatype.org/content/groups/public</url>
            //   </mirror>
            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                request.addMirror(new org.apache.maven.settings.Mirror(mirror));
            }
    
            for (Repository remoteRepository : settings.getRepositories()) {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top