Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for setLocation (0.18 sec)

  1. 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) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. 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()) {
                List<Plugin> plugins = defaultPlugins.stream()
                        .map(org.apache.maven.model.Plugin::getDelegate)
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

            defaultBindings.setModelId(DefaultLifecyclePluginAnalyzer.DEFAULTLIFECYCLEBINDINGS_MODELID);
    
            final Plugin plugin = mojoDescriptor.getPluginDescriptor().getPlugin();
            plugin.setLocation("version", new InputLocation(12, 34, defaultBindings));
            MojoExecution result = new MojoExecution(plugin, goal, executionId);
            result.setConfiguration(new XmlNodeImpl(executionId + "-" + goal));
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                            .location("arch", toLocation(settingsOs.getLocation("arch")))
                            .location("family", toLocation(settingsOs.getLocation("family")))
                            .location("name", toLocation(settingsOs.getLocation("name")))
                            .location("version", toLocation(settingsOs.getLocation("version")))
                            .build());
                }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

                            .location("arch", toLocation(settingsOs.getLocation("arch")))
                            .location("family", toLocation(settingsOs.getLocation("family")))
                            .location("name", toLocation(settingsOs.getLocation("name")))
                            .location("version", toLocation(settingsOs.getLocation("version")))
                            .build());
                }
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                                        .location(settingsSource.getLocation())
                                        .strict(false)
                                        .build());
                        Location loc = e.getCause() instanceof XMLStreamException xe ? xe.getLocation() : null;
                        problems.add(new DefaultBuilderProblem(
                                settingsSource.getLocation(),
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenModelMerger.java

                    builder.url(src);
                    builder.location("url", source.getLocation("url"));
                } else if (target.getUrl() == null) {
                    builder.url(extrapolateChildUrl(src, source.isChildProjectUrlInheritAppendPath(), context));
                    builder.location("url", source.getLocation("url"));
                }
            }
        }
    
        /*
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            }
            try {
                InputSource source = null;
                if (request.getModelId() != null || request.getLocation() != null) {
                    source = new InputSource(request.getLocation());
                }
                SettingsStaxReader xml = new SettingsStaxReader();
                xml.setAddDefaultEntities(request.isAddDefaultEntities());
                if (reader != null) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals("", problem.getLocation());
    
            problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null);
            assertEquals("SOURCE", problem.getLocation());
    
            problem = new DefaultProblem(null, null, null, 42, -1, null);
            assertEquals("line 42", problem.getLocation());
    
            problem = new DefaultProblem(null, null, null, -1, 127, null);
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

    import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxReader;
    import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxWriter;
    
    import static org.apache.maven.internal.impl.StaxLocation.getLocation;
    import static org.apache.maven.internal.impl.StaxLocation.getMessage;
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultPluginXmlFactory implements PluginXmlFactory {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top