Examples of DependencyContext


Examples of org.apache.maven.lifecycle.internal.DependencyContext

                                             // Ok, so this method could probably have a better location.
        LifecycleExecutionPlanCalculatorImpl.collectDependencyRequirements( requiredDependencyResolutionScopes,
                                                                            requiredDependencyCollectionScopes,
                                                                            mojoExecution );

        final DependencyContext context =
            new DependencyContext( requiredDependencyCollectionScopes, requiredDependencyResolutionScopes,
                                   mojoExecution.getMojoDescriptor().isAggregator() );
        mojoExecutor.executeForkedExecutions( mojoExecution, session, new ProjectIndex( session.getProjects() ),
                                              context );
        return Collections.emptyList();
    }
View Full Code Here

Examples of org.apache.maven.lifecycle.internal.DependencyContext

                                             // Ok, so this method could probably have a better location.
        DefaultLifecycleExecutionPlanCalculator.collectDependencyRequirements( requiredDependencyResolutionScopes,
                                                                            requiredDependencyCollectionScopes,
                                                                            mojoExecution );

        final DependencyContext context =
            new DependencyContext( requiredDependencyCollectionScopes, requiredDependencyResolutionScopes,
                                   mojoExecution.getMojoDescriptor().isAggregator() );
        mojoExecutor.executeForkedExecutions( mojoExecution, session, new ProjectIndex( session.getProjects() ),
                                              context );
        return Collections.emptyList();
    }
View Full Code Here

Examples of org.apache.maven.lifecycle.internal.DependencyContext

    artifacts = project.getArtifacts();
    dependencyArtifacts = project.getDependencyArtifacts();
    try {
              
      MojoExecutor mojoExecutor = lookup(MojoExecutor.class);
      DependencyContext dependencyContext = mojoExecutor.newDependencyContext(session,
          Collections.singletonList(execution));

      mojoExecutor.ensureDependenciesAreResolved(execution.getMojoDescriptor(), session, dependencyContext);

    } catch(Exception ex) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.