Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for location (0.17 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    public interface Location {
    
        /**
         * Return the line number where the current event ends,
         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

                            .read(XmlReaderRequest.builder()
                                    .inputStream(is)
                                    .location(toolchainsSource.getLocation())
                                    .strict(false)
                                    .build());
                    Location loc = e.getCause() instanceof XMLStreamException xe ? xe.getLocation() : null;
                    problems.add(new DefaultBuilderProblem(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  3. 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;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

        static ModelSource fromPath(@Nonnull Path path) {
            return fromPath(path, null);
        }
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path, @Nullable String location) {
            return new PathSource(nonNull(path, "path cannot be null"), location);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

            add(severity, version, message, null, null);
        }
    
        default void add(
                BuilderProblem.Severity severity, ModelProblem.Version version, String message, InputLocation location) {
            add(severity, version, message, location, null);
        }
    
        default void add(
                BuilderProblem.Severity severity, ModelProblem.Version version, String message, Exception exception) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

            if (msg != null && !msg.isEmpty()) {
                buffer.append(" ").append(msg);
            }
            String location = getLocation();
            if (!location.isEmpty()) {
                buffer.append(" @ ").append(location);
            }
            return buffer.toString();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/StaxLocation.java

    import org.apache.maven.api.services.xml.Location;
    
    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) {
    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/resolver/PluginsMetadataGenerator.java

     * <p>
     * Plugin metadata contains G level list of "prefix" to A mapping for plugins present under this G.
     */
    class PluginsMetadataGenerator implements MetadataGenerator {
        private static final String PLUGIN_DESCRIPTOR_LOCATION = "META-INF/maven/plugin.xml";
    
        private final Map<Object, PluginsMetadata> processedPlugins;
    
        private final Date timestamp;
    
        PluginsMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblemCollector.java

                String message,
                InputLocation location,
                Exception exception) {
            int line = -1;
            int column = -1;
            String source = null;
            String modelId = null;
    
            if (location != null) {
                line = location.getLineNumber();
                column = location.getColumnNumber();
                if (location.getSource() != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
        PathSource(Path path) {
            this(path, null);
        }
    
        PathSource(Path path, String location) {
            this.path = path;
            this.location = location != null ? location : path.toString();
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top