Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for MavenProject (0.1 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            boolean result = true;
    
            MavenProject topProject = session.getTopLevelProject();
            List<MavenProject> sortedProjects = session.getProjectDependencyGraph().getSortedProjects();
            for (MavenProject mavenProject : sortedProjects) {
                if (!topProject.getVersion().equals(mavenProject.getVersion())) {
                    result = false;
                    break;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    .setUserProperties(new Properties());
    
            initRepoSession(request, configuration);
    
            List<MavenProject> projects = new ArrayList<>();
    
            if (pom != null) {
                MavenProject project = projectBuilder.build(pom, configuration).getProject();
    
                projects.add(project);
                if (includeModules) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.project.MavenProject;
    
    /**
     * @deprecated As of 3.2.2, and there is no direct replacement. This is an internal class which was not marked as such,
     *             but should have been.
     *
     */
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java

     */
    package org.apache.maven.execution;
    
    import java.util.Objects;
    
    import org.apache.maven.project.MavenProject;
    
    /**
     * Summarizes the result of a project build in the reactor.
     *
     */
    public abstract class BuildSummary {
    
        /**
         * The project being summarized.
         */
        private final MavenProject project;
    
        /**
         * The build time of the project in milliseconds.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    import java.util.List;
    import java.util.Properties;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            // load everything...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
            MavenProject project2 = getProject(pom2);
            MavenProject project3 = getProject(pom3);
            MavenProject project4 = getProject(pom4);
            MavenProject project5 = getProject(pom5);
    
            assertEquals("p4", project4.getName());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            ArtifactFactory factory = container.lookup( ArtifactFactory.class );
    
            ArtifactFilter dependencyFilter = new ScopeArtifactFilter( Artifact.SCOPE_COMPILE );
    
            MavenProject project = new MavenProject( new Model() );
    
            Set<Artifact> result = project.createArtifacts( dependencyFilter );
    
            for (Iterator<Artifact> it = result.iterator(); it.hasNext(); )
            {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

    import org.apache.maven.model.resolution.UnresolvableModelException;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.project.DefaultProjectBuildingRequest;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuilder;
    import org.apache.maven.project.ProjectBuildingException;
    import org.apache.maven.project.ProjectBuildingRequest;
    import org.apache.maven.properties.internal.EnvironmentUtils;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

        }
    
        private void checkArtifactIdScope(MavenProject project, String scope, String scopeValue) {
            String artifactId = "scope-" + scope;
            Artifact artifact = getArtifact(project, "maven-test", artifactId);
            assertNotNull(artifact);
            assertEquals(scopeValue, artifact.getScope(), "Check scope");
        }
    
        private Artifact getArtifact(MavenProject project, String groupId, String artifactId) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

    import org.apache.maven.api.ProducedArtifact;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.di.SessionScoped;
    import org.apache.maven.api.services.ArtifactManager;
    import org.apache.maven.project.MavenProject;
    import org.eclipse.sisu.Typed;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Typed
    @SessionScoped
    public class DefaultArtifactManager implements ArtifactManager {
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top