- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for ModelSource (0.2 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelData.java
import org.apache.maven.api.model.Model; import org.apache.maven.api.services.ModelSource; /** * Holds a model along with some auxiliary information. This internal utility class assists the model builder during POM * processing by providing a means to transport information that cannot be (easily) extracted from the model itself. */ record ModelData(ModelSource source, Model model) { /** * Gets unique identifier of the model
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 1.6K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java
import org.apache.maven.api.services.ModelBuilder; import org.apache.maven.api.services.ModelBuilderRequest; import org.apache.maven.api.services.ModelBuilderResult; import org.apache.maven.api.services.ModelSource; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java
import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.Objects; 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;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 2.5K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java
package org.apache.maven.model.building; import java.net.URI; /** * Provides access to the contents of a POM independently of the backing store (e.g. file system, database, memory). * <p> * Unlike {@link ModelSource}, this interface supports loading of parent POM(s) from the same backing store and allows * construction of MavenProject instances without the need to have parent POM(s) available from local or remote * repositories. * <p>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Nov 22 13:26:01 UTC 2022 - 2.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
request.setProcessPlugins(false); request.setValidationLevel(ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL); ModelSource modelSource = new UrlModelSource(getClass().getResource("standalone.xml")); MavenProject project = projectBuilder.build(modelSource, request).getProject(); project.setExecutionRoot(true); return project; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 15 14:24:56 UTC 2023 - 12.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
} else if (request.getSource().isPresent()) { Source source = request.getSource().get(); ModelSource2 modelSource = new SourceWrapper(source); res = builder.build(modelSource, req); } else { throw new IllegalArgumentException("Invalid request"); } return new ProjectBuilderResult() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 8K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java
/** * Wraps an ordinary {@link URL} as a model source. * * * @deprecated instead use {@link UrlSource} */ @Deprecated public class UrlModelSource extends UrlSource implements ModelSource { /** * Creates a new model source backed by the specified URL. * * @param pomUrl The POM file, must not be {@code null}. */ public UrlModelSource(URL pomUrl) { super(pomUrl);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.3K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java
/** * Wraps an ordinary {@link CharSequence} as a model source. * * * @deprecated instead use {@link StringSource} */ @Deprecated public class StringModelSource extends StringSource implements ModelSource { /** * Creates a new model source backed by the specified string. * * @param pom The POM's string representation, may be empty or {@code null}. */
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.7K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java
import java.util.Objects; import org.apache.maven.building.FileSource; /** * Represents a model pulled from a repository * * @since 4.0.0 */ public class ArtifactModelSource extends FileSource implements ModelSource { private final String groupId; private final String artifactId; private final String version; private final int hashCode; @Deprecated
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Feb 26 17:04:44 UTC 2024 - 2.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
import org.apache.maven.api.services.ModelBuilderResult; import org.apache.maven.api.services.ModelProblemCollector; import org.apache.maven.api.services.ModelResolver; import org.apache.maven.api.services.ModelSource; import org.apache.maven.api.services.ModelTransformer; import org.apache.maven.api.services.SuperPomProvider; import org.apache.maven.api.services.model.DependencyManagementImporter;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 16:34:29 UTC 2024 - 13.4K bytes - Viewed (0)