Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for selector (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         * Mark a project as required and activated.
         * @param selector The selector of the project.
         */
        public void activateRequiredProject(String selector) {
            this.activations.add(new ProjectActivationSettings(selector, ActivationSettings.ACTIVATION_REQUIRED));
        }
    
        /**
         * Mark a project as optional and activated.
         * @param selector The selector of the project.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

        boolean isMatchingProject(MavenProject project, String selector, File reactorDirectory) {
            // [groupId]:artifactId
            if (selector.contains(":")) {
                String id = ':' + project.getArtifactId();
    
                if (id.equals(selector)) {
                    return true;
                }
    
                id = project.getGroupId() + id;
    
                return id.equals(selector);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

        }
    
        private void injectProxy(ProxySelector selector, List<ArtifactRepository> repositories) {
            if (repositories != null && selector != null) {
                for (ArtifactRepository repository : repositories) {
                    repository.setProxy(getProxy(selector, repository));
                }
            }
        }
    
        private org.apache.maven.repository.Proxy getProxy(ProxySelector selector, ArtifactRepository repository) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                            }
                        }
                        boolean optional = false;
                        if (!selector.isEmpty() && selector.charAt(0) == '?') {
                            optional = true;
                            selector = selector.substring(1);
                        }
                        projectActivation.addProjectActivation(selector, active, optional);
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            profile.setId(id);
            profile.setActivation(activation);
            return profile;
        }
    
        @Test
        void testThrowingActivator() {
            DefaultProfileSelector selector = new DefaultProfileSelector();
            selector.addProfileActivator(new ProfileActivator() {
                @Override
                public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (session != null) {
                org.eclipse.aether.repository.MirrorSelector selector = session.getMirrorSelector();
                if (selector != null) {
                    RemoteRepository repo = selector.getMirror(RepositoryUtils.toRepo(repository));
                    if (repo != null) {
                        Mirror mirror = new Mirror();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            if (session != null) {
                org.eclipse.aether.repository.MirrorSelector selector = session.getMirrorSelector();
                if (selector != null) {
                    RemoteRepository repo = selector.getMirror(RepositoryUtils.toRepo(repository));
                    if (repo != null) {
                        Mirror mirror = new Mirror();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/bootstrap.min.js.map

    (document.getElementById(prefix))\n\n    return prefix\n  },\n\n  getSelectorFromElement(element) {\n    let selector = element.getAttribute('data-target')\n\n    if (!selector || selector === '#') {\n      const hrefAttr = element.getAttribute('href')\n      selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''\n    }\n\n    try {\n      return document.querySelector(selector) ? selector : null\n    } catch (_) {\n      return null\n    }\n  },\n\n  getTransitionDurationFromElement(element)...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                            }
                        }
                        boolean optional = false;
                        if (!selector.isEmpty() && selector.charAt(0) == '?') {
                            optional = true;
                            selector = selector.substring(1);
                        }
                        projectActivation.addProjectActivation(selector, active, optional);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                File reactorDirectory = projectSelector.getBaseDirectoryFromRequest(request);
    
                String selector = request.getResumeFrom();
    
                MavenProject resumingFromProject = projects.stream()
                        .filter(project -> projectSelector.isMatchingProject(project, selector, reactorDirectory))
                        .findFirst()
                        .orElseThrow(() -> new MavenExecutionException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top