com.sun.enterprise.module.maven
Class RunMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.sun.enterprise.module.maven.RunMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class RunMojo
- extends org.apache.maven.plugin.AbstractMojo
Launches the module system by using all the dependencies as modules.
Not specifying "@execute phase=compile" so that it runs
quickly even with a large project.
- Author:
- Kohsuke Kawaguchi
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunMojo
public RunMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
createModuleRegistry
protected ModulesRegistry createModuleRegistry()
throws IOException
- Creates a fully configured module registry.
- Throws:
IOException
toModuleName
public static String toModuleName(String groupId,
String artifactId)
Copyright © 2012 Oracle Corporation. All Rights Reserved.