dkorotych / gradle-maven-exec-plugin

Gradle plugin which provides an Maven exec task
Apache License 2.0
57 stars 7 forks source link

Fix workingDir not used for MavenDescriptor #122

Closed yuxuanchiadm closed 11 months ago

yuxuanchiadm commented 11 months ago

Fix workingDir not used while executing versionSupplier and supportedOptionsSupplier

dkorotych commented 11 months ago

What problem led to this change? The descriptor simply contains a list of parameters for the required version. Why does it have a real working directory, what difference does it make regarding which directory the list will be received? Or does receiving parameters not always work or not for all versions of Maven or Gradle?

yuxuanchiadm commented 11 months ago

I'm trying to use workingDir together with maven wrapper. versionSupplier and supportedOptionsSupplier failed because maven wrapper executable only exists in workingDir.