|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.lindenbaum.maven.DefaultTargetLayout
public class DefaultTargetLayout
Implementation of the TargetLayout bean defining the project's build
directory layout.
| Constructor Summary | |
|---|---|
DefaultTargetLayout(org.apache.maven.project.MavenProject project)
Defines the layout of the target directory relevant for maven-erlang projects. |
|
| Method Summary | |
|---|---|
File |
appFile()
Returns the application resource file of an application project that will be packaged. |
File |
appupFile()
Returns the application upgrade file of an application project that will be packaged.The returned File is not guaranteed to exist. |
File |
backendLog()
Returns a File used to write the output generated from the plugin's
backend nodes to. |
File |
base()
Returns the base directory for the build artifacts. |
File |
coverageReports()
Returns the directory where coverage reports will be put. |
File |
dialyzerOk()
Returns a File used by the dialyzer to indicate whether the last
dialyzer run was ok (no warnings/errors). |
File |
ebin()
Returns the directory where the compiled sources will be placed into. |
File |
include()
Returns the directory where includes to package will be put into. |
File |
lib()
Returns the directory where dependencies get unpacked into. |
File |
overviewEdoc()
Returns the path to the application overview file overview.edoc. |
File |
priv()
Returns the directory where private resources will be put into. |
File |
profilingReports()
Returns the directory where profiling reports will be put. |
File |
project()
Returns the base directory for the project packaging. |
File |
projectArtifact()
Returns the File representing the main build artifact of the
project. |
File |
relFile()
Returns the release file of a release project that will be packaged. |
File |
relupFile()
Returns the release upgrade file of a release project that will be packaged. |
File |
src()
Returns the directory where sources to package will be put into. |
File |
surefireReports()
Returns the directory where surefire test reports will be put. |
File |
sysConfigFile()
Returns the system configuration file of a release project that will be packaged. |
File |
test()
Returns the base directory for the tests. |
File |
testEbin()
Returns the directory where the compiled test sources and recompiled sources will be placed into. |
File |
testInclude()
Returns the directory where the include for test compilation will be placed into. |
File |
testPriv()
Returns the directory where the main and test resources will be put into (test resources will override main resources). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTargetLayout(org.apache.maven.project.MavenProject project)
Defines the layout of the target directory relevant for maven-erlang projects. Standard layout is:
target +-- [ARTIFACTID]-[Version] +-- [ARTIFACTID]-[Version]/ebin (*.beam, [ARTIFACTID].app, [ARTIFACTID].appup) +-- [ARTIFACTID]-[Version]/include (*.hrl) +-- [ARTIFACTID]-[Version]/priv (*) +-- [ARTIFACTID]-[Version]/src (*.erl) +-- [ARTIFACTID]-[Version]-test +-- [ARTIFACTID]-[Version]-test/ebin (*.beam) +-- [ARTIFACTID]-[Version]-test/include (*.hrl) +-- [ARTIFACTID]-[Version]-test/priv (*) +-- surefire-reports (*.html) +-- profiling-reports (*.html) +-- relup +-- sys.config +-- [ARTIFACTID].rel +-- .dialyzer.ok +-- backend.log
project - The project to build the target layout for.| Method Detail |
|---|
public File base()
TargetLayout
base in interface TargetLayoutpublic File lib()
TargetLayout
lib in interface TargetLayoutpublic File projectArtifact()
TargetLayoutFile representing the main build artifact of the
project. This will be used for mvn install/deploy.
projectArtifact in interface TargetLayoutpublic File dialyzerOk()
TargetLayoutFile used by the dialyzer to indicate whether the last
dialyzer run was ok (no warnings/errors).
dialyzerOk in interface TargetLayoutpublic File backendLog()
TargetLayoutFile used to write the output generated from the plugin's
backend nodes to.
backendLog in interface TargetLayoutpublic File project()
TargetLayout
project in interface TargetLayoutpublic File appFile()
TargetLayoutFile is not guaranteed to exist.
appFile in interface TargetLayoutpublic File appupFile()
TargetLayoutFile is not guaranteed to exist.
appupFile in interface TargetLayoutpublic File ebin()
TargetLayout
ebin in interface TargetLayoutpublic File include()
TargetLayout
include in interface TargetLayoutpublic File priv()
TargetLayout
priv in interface TargetLayoutpublic File src()
TargetLayout
src in interface TargetLayoutpublic File test()
TargetLayoutcode:lib_dir($APPNAME).
test in interface TargetLayoutpublic File testEbin()
TargetLayout
testEbin in interface TargetLayoutpublic File testInclude()
TargetLayout
testInclude in interface TargetLayoutpublic File testPriv()
TargetLayoutcode:lib_dir($APPNAME, priv).
testPriv in interface TargetLayoutpublic File overviewEdoc()
TargetLayoutoverview.edoc.
overviewEdoc in interface TargetLayoutpublic File surefireReports()
TargetLayout
surefireReports in interface TargetLayoutpublic File coverageReports()
TargetLayout
coverageReports in interface TargetLayoutpublic File profilingReports()
TargetLayout
profilingReports in interface TargetLayoutpublic File relFile()
TargetLayoutFile is not guaranteed to exist.
relFile in interface TargetLayoutpublic File relupFile()
TargetLayoutFile is not guaranteed to exist.
relupFile in interface TargetLayoutpublic File sysConfigFile()
TargetLayoutFile is not guaranteed to exist.
sysConfigFile in interface TargetLayout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||