Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getModelId (0.11 sec)

  1. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        /**
         * Get the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
         * @return String
         */
        public String getModelId() {
            return this.modelId;
        } // -- String getModelId()
    
        /**
         * Set the path/URL of the POM or {@code null} if unknown.
         *
         * @param location
         */
        public void setLocation(String location) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         */
        public static String formatLocation(ModelProblem problem, String projectId) {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
                if (!problem.getSource().isEmpty()) {
                    if (buffer.length() > 0) {
                        buffer.append(", ");
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

        @Nullable
        InputStream getInputStream();
    
        @Nullable
        Reader getReader();
    
        @Nullable
        Transformer getTransformer();
    
        boolean isStrict();
    
        @Nullable
        String getModelId();
    
        @Nullable
        String getLocation();
    
        boolean isAddDefaultEntities();
    
        interface Transformer {
            /**
             * Interpolate the value read from the xml document
             *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

            return this.location;
        }
    
        /**
         * Get the identifier of the POM in the format {@code <groupId>:<artifactId>:<version>}.
         *
         * @return the model id
         */
        public String getModelId() {
            return this.modelId;
        }
    
        /**
         * Gets the parent InputLocation where this InputLocation may have been imported from.
         * Can return {@code null}.
         *
         * @return InputLocation
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                if (req.getLocation().getSource() != null) {
                    modelId = req.getLocation().getSource().getModelId();
                    source = req.getLocation().getSource().getLocation();
                }
            }
    
            if (modelId == null) {
                modelId = getModelId();
                source = getSource();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

         *
         * @return The identifier of the model from which the problem originated or an empty string if unknown, never
         *         {@code null}.
         */
        @Nonnull
        String getModelId();
    
        /**
         * Gets the applicable maven version/validation level of this problem
         * @return The version, never {@code null}.
         */
        @Nonnull
        Version getVersion();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

        public int getLineNumber() {
            return lineNumber;
        }
    
        @Override
        public int getColumnNumber() {
            return columnNumber;
        }
    
        @Override
        public String getModelId() {
            return modelId;
        }
    
        @Override
        public Exception getException() {
            return exception;
        }
    
        @Override
        public String getMessage() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
            if (result == null || result.getModelIds().isEmpty()) {
                return "";
            }
            return result.getModelIds().get(0);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
            if (result == null) {
                return "";
            } else if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel().getId();
            } else if (result.getRawModel() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                indent += "  ";
    
                InputLocation location = plugin.getLocation("");
                if (location != null && location.getSource() != null) {
                    trackingData.add(indent + location.getSource().getModelId() + " (implicit)");
                    indent += "  ";
                }
            } else if (collectStepTrace != null) {
                if (collectStepTrace.getPath().get(0).getArtifact() == null) {
                    return;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top