|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.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 TargetLayout
public File lib()
TargetLayout
lib
in interface TargetLayout
public File projectArtifact()
TargetLayout
File
representing the main build artifact of the
project. This will be used for mvn install/deploy
.
projectArtifact
in interface TargetLayout
public File dialyzerOk()
TargetLayout
File
used by the dialyzer to indicate whether the last
dialyzer run was ok (no warnings/errors).
dialyzerOk
in interface TargetLayout
public File backendLog()
TargetLayout
File
used to write the output generated from the plugin's
backend nodes to.
backendLog
in interface TargetLayout
public File project()
TargetLayout
project
in interface TargetLayout
public File appFile()
TargetLayout
File
is not guaranteed to exist.
appFile
in interface TargetLayout
public File appupFile()
TargetLayout
File
is not guaranteed to exist.
appupFile
in interface TargetLayout
public File ebin()
TargetLayout
ebin
in interface TargetLayout
public File include()
TargetLayout
include
in interface TargetLayout
public File priv()
TargetLayout
priv
in interface TargetLayout
public File src()
TargetLayout
src
in interface TargetLayout
public File test()
TargetLayout
code:lib_dir($APPNAME)
.
test
in interface TargetLayout
public File testEbin()
TargetLayout
testEbin
in interface TargetLayout
public File testInclude()
TargetLayout
testInclude
in interface TargetLayout
public File testPriv()
TargetLayout
code:lib_dir($APPNAME, priv)
.
testPriv
in interface TargetLayout
public File overviewEdoc()
TargetLayout
overview.edoc
.
overviewEdoc
in interface TargetLayout
public File surefireReports()
TargetLayout
surefireReports
in interface TargetLayout
public File coverageReports()
TargetLayout
coverageReports
in interface TargetLayout
public File profilingReports()
TargetLayout
profilingReports
in interface TargetLayout
public File relFile()
TargetLayout
File
is not guaranteed to exist.
relFile
in interface TargetLayout
public File relupFile()
TargetLayout
File
is not guaranteed to exist.
relupFile
in interface TargetLayout
public File sysConfigFile()
TargetLayout
File
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 |