- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 113 for Clauss (0.14 sec)
-
maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession()); sessionScope.enter(); sessionScope.seed(Session.class, this.session); assertNotNull(bean.myBean.getSession()); assertNotNull(bean.myBean.getAnotherBean()); assertSame(bean.myBean.getAnotherBean().getClass(), AnotherBean.class);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 4.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* <p> * Shortcut for {@code getService(TypeRegistry.class).require(...)}. * * @see org.apache.maven.api.services.TypeRegistry#require(String) */ @Nonnull Type requireType(@Nonnull String id); /** * Obtain the {@link Language} from the specified {@code id}. * <p> * Shortcut for {@code getService(LanguageRegistry.class).require(...)}. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
.distinct() .forEach(key -> { Class<?> clazz = key.getRawType(); Class<Object> itf = (clazz.isInterface() ? null : (Class<Object>) (clazz.getInterfaces().length > 0 ? clazz.getInterfaces()[0] : clazz)); if (itf != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
// TODO: get those from the existing plexus scopes ? injector.bindInstance(Session.class, sessionV4); injector.bindInstance(Project.class, project); injector.bindInstance(org.apache.maven.api.MojoExecution.class, execution); injector.bindInstance(org.apache.maven.api.plugin.Log.class, log); mojo = mojoInterface.cast(injector.getInstance(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 42.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java
static InternalSession from(Session session) { return cast(InternalSession.class, session, "session should be an " + InternalSession.class); } static InternalSession from(org.eclipse.aether.RepositorySystemSession session) { return cast(InternalSession.class, session.getData().get(InternalSession.class), "session"); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 12:55:57 GMT 2024 - 3.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
} @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath(); Artifact artifact = createArtifact("artifact", "1.0");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
InternalSession.associate(rss, this.session); sessionScope.enter(); sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(this.session)); } private Project project(Artifact artifact) { return session.getService(ProjectBuilder.class) .build(ProjectBuilderRequest.builder() .session(session)
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 9.9K bytes - Viewed (2) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/LookupException.java
* under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link Lookup} service. * * @since 4.0.0 */ @Experimental public class LookupException extends MavenException { public LookupException(String message) { super(message); } /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 1.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/ReactorReader.java
} } return projects; } /** * Singleton class used to receive events by implementing the EventSpy. * It simply forwards all {@code ExecutionEvent}s to the {@code ReactorReader}. */ @Named @Singleton @SuppressWarnings("unused") static class ReactorReaderSpy implements EventSpy { private final Lookup lookup; @Inject
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
import org.eclipse.aether.resolution.ArtifactResolutionException; import org.eclipse.aether.resolution.ArtifactResult; import static org.apache.maven.internal.impl.Utils.nonNull; @Named @Singleton public class DefaultArtifactResolver implements ArtifactResolver { @Override public ArtifactResolverResult resolve(ArtifactResolverRequest request) throws ArtifactResolverException, IllegalArgumentException {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.6K bytes - Viewed (0)