class MavenInvoker: Any
Fields
Name | Description |
---|---|
val LOG: LoggerFactory.getLogger(this.javaClass.name)
|
|
val mavenHome: String
|
|
val mavenRepository: String
|
|
var securityManagerEnabled: Boolean
|
|
var showMavenOutput: Boolean
|
Constructors
Name | Description |
---|---|
constructor()
|
Utility to perform Maven related tasks. |
Methods
disableSecurity
fun disableSecurity()
ReturnValue
Name | Description |
---|---|
Unit
|
run
fun run(mavenizedProjectFolder: File, principalName: String?, maxMemoryMb: Int?): MavenResult
Runs and project using Maven. This function executes the compilation and testing of a submitted project.
Parameters
Name | Description |
---|---|
mavenizedProjectFolder: File
|
is a File containing the project's files |
principalName: String?
|
is a String |
maxMemoryMb: Int?
|
is an Int |
ReturnValue
Name | Description |
---|---|
MavenResult
|
a MavenResult |
Utility to perform Maven related tasks.