Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for setLocations (0.18 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    plugin.setArtifactId(gs.artifactId);
                    plugin.setVersion(gs.version);
    
                    plugin.setLocation("", location);
                    plugin.setLocation("groupId", location);
                    plugin.setLocation("artifactId", location);
                    plugin.setLocation("version", location);
    
                    Plugin existing = plugins.get(plugin);
                    if (existing != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        } // -- String getModelId()
    
        /**
         * Set the path/URL of the POM or {@code null} if unknown.
         *
         * @param location
         */
        public void setLocation(String location) {
            this.location = location;
        } // -- void setLocation( String )
    
        /**
         * Set the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
         * @param modelId
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

                build = new Build();
                model.setBuild(build);
                model.setLocation("build", location);
            }
    
            Plugin sitePlugin = findSitePlugin(build);
    
            if (sitePlugin == null) {
                sitePlugin = new Plugin();
                sitePlugin.setArtifactId("maven-site-plugin");
                sitePlugin.setLocation("artifactId", location);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("The property name is required to activate the profile " + profile.getId())
                        .setLocation(property.getLocation("")));
                return false;
            }
    
            String sysValue = context.getUserProperties().get(name);
            if (sysValue == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                            .setMessage(
                                    "Failed to determine activation for profile " + profile.getId() + ": " + e.getMessage())
                            .setLocation(profile.getLocation(""))
                            .setException(e));
                    return false;
                }
            }
            return isActive;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to determine Java version for profile " + profile.getId())
                        .setLocation(activation.getLocation("jdk")));
                return false;
            }
    
            if (jdk.startsWith("!")) {
                return !version.startsWith(jdk.substring(1));
            } else if (isRange(jdk)) {
                try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputLocationTracker.java

         *
         * @param field The key of the field, must not be
         * <code>null</code>.
         * @param location The location of the field, may be
         * <code>null</code>.
         */
        public void setLocation(Object field, InputLocation location);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java

            if (defaultPlugins == null) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Unknown packaging: " + packaging)
                        .setLocation(model.getLocation("packaging")));
            } else if (!defaultPlugins.isEmpty()) {
                Model lifecycleModel = new Model();
                lifecycleModel.setBuild(new Build());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java

            this.message = message;
            return this;
        }
    
        public InputLocation getLocation() {
            return location;
        }
    
        public ModelProblemCollectorRequest setLocation(InputLocation location) {
            this.location = location;
            return this;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                    InputSource inputSource = new InputSource();
                    inputSource.setModelId(modelId);
                    inputSource.setLocation(getClass().getResource(resource).toExternalForm());
                    options.put(ModelProcessor.INPUT_SOURCE, inputSource);
    
                    superModel = modelProcessor.read(is, options);
                } catch (IOException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top