org.gcube.vremanagement.softwaregateway.impl.repositorymanager.maven
Class MavenDependenciesSolver

java.lang.Object
  extended by org.gcube.vremanagement.softwaregateway.impl.repositorymanager.maven.MavenDependenciesSolver

public class MavenDependenciesSolver
extends Object


Field Summary
static String DEPENDENCY_RESOLUTION
          DEPENDENCY_RESOLUTION
protected  org.gcube.common.core.utils.logging.GCUBELog logger
           
static String MISSING_DEPENDENCIES
          MISSING_DEPENDENCIES
static String RESOLVED_DEPENDECIES
          RESOLVED_DEPENDECIES
 
Constructor Summary
MavenDependenciesSolver()
           
 
Method Summary
 String dependenciesSolverFromPom(File pomFile, File projectDir, String repository, String scope)
          Invokes a maven embedded and exec a dependencies:tree plugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEPENDENCY_RESOLUTION

public static final String DEPENDENCY_RESOLUTION
DEPENDENCY_RESOLUTION

See Also:
Constant Field Values

RESOLVED_DEPENDECIES

public static final String RESOLVED_DEPENDECIES
RESOLVED_DEPENDECIES

See Also:
Constant Field Values

MISSING_DEPENDENCIES

public static final String MISSING_DEPENDENCIES
MISSING_DEPENDENCIES

See Also:
Constant Field Values

logger

protected final org.gcube.common.core.utils.logging.GCUBELog logger
Constructor Detail

MavenDependenciesSolver

public MavenDependenciesSolver()
Method Detail

dependenciesSolverFromPom

public String dependenciesSolverFromPom(File pomFile,
                                        File projectDir,
                                        String repository,
                                        String scope)
                                 throws Exception
Invokes a maven embedded and exec a dependencies:tree plugin

Parameters:
pomFile -
projectDir -
repository -
scope -
Returns:
Throws:
Throwable
Exception


Copyright © 2013. All Rights Reserved.