Hi,
I’m writing a Maven Pluging with Kotlin. And it happend that maven way of handling string templates are exactly same as Kotlin one.
Therefore following code having compile error, because kotlin is trying to handle “${project.testOutputDirectory}” in the Parameter annotation.
Mojo(name = "mytest", defaultPhase = LifecyclePhase.PROCESS_SOURCES)
public open class FooMojo : AbstractMojo() {
Parameter(defaultValue = “${project.testOutputDirectory}”, property = “outputDirectory”)
private var outputDirectory : String = “”
Is there any way to tell Kotlin to ignore this “${project.testOutputDirectory}” and leave it for maven to handle it ?