My gradle project includes the following custom plugin :
class SystemPropertiesMappingPlugin implements Plugin<Project>{
public void apply(Project project){
project.tasks.withType(Test){ testTask ->
testTask.ext.mappedSystemProperties = []
doFirst{
mappedSystemProperties.each{ mappedPropertyKey ->
def systemPropertyValue = System.getProperty(mappedPropertyKey)
if(systemPropertyValue){
testTask.systemProperty(mappedPropertyKey, systemPropertyValue)
}
}
}
}
}
}
since i want to convert my project to maven, i could not understand how to include this plugin in maven.