Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for setLocation (0.16 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 May 05 03:35:11 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 May 05 03:35:11 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 28 03:35:10 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 May 05 03:35:11 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/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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/StaxLocation.java

    public class StaxLocation implements Location {
    
        private final javax.xml.stream.Location location;
    
        public static Location getLocation(Exception e) {
            return toLocation(e instanceof XMLStreamException xe ? xe.getLocation() : null);
        }
    
        public static Location toLocation(javax.xml.stream.Location location) {
            return location != null ? new StaxLocation(location) : null;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

            } catch (XMLStreamException e) {
                throw new MetadataParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        public Metadata read(InputStream input, Map<String, ?> options) throws IOException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top