- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ToolchainModel (0.14 sec)
-
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
} @Test void testBuildRequestWithUserToolchains() throws Exception { Properties props = new Properties(); props.put("key", "user_value"); ToolchainModel toolchain = new ToolchainModel(); toolchain.setType("TYPE"); toolchain.setProvides(props); PersistedToolchains persistedToolchains = new PersistedToolchains();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
@Test void testModelAndFactory() { MavenSession session = mock(MavenSession.class); List<ToolchainModel> toolchainModels = List.of( ToolchainModel.newBuilder().type("basic").build(), ToolchainModel.newBuilder().type("basic").build(), ToolchainModel.newBuilder().type("rare").build()); Session sessionv4 = mock(Session.class);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 11K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
public org.apache.maven.api.Toolchain createToolchain( @Nonnull org.apache.maven.api.toolchain.ToolchainModel model) throws ToolchainFactoryException { try { return getToolchainV4(v3Factory.createToolchain(new ToolchainModel(model))); } catch (MisconfiguredToolchainException e) { throw new RuntimeException(e);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 31 10:58:52 UTC 2025 - 11K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
return builderId; } @Override public Map<String, List<ToolchainModel>> getToolchains() { if (toolchains == null) { toolchains = new HashMap<>(); } return toolchains; } @Override public MavenExecutionRequest setToolchains(Map<String, List<ToolchainModel>> toolchains) { this.toolchains = toolchains; return this; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Dec 12 11:02:17 UTC 2024 - 32.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
* @return this request * @since 3.3.0 */ MavenExecutionRequest setToolchains(Map<String, List<ToolchainModel>> toolchains); /** * * @return all toolchains grouped by type, never {@code null} * @since 3.3.0 */ Map<String, List<ToolchainModel>> getToolchains(); /** * @since 3.3.0 * @deprecated use {@link #setRootDirectory(Path)} instead */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Dec 12 11:02:17 UTC 2024 - 18.6K bytes - Viewed (0) -
impl/maven-core/pom.xml
<exclude>org.apache.maven.toolchain.DefaultToolchain#DefaultToolchain(org.apache.maven.toolchain.model.ToolchainModel,org.codehaus.plexus.logging.Logger):CONSTRUCTOR_REMOVED</exclude> <exclude>org.apache.maven.toolchain.DefaultToolchain#DefaultToolchain(org.apache.maven.toolchain.model.ToolchainModel,java.lang.String,org.codehaus.plexus.logging.Logger):CONSTRUCTOR_REMOVED</exclude>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 26 10:37:56 UTC 2025 - 16.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
Optional.ofNullable(context.effectiveToolchains).map(PersistedToolchains::getToolchains).stream() .flatMap(List::stream) .map(ToolchainModel::new) .collect(Collectors.groupingBy(ToolchainModel::getType))); request.setNoSnapshotUpdates(context.options().suppressSnapshotUpdates().orElse(false)); request.setGoals(context.options().goals().orElse(List.of()));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 28.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
import org.apache.maven.api.services.DependencyCoordinatesFactory; import org.apache.maven.api.services.VersionResolverException; import org.apache.maven.api.settings.Settings; import org.apache.maven.api.toolchain.ToolchainModel; /** * The session to install / deploy / resolve artifacts and dependencies. * * @since 4.0.0 */ @Experimental @ThreadSafe public interface Session extends ProtoSession { /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0)