Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 4,092 for Inject (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

     * control the lifecycle of the mojo itself, and to inject other beans.
     * </p>
     * <p>
     * The mojo class can also be injected with an {@link Execute} annotation to specify a
     * forked lifecycle.
     * </p>
     * <p>
     * The {@link Parameter} annotation can be added on fields to inject data
     * from the plugin configuration or from other components.
     * </p>
     * <p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 29 18:21:40 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.List;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.path;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.execution.ExecutionEvent;
    import org.apache.maven.execution.ExecutionListener;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.MojoExecution;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.IOException;
    import java.lang.reflect.Method;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/SessionScoped.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import com.google.inject.ScopeAnnotation;
    
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.regex.Pattern;
    
    import org.apache.maven.model.Activation;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import javax.inject.Named;
    
    /**
     * Wagon with per-lookup instantiation strategy.
     */
    @Named("perlookup")
    public class PerLookupWagon extends WagonMock {
    
        public String[] getSupportedProtocols() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

    import java.nio.file.Path;
    import java.util.List;
    import java.util.Map;
    
    import eu.maveniverse.domtrip.Document;
    import org.apache.maven.api.cli.mvnup.UpgradeOptions;
    import org.apache.maven.api.di.Inject;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
    
    /**
     * domtrip-based orchestrator for executing different upgrade strategies.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            DcerpcPipeHandle handle = mock(DcerpcPipeHandle.class);
    
            // Inject the binding using reflection
            Field bindingField = DcerpcHandle.class.getDeclaredField("binding");
            bindingField.setAccessible(true);
            bindingField.set(handle, mockDcerpcBinding);
    
            // Inject the CIFSContext using reflection
            Field tcField = DcerpcHandle.class.getDeclaredField("transportContext");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top