public class ClasspathWriter extends EclipseWriter
logger, project| Constructor and Description |
|---|
ClasspathWriter(MavenProject project,
Log logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(List<MavenProject> projects,
String repositoryVariableName,
ArtifactFactory artifactFactory,
ArtifactResolver artifactResolver,
ArtifactRepository localRepository,
ArtifactMetadataSource artifactMetadataSource,
Set<String> classpathArtifactTypes,
List<ArtifactRepository> remoteRepositories,
boolean resolveTransitiveDependencies,
Variable[] variables,
String merge)
Writes the .classpath file for eclipse.
|
getFilepublic ClasspathWriter(MavenProject project, Log logger)
project - logger - public void write(List<MavenProject> projects, String repositoryVariableName, ArtifactFactory artifactFactory, ArtifactResolver artifactResolver, ArtifactRepository localRepository, ArtifactMetadataSource artifactMetadataSource, Set<String> classpathArtifactTypes, List<ArtifactRepository> remoteRepositories, boolean resolveTransitiveDependencies, Variable[] variables, String merge) throws Exception
projects - the list of projects from which the .classpath will get its dependencies.repositoryVariableName - the name of the maven repository variable.artifactFactory - the factory for constructing artifacts.artifactResolver - the artifact resolver.localRepository - the local repository instance.artifactMetadataSource - classpathArtifactTypes - the artifacts types that are allowed in the classpath file.remoteRepositories - the list of remote repository instances.resolveTransitiveDependencies - whether or not dependencies shall be transitively resolved.variables - Variables replaced within the pathmerge - anything extra (not auto-generated), that should be "merged" into the generated .classpathExceptionCopyright © 2005–2014 AndroMDA.org. All rights reserved.