Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for get_model (0.08 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

                            .getCanonicalPath());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
    
                project.getModel().addDependency(dependency);
            }
    
            @Override
            public void afterSessionStart(MavenSession session) {
                session.getUserProperties().setProperty("injected", "bar");
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

     * expressions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface MojoExecution {
    
        @Nonnull
        Plugin getPlugin();
    
        @Nonnull
        PluginExecution getModel();
    
        @Nonnull
        MojoDescriptor getDescriptor();
    
        @Nonnull
        String getExecutionId();
    
        @Nonnull
        String getGoal();
    
        @Nonnull
        String getLifecyclePhase();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                    dependencies = Collections.emptyList();
                } else {
                    dependencies = rel.project.getModel().getDependencies();
    
                    DependencyManagement depMgmt = rel.project.getModel().getDependencyManagement();
                    managedDependencies = (depMgmt != null) ? depMgmt.getDependencies() : null;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainPrivate.java

         */
        boolean matchesRequirements(Map<String, String> requirements);
    
        /**
         *
         * @return the original model wrapped by this interface
         */
        ToolchainModel getModel();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        /**
         * {@return the project model}.
         */
        @Nonnull
        Model getModel();
    
        /**
         * Shorthand method.
         *
         * @return the build element of the project model
         */
        @Nonnull
        default Build getBuild() {
            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_websockets/test_tutorial003.py

    import importlib
    from types import ModuleType
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial003_py39"),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.websockets.{request.param}")
    
        return mod
    
    
    @pytest.fixture(name="html")
    def get_html(mod: ModuleType):
        return mod.html
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java

            this.model = model;
            this.request = request;
            this.problems = problems;
        }
    
        @Override
        public Model getModel() {
            return model;
        }
    
        @Override
        public ModelBuildingRequest getRequest() {
            return request;
        }
    
        @Override
        public ModelProblemCollector getProblems() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

    /**
     * Represents a maven plugin runtime
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Plugin {
    
        @Nonnull
        org.apache.maven.api.model.Plugin getModel();
    
        @Nonnull
        PluginDescriptor getDescriptor();
    
        @Nonnull
        List<Lifecycle> getLifecycles();
    
        @Nonnull
        ClassLoader getClassLoader();
    
        @Nonnull
        Artifact getArtifact();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dependencies/test_tutorial008c.py

    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial008c_py39"),
            pytest.param("tutorial008c_an_py39"),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        return mod
    
    
    def test_get_no_item(mod: ModuleType):
        client = TestClient(mod.app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

        private List<String> fatals = new ArrayList<>();
    
        public SimpleProblemCollector() {}
    
        public SimpleProblemCollector(Model model) {
            this.model = model;
        }
    
        public Model getModel() {
            return model;
        }
    
        public List<String> getWarnings() {
            return warnings;
        }
    
        public List<String> getErrors() {
            return errors;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top