Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 330 for injected (0.17 sec)

  1. maven-api-impl/src/test/java/org/apache/maven/internal/impl/model/MavenModelMergerTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    
    class MavenModelMergerTest {
        private MavenModelMerger modelMerger = new MavenModelMerger();
    
        // modelVersion is neither inherited nor injected
        @Test
        void testMergeModel_ModelVersion() {
            Model parent = Model.newBuilder().modelVersion("4.0.0").build();
            Model model = Model.newInstance();
            Model.Builder builder = Model.newBuilder(model);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Used to configure your Mojo parameters to be injected by
     * <a href="/ref/current/maven-core/apidocs/org/apache/maven/plugin/MavenPluginManager.html">
     * <code>MavenPluginManager.getConfiguredMojo(...)</code></a>.
     * <p>
     * Beans injected into Mojo parameters are prepared by <a href="https://www.eclipse.org/sisu/">Sisu</a> JSR330-based
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/plugin/CompoundMojoExecutionListener.java

        private final Collection<MojoExecutionListener> listeners;
    
        CompoundMojoExecutionListener(Collection<MojoExecutionListener> listeners) {
            this.listeners = listeners; // NB this is live injected collection
        }
    
        public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException {
            for (MojoExecutionListener listener : listeners) {
                listener.beforeMojoExecution(event);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. maven-core/src/test/resources-project-builder/managed-profile-dependency/sub/pom.xml

          </activation>
          <dependencies>
            <dependency>
              <groupId>org.apache.maven.its</groupId>
              <artifactId>maven-core-it-support</artifactId>
              <!-- version should be injected from dependency management of parent -->
            </dependency>
          </dependencies>
        </profile>
      </profiles>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileInjector.java

         *
         * @param model The model into which to merge the values defined by the profile, must not be <code>null</code>.
         * @param profile The (read-only) profile whose values should be injected, may be <code>null</code>.
         * @param request The model building request that holds further settings, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. maven-core/src/test/resources-settings/test-pom-and-settings-interpolation/pom.xml

        This boils down to the proper order of profile injection and interpolation, i.e.
        interpolate after profiles from all sources are injected.
      </description>
    
      <properties>
        <!-- collect the effective property values as derived by interpolation -->
        <pomVsSettingsInterpolated>${pomVsSettings}</pomVsSettingsInterpolated>
      </properties>
    
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 11 18:17:16 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java

    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
    @Documented
    @Retention(RUNTIME)
    @Target({TYPE, METHOD})
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileSelector.java

     *
     */
    public interface ProfileSelector {
    
        /**
         * Determines the profiles which are active in the specified activation context. Active profiles will eventually be
         * injected into the model.
         *
         * @param profiles The profiles whose activation status should be determined, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. maven-core/src/site/apt/getting-to-container-configured-mojos.apt

    * MavenSession
    
      We may need to enable the context injection here, since this will be
      instantiated per-project. If we always inject the same context parameters,
      and are careful to inject nulls where things are missing, we should be
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 30 15:20:35 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.classrealm;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.net.MalformedURLException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top