Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 819 for throws (0.03 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

            super(protoLookup, contextConsumer);
            this.residentContext = new ConcurrentHashMap<>();
        }
    
        @Override
        public void close() throws InvokerException {
            ArrayList<Exception> exceptions = new ArrayList<>();
            for (MavenContext context : residentContext.values()) {
                try {
                    context.doCloseContainer();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/Graph.java

        }
    
        void addEdge(Vertex from, Vertex to) throws CycleDetectedException {
            from.children.add(to);
            to.parents.add(from);
            List<String> cycle = findCycle(to);
            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainFactory.java

     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainFactory {
        /**
         * Create instance of toolchain.
         **/
        ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException;
    
        /**
         * Returns the default instance of the particular type of toolchain, can return <code>null</code>
         * if not applicable.
         * TODO keep around??
         **/
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ContainerCapsule.java

         */
        @Nonnull
        Optional<ClassLoader> currentThreadClassLoader();
    
        /**
         * Performs a clean shutdown of backing container.
         */
        @Override
        void close() throws Exception;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java

     */
    package org.apache.maven.plugin.descriptor;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MojoDescriptorTest {
        @Test
        void getParameterMap() throws DuplicateParameterException {
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            Parameter param1 = new Parameter();
            param1.setName("param1");
            param1.setDefaultValue("value1");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomBuilder.java

     * of {@link ConsumerPomArtifactTransformer}.
     */
    interface PomBuilder {
        Model build(RepositorySystemSession session, MavenProject project, ModelSource src)
                throws ModelBuilderException, IOException, XMLStreamException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/PluginPrefixResolverStub.java

    import org.eclipse.aether.repository.ArtifactRepository;
    
    /**
     */
    public class PluginPrefixResolverStub implements PluginPrefixResolver {
        @Override
        public PluginPrefixResult resolve(PluginPrefixRequest request) throws NoPluginFoundForPrefixException {
            return new PluginPrefixResult() {
                @Override
                public String getGroupId() {
                    return "com.foobar";
                }
    
                @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "deployer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagement() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

    /**
     * The "help" goal implementation.
     */
    @Named("help")
    @Singleton
    public class Help implements Goal {
    
        @Override
        public int execute(UpgradeContext context) throws Exception {
            context.info("Maven Upgrade Tool - Help");
            context.println();
            context.info("Upgrades Maven projects to be compatible with Maven 4.");
            context.println();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top