Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 669 for location (0.25 seconds)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java

         *
         * @param settings The settings' string representation, may be empty or {@code null}.
         * @param location The location to report for this use, may be {@code null}.
         */
        public StringSettingsSource(CharSequence settings, String location) {
            super(settings, location);
        }
    
        /**
         * Gets the character sequence of this settings source.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

            public XmlReaderRequestBuilder modelId(String modelId) {
                this.modelId = modelId;
                return this;
            }
    
            public XmlReaderRequestBuilder location(String location) {
                this.location = location;
                return this;
            }
    
            public XmlReaderRequestBuilder addDefaultEntities(boolean addDefaultEntities) {
                this.addDefaultEntities = addDefaultEntities;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:27 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

         *
         * @param content The String representation, may be empty or {@code null}.
         * @param location The location to report for this use, may be {@code null}.
         */
        public StringSource(CharSequence content, String location) {
            this.content = (content != null) ? content.toString() : "";
            this.location = (location != null) ? location : "(memory)";
            this.hashCode = this.content.hashCode();
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

            assertEquals(path, source.getPath());
        }
    
        @Test
        void testResolvedSourceWithModelId() {
            String location = "/tmp/resolved-pom.xml";
            Path path = Paths.get(location);
            String modelId = "org.apache.maven:maven-core:4.0.0";
    
            ModelSource source = Sources.resolvedSource(path, modelId);
    
            assertNotNull(source);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                            .goals(List.of(goal))
                            .configuration(mojo.getConfiguration())
                            .location("", location)
                            .location("id", location)
                            .location("phase", location)
                            .location("goals", location)
                            .build();
                    execs.add(execution);
    
                    if (mojo.getDependencies() != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("LOCATION", source.getLocation());
        }
    
        @Test
        void testGetContent() {
            StringSource source = new StringSource(null);
            assertEquals("", source.getContent());
    
            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("Hello World!", source.getContent());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java

        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
        public XmlReaderException(String message, Location location, Exception e) {
            super(message, e);
            this.location = location;
        }
    
        public Location getLocation() {
            return location;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * This method is the converse of {@link #location()}.
         *
         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
        public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {
            for (JavaPathType type : JavaPathType.values()) {
                if (location.equals(type.location)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
        public XmlWriterException(String message, Location location, Exception e) {
            super(message, e);
            this.location = location;
        }
    
        public Location getLocation() {
            return location;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top