Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for bean (0.16 sec)

  1. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

            MySingletonBean bean = container.lookup(MySingletonBean.class);
            assertNotNull(bean);
            assertNotNull(bean.anotherBean);
            assertSame(bean.anotherBean.getClass(), AnotherBean.class);
            assertNotNull(bean.myBean);
            assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class);
    
            assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
    
    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)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
     * which means each mojo execution will result in a different instance being injected.
     *
     * TODO: this is currently not implemented
     *
     * @since 4.0.0
     */
    @Scope
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Apr 22 13:58:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * An implementation of a workspace reader that knows how to search the Maven reactor for artifacts, either as packaged
     * jar if it has been built, or only compile output directory if packaging hasn't happened yet.
     *
     */
    @Named(ReactorReader.HINT)
    @SessionScoped
    class ReactorReader implements MavenWorkspaceReader {
    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)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        @Nonnull
        SessionData getData();
    
        /**
         * Returns immutable user properties to use for interpolation. The user properties have been configured directly
         * by the user, e.g. via the {@code -Dkey=value} parameter on the command line.
         *
         * @return the user properties, never {@code null}
         */
        @Nonnull
    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)
  5. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
            <field>
              <name>relocation</name>
              <version>4.0.0+</version>
              <description>
                Relocation information of the artifact if it has been moved to a new group ID
                and/or artifact ID.
              </description>
              <association>
                <type>Relocation</type>
              </association>
            </field>
            <field>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         */
        @Nonnull
        Collection<Profile> getProfiles();
    
        /**
         * List of profile ids that have been explicitly activated by the user.
         */
        @Nonnull
        List<String> getActiveProfileIds();
    
        /**
         * List of profile ids that have been explicitly deactivated by the user.
         */
        @Nonnull
        List<String> getInactiveProfileIds();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    artifacts, rootArtifact, managedVersions, collectionRequest, source, collectionFilter, listeners, null);
    
            // We have metadata retrieval problems, or there are cycles that have been detected
            // so we give this back to the calling code and let them deal with this information
            // appropriately.
    
            if (result.hasMetadataResolutionExceptions()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

    import org.eclipse.aether.resolution.VersionRangeResult;
    
    /**
     * A model resolver to assist building of projects. This resolver gives priority to those repositories that have been
     * declared in the POM.
     *
     */
    public class ProjectModelResolver implements ModelResolver {
    
        private static final int MAX_CAP = 0x7fff;
    
        private final RepositorySystemSession session;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. maven-core/pom.xml

                  <exclude>org.apache.maven.plugin.DefaultBuildPluginManager#setMojoExecutionListeners(java.util.List)</exclude>
                  <!-- could have never been used due to usage of non-export class (CoreExportsProvider) -->
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            }
        }
    
        @Override
        public void validateRawModel(Model m, ModelBuilderRequest request, ModelProblemCollector problems) {
            // [MNG-6074] Maven should produce an error if no model version has been set in a POM file used to build an
            // effective model.
            //
            // As of 3.4, the model version is mandatory even in raw models. The XML element still is optional in the
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top