Class MavenUtils
java.lang.Object
com.aeontronix.enhancedmule.tools.util.MavenUtils
public class MavenUtils extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMavenUtils.SecretResolver -
Constructor Summary
Constructors Constructor Description MavenUtils() -
Method Summary
Modifier and Type Method Description static voidaddRepositoryUsernamePassword(org.eclipse.aether.repository.AuthenticationSelector authenticationSelector, String id, String username, MavenUtils.SecretResolver secretResolver)static FilegetProjectJar(org.apache.maven.project.MavenProject project)static booleanisTemplateOrExample(org.apache.maven.project.MavenProject project)
-
Constructor Details
-
MavenUtils
public MavenUtils()
-
-
Method Details
-
getProjectJar
public static File getProjectJar(org.apache.maven.project.MavenProject project) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
isTemplateOrExample
public static boolean isTemplateOrExample(org.apache.maven.project.MavenProject project) -
addRepositoryUsernamePassword
public static void addRepositoryUsernamePassword(org.eclipse.aether.repository.AuthenticationSelector authenticationSelector, String id, String username, MavenUtils.SecretResolver secretResolver) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException
-