Florian Wilhelm
eaf5479e9c
Fix maven parameter handling ( #1493 )
...
Avoid maven error `Unknown lifecycle phase \"-\"` when the value of a define contains `-`.
Don't split and trim maven arguments. Expect they come in as a list, keep them as list.
This is a breaking change compared to the old Groovy implementation which relied on using a shell for calling maven.
As an example, consider this diff:
```diff
- goals: 'org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate',
- defines: "-Dexpression=$pomPathExpression -DforceStdout -q",
+ goals: ['org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate'],
+ defines: ["-Dexpression=$pomPathExpression", "-DforceStdout", "-q"],
```
2020-05-06 17:43:32 +02:00
..
2020-05-05 15:21:59 +02:00
2020-04-30 10:39:27 +02:00
2020-03-26 09:41:03 +01:00
2020-04-17 11:59:51 +02:00
2019-10-23 13:38:31 +02:00
2019-04-15 14:18:08 +02:00
2019-11-11 11:08:20 +01:00
2019-04-09 20:46:45 +02:00
2020-04-24 10:41:49 +02:00
2019-07-29 10:17:56 +02:00
2019-11-12 10:29:08 +01:00
2020-05-05 15:21:59 +02:00
2020-05-05 15:21:59 +02:00
2020-04-22 21:59:14 +02:00
2020-03-30 14:31:24 +02:00
2020-04-17 11:59:51 +02:00
2019-07-02 13:00:36 +02:00
2020-02-10 12:25:33 +01:00
2019-05-08 11:36:01 +02:00
2020-03-20 11:36:16 +01:00
2020-04-17 10:31:04 +02:00
2019-12-09 16:24:11 +01:00
2019-05-16 10:46:13 +02:00
2019-03-21 10:37:02 +01:00
2020-04-17 11:59:51 +02:00
2020-05-05 15:21:59 +02:00
2020-05-05 15:21:59 +02:00
2020-02-04 16:36:09 +01:00
2020-03-05 17:16:53 +01:00
2019-04-02 21:01:09 +02:00
2020-02-06 11:27:31 +01:00
2020-02-03 12:28:16 +01:00
2019-07-02 13:00:36 +02:00
2020-04-17 11:59:51 +02:00
2020-04-24 10:41:49 +02:00
2020-02-13 15:12:48 +01:00
2020-05-06 08:52:26 +02:00
2020-05-06 17:43:32 +02:00
2020-05-06 17:43:32 +02:00
2020-03-30 15:59:59 +02:00
2020-05-06 13:05:54 +02:00
2019-04-12 17:51:38 +02:00
2020-02-14 13:41:36 +01:00
2020-04-17 11:59:51 +02:00
2020-04-28 21:09:19 +02:00
2020-02-17 13:24:56 +01:00
2020-04-24 18:29:30 +02:00
2019-05-16 10:46:13 +02:00
2019-05-22 08:16:07 +02:00
2019-04-12 22:45:31 +02:00
2019-04-12 22:45:31 +02:00
2019-04-12 22:45:31 +02:00
2020-05-06 17:43:32 +02:00
2019-05-15 20:52:45 +02:00
2019-07-05 16:32:24 +02:00
2019-07-03 10:13:26 +02:00
2019-07-05 16:32:24 +02:00
2020-04-04 11:44:02 +02:00
2019-07-05 16:32:24 +02:00
2019-07-03 10:13:26 +02:00
2019-07-03 10:13:26 +02:00
2020-03-19 10:49:28 +01:00
2019-07-05 16:32:24 +02:00
2020-03-30 15:59:59 +02:00
2019-07-03 10:13:26 +02:00
2019-07-18 12:09:54 +02:00
2019-07-03 10:13:26 +02:00
2019-07-03 10:13:26 +02:00
2020-03-16 09:34:59 +01:00
2019-07-03 10:13:26 +02:00
2019-07-18 12:09:54 +02:00
2020-04-17 10:31:04 +02:00
2019-05-31 14:26:25 +02:00
2020-05-06 16:07:10 +02:00
2020-03-03 17:09:09 +01:00
2020-04-08 16:00:02 +02:00
2020-01-13 16:28:12 +01:00
2020-02-17 13:24:56 +01:00
2020-04-29 11:11:23 +02:00
2019-11-06 15:37:14 +01:00
2019-07-29 10:17:56 +02:00
2020-04-01 10:00:36 +02:00
2019-05-16 10:46:13 +02:00
2019-05-16 10:46:13 +02:00
2019-05-17 13:20:13 +02:00
2020-04-17 11:59:51 +02:00
2020-02-25 12:25:26 +01:00
2020-01-17 09:45:47 +01:00