Hi Bennet

Yeah sure that sounds good, to have more validation at build time.

We have already a camel-maven-plugin that can do a bunch of stuff, but
it does not check properties files.
https://github.com/apache/camel/blob/master/tooling/maven/camel-maven-plugin/src/main/docs/camel-maven-plugin.adoc

For example there is already the validate goal, maybe it can be added
there, or as a new goal.

Also a side note. Does Spring Boot have any kind of such tool, eg
users that configure their spring boot app in application.properties /
yaml files may also hit some issues. The camel starter components all
have spring boot meta-data for that also, so if such tool existed it
would be able to cover Camel components as well.

On Thu, Feb 8, 2018 at 2:36 PM, Bennet Schulz <m...@bennet-schulz.de> wrote:
> Hi,
>
> I wrote a Maven plugin some time ago. I heavily used it for my Mule projects 
> to ensure that all properties files (including key and values) are consistent 
> in all development stages (test, prod, and so on).
> Without this plugin it could happen that I run into runtime errors when using 
> a Mule flow in production. Wonder if we could need such a feature in Apache 
> Camel?
> https://github.com/codecentric/check-staging-properties-maven-plugin 
> <https://github.com/codecentric/check-staging-properties-maven-plugin>
>
> What do you think about it?
>
>
> best,
> Bennet



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to