- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for ModelSource (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 4.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
} private static class WrapModelSource implements ModelSource { private final org.apache.maven.model.building.ModelSource modelSource; WrapModelSource(org.apache.maven.model.building.ModelSource modelSource) { this.modelSource = modelSource; } @Override @Nullable public ModelSource resolve(@Nonnull ModelLocator modelLocator, @Nonnull String relative) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* in the filesystem and support resolving related POMs. * * @param path the path to the POM file or project directory * @return a new ModelSource instance configured as a build source * @throws NullPointerException if path is null */ @Nonnull public static ModelSource buildSource(@Nonnull Path path) { return new BuildPathSource(requireNonNull(path, "path")); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 8.2K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Path basePath = Paths.get("/tmp"); ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class); Path resolvedPath = Paths.get("/tmp/subproject/pom.xml"); when(locator.locateExistingPom(any(Path.class))).thenReturn(resolvedPath); Sources.BuildPathSource source = (Sources.BuildPathSource) Sources.buildSource(basePath); ModelSource resolved = source.resolve(locator, "subproject");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Test for ModelSource interface and its implementations. */ class ModelSourceTest { @Test void testBuildSourceHasNoModelId() { Path path = Paths.get("/tmp/pom.xml"); ModelSource source = Sources.buildSource(path); assertNotNull(source);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:30:49 UTC 2025 - 16.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java
import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Supplier; import org.apache.maven.api.services.ModelBuilderException; import org.apache.maven.api.services.ModelSource; import org.apache.maven.artifact.DefaultArtifact; import org.apache.maven.internal.transformation.PomArtifactTransformer; import org.apache.maven.internal.transformation.TransformationFailedException;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 4.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
throws ModelBuilderException { ModelBuilderResult result = buildModel(session, src); Model model = result.getRawModel(); return transformPom(model, project); } protected Model buildBomWithoutFlatten(RepositorySystemSession session, MavenProject project, ModelSource src) throws ModelBuilderException {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 27 07:40:26 UTC 2025 - 21.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
MavenProject project, Path consumer, RepositorySystemSession session) { Path actual = project.getFile().toPath(); Path parent = project.getBaseDirectory(); ModelSource source = new ModelSource() { @Override public Path getPath() { return actual; } @Override public InputStream openStream() throws IOException {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/PomArtifactTransformer.java
import javax.xml.stream.XMLStreamException; import java.io.IOException; import java.nio.file.Path; import org.apache.maven.api.services.ModelBuilderException; import org.apache.maven.api.services.ModelSource; import org.apache.maven.project.MavenProject; import org.eclipse.aether.RepositorySystemSession; import org.eclipse.aether.deployment.DeployRequest; import org.eclipse.aether.installation.InstallRequest; /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 1.9K bytes - Viewed (0)