Add clear and non-ambiguous maven properties to the maven plugin
See original GitHub issueWhen using Maven, often one wants to pass some of the plugin configuration via properties (-DmyProp
).
Currently it seems some of the configuration are available via properties but:
- it’s not documented anywhere (usually plugins have each configuration mapped to an
expression
that is resolved by maven, and it appears in plugin doc as well as in IDE) - it’s not clear if things like
credHelper
, if it is available as a property, is going to be applied toto
,from
or both.
It would be great if all the configuration could be specified via properties named like jib.to.credHelper
and so on.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Properties Maven Plugin – Introduction - MojoHaus
It provides goals to read properties from files and URLs and write properties to files, and also to set system properties. It's main...
Read more >How to use properties-maven-plugin? - Stack Overflow
Official answer from them is that using read-project-properties for setting version of dependencies is not supported: ...
Read more >Usage - Apache Maven Clean Plugin
The Maven Clean Plugin, as the name implies, attempts to clean the files and directories generated by Maven during its build.
Read more >Maven Surefire Plugin – Using System Properties
Using System Properties. There are two ways to add a list of system properties to Surefire: systemPropertyVariables.
Read more >Delete Additional Files Not ... - Apache Maven Clean Plugin
<directory>${basedir}/some/relative/path</directory>. You could also define file set rules in a parent POM. In this case, the clean plugin adds ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@coollog hey thanks for the heads up! 👍
What you can do in the meantime is like this:
Then you can do, e.g.,
mvn -Djib.to.credHelper=docker jib:build
.