Ok, let me open an issue for this. Il giorno ven 10 apr 2020 alle ore 09:28 Claus Ibsen <claus.ib...@gmail.com> ha scritto:
> Hi > > Yeah I suspect its the json mapper that is unordered map so it can > generate the output in "random" order. > We may want to use some ordered tool or what's done for all the other > json generators that dont have this problem. > > On Fri, Apr 10, 2020 at 9:25 AM Andrea Cosentino > <ancosen1...@yahoo.com.invalid> wrote: > > > > Hello, > > > > With JDK8 when we build a single component there is a weird behavior, > the supportLevel seems to be moved to the last component supportLevel > attribute of component-dsl metadata json. > > > > For example, If i build aws2-ec2 > > > > I'll have something like > > > > diff --git > a/core/camel-componentdsl/src/generated/resources/metadata.json > b/core/camel-componentdsl/src/generated/resources/metadata.json > > index 8b42e4c..f43f7d6 100644 > > --- a/core/camel-componentdsl/src/generated/resources/metadata.json > > +++ b/core/camel-componentdsl/src/generated/resources/metadata.json > > @@ -480,7 +480,6 @@ > > "lenientProperties": false, > > "javaType": "org.apache.camel.component.aws2.ec2.AWS2EC2Component", > > "firstVersion": "3.1.0", > > - "supportLevel": "Stable", > > "groupId": "org.apache.camel", > > "artifactId": "camel-aws2-ec2", > > "version": "3.3.0-SNAPSHOT" > > @@ -7599,6 +7598,7 @@ > > "lenientProperties": false, > > "javaType": > "org.apache.camel.component.zookeeper.ZooKeeperComponent", > > "firstVersion": "2.9.0", > > + "supportLevel": "Stable", > > "groupId": "org.apache.camel", > > "artifactId": "camel-zookeeper", > > "version": "3.3.0-SNAPSHOT" > > > > I think there is something wrong. > > > > -- > > Andrea Cosentino > > ---------------------------------- > > Apache Camel PMC Chair > > Apache Karaf Committer > > Apache Servicemix PMC Member > > Email: ancosen1...@yahoo.com > > Twitter: @oscerd2 > > Github: oscerd > > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 >