|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
eu.lindenbaum.maven.ErlangMojo
eu.lindenbaum.maven.mojo.Setup
public class Setup
Utility goal that will setup a new Erlang/OTP Maven project, creating the basic resources and folders required, from a best practice point of view.
This will typically replace the functionality given by a Maven archetype, checking and creating any missing resource. Regarding erlang/OTP applications this could be:
[artifactId].app[artifactId].appupRegarding erlang/OTP releases this could be:
[artifactId].relsys.configBy default some extras for project management are also generated:
site.xmlindex.apt[.vm]changes.xmlThe default application resource file will look like (this would be sufficient for library applications):
{application, ${ARTIFACT},
[{description, ${DESCRIPTION}},
{id, ${ID}},
{vsn, ${VERSION}},
{modules, ${MODULES}},
{maxT, infinity},
{registered, ${REGISTERED}},
{included_applications, []},
{applications, [kernel, stdlib]},
{env, []},
{start_phases, []}]}.
The default application upgrade file will look like:
{${VERSION}, [EDIT HERE], [EDIT HERE]}.
The default release file will look like:
{release,
{${ARTIFACT}, ${VERSION}},
${ERTS},
${AUTODEPS}}.
The default release upgrade file will look like:
{${VERSION}, [EDIT HERE], [EDIT HERE]}.
The default system configuration file will look like:
[].
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
Setup()
|
|
| Method Summary | |
|---|---|
protected void |
execute(org.apache.maven.plugin.logging.Log log,
Properties p)
Will be invoked when ErlangMojo.execute() gets invoked on the base class. |
| Methods inherited from class eu.lindenbaum.maven.ErlangMojo |
|---|
execute |
| 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 |
| Constructor Detail |
|---|
public Setup()
| Method Detail |
|---|
protected void execute(org.apache.maven.plugin.logging.Log log,
Properties p)
throws org.apache.maven.plugin.MojoExecutionException
ErlangMojoErlangMojo.execute() gets invoked on the base class.
execute in class ErlangMojolog - logger to be used for output loggingp - to be passed by the base class.
org.apache.maven.plugin.MojoExecutionExceptionMojo.execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||