public class SourcesProcessor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected MavenComponents |
mavenComponents |
protected MulePluginsCompatibilityValidator |
mulePluginsCompatibilityValidator |
| Constructor and Description |
|---|
SourcesProcessor(MavenComponents mavenComponents) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getClassifier(boolean testJar,
boolean lightweightPackage) |
protected ApplicationClassLoaderModelAssembler |
getClassLoaderModelAssembler() |
protected ContentGenerator |
getContentGenerator(boolean testJar,
boolean lightweightPackage) |
protected org.mule.maven.client.internal.MuleMavenClient |
getMavenClient() |
protected PackagingType |
getPackagingType() |
protected Project |
getProject(ClassLoaderModel classLoaderModel) |
protected ProjectInformation |
getProjectInformation(boolean testJar,
boolean lightweightPackage) |
protected MulePluginResolver |
getResolver(Project project) |
void |
process(boolean prettyPrinting,
boolean lightweightPackage,
boolean useLocalRepository,
boolean testJar,
File repositoryOutputDirectory,
File classloaderOutputDirectory)
Deprecated.
|
void |
process(boolean prettyPrinting,
boolean lightweightPackage,
boolean useLocalRepository,
boolean testJar,
File repositoryOutputDirectory,
File classloaderOutputDirectory,
Optional<org.mule.maven.client.api.MavenReactorResolver> mavenReactorResolver) |
protected boolean |
validateMuleRuntimeSharedLibrary(String groupId,
String artifactId) |
protected final MulePluginsCompatibilityValidator mulePluginsCompatibilityValidator
protected MavenComponents mavenComponents
public SourcesProcessor(MavenComponents mavenComponents)
@Deprecated public void process(boolean prettyPrinting, boolean lightweightPackage, boolean useLocalRepository, boolean testJar, File repositoryOutputDirectory, File classloaderOutputDirectory) throws Exception
prettyPrinting - if true the classloader-model.json will be printed with pretty print modelightweightPackage - if true generate a lightweight structure else generate a heavyweight structureuseLocalRepository - if true generate the repository with all the application dependenciestestJar - if true repository is going to be generated with test dependenciesrepositoryOutputDirectory - destination folder where the repository folder is going to be createdclassloaderOutputDirectory - destination folder where the classloader-model.json file is going to be createdExceptionpublic void process(boolean prettyPrinting,
boolean lightweightPackage,
boolean useLocalRepository,
boolean testJar,
File repositoryOutputDirectory,
File classloaderOutputDirectory,
Optional<org.mule.maven.client.api.MavenReactorResolver> mavenReactorResolver)
throws Exception
prettyPrinting - if true the classloader-model.json will be printed with pretty print modelightweightPackage - if true generate a lightweight structure else generate a heavyweight structureuseLocalRepository - if true generate the repository with all the application dependenciestestJar - if true repository is going to be generated with test dependenciesrepositoryOutputDirectory - destination folder where the repository folder is going to be createdclassloaderOutputDirectory - destination folder where the classloader-model.json file is going to be createdmavenReactorResolver - MavenReactorResolverExceptionprotected ApplicationClassLoaderModelAssembler getClassLoaderModelAssembler()
protected final boolean validateMuleRuntimeSharedLibrary(String groupId, String artifactId)
protected Project getProject(ClassLoaderModel classLoaderModel)
protected ContentGenerator getContentGenerator(boolean testJar, boolean lightweightPackage)
protected MulePluginResolver getResolver(Project project)
protected ProjectInformation getProjectInformation(boolean testJar, boolean lightweightPackage)
protected String getClassifier(boolean testJar, boolean lightweightPackage)
protected PackagingType getPackagingType()
protected org.mule.maven.client.internal.MuleMavenClient getMavenClient()
Copyright © 2024 MuleSoft Inc. All rights reserved.