- name: discovery-rules
  tags:
  - EJB XML
  - Maven XML
  insights:
    discover-maven-xml:
      description: Maven XML file
      labels:
      - discovery
      - konveyor.io/include=always
      - konveyor.io/target=discovery
      - tag=Maven XML
      incidents:
      - uri: file:///opt/input/source/pom.xml
        message: ""
    windup-discover-ejb-configuration:
      description: EJB XML Configuration
      labels:
      - discovery
      - konveyor.io/include=always
      - konveyor.io/target=discovery
      - tag=EJB XML
      incidents:
      - uri: file:///opt/input/source/pom.xml
        message: ""
        codeSnip: "  1  <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n  2  <!--\n  3  \n  4       Copyright 2005-2018 Red Hat, Inc.\n  5  \n  6       Red Hat licenses this file to you under the Apache License, version\n  7       2.0 (the \"License\"); you may not use this file except in compliance\n  8       with the License.  You may obtain a copy of the License at\n  9  \n 10          http://www.apache.org/licenses/LICENSE-2.0\n 11  \n 12       Unless required by applicable law or agreed to in writing, software\n 13       distributed under the License is distributed on an \"AS IS\" BASIS,\n 14       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n 15       implied.  See the License for the specific language governing\n 16       permissions and limitations under the License.\n 17  \n 18  -->\n 19  <project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd\">\n 20  \n 21      <modelVersion>4.0.0</modelVersion>\n 22  \n 23      <groupId>org.jboss.fuse.quickstarts</groupId>\n 24      <artifactId>beginner-camel-cbr</artifactId>\n 25      <version>7.12.1.fuse-7_12_1-00009-redhat-00001</version>\n 26      <packaging>bundle</packaging>\n 27  \n 28      <name>Red Hat Fuse :: Quickstarts :: camel-cbr</name>\n 29      <description>Camel Content-Based Router Example</description>\n 30  \n 31      <properties>\n 32          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\n 33          <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\n 34  \n 35          <skip.quickstarts.tests>true</skip.quickstarts.tests>\n 36  \n 37          <!-- version of BOM -->\n 38          <version.org.jboss.redhat-fuse>7.12.1.fuse-7_12_1-00009-redhat-00001</version.org.jboss.redhat-fuse>\n 39  \n 40          <!-- Plugins from org.apache.maven.plugins -->\n 41          <version.plugin.maven-compiler-plugin>3.7.0</version.plugin.maven-compiler-plugin>\n 42          <version.plugin.maven-deploy-plugin>2.8.2</version.plugin.maven-deploy-plugin>\n 43          <version.plugin.maven-install-plugin>2.5.2</version.plugin.maven-install-plugin>\n 44          <version.plugin.maven-resources-plugin>3.0.2</version.plugin.maven-resources-plugin>\n 45          <version.plugin.maven-surefire-plugin>2.22.2</version.plugin.maven-surefire-plugin>\n 46  \n 47          <version.plugin.maven-bundle-plugin>3.5.1</version.plugin.maven-bundle-plugin>\n 48      </properties>\n 49  \n 50      <repositories>\n 51          \n 52      </repositories>\n 53  \n 54      <pluginRepositories>\n 55          \n 56      </pluginRepositories>\n 57  \n 58      <dependencyManagement>\n 59          <dependencies>\n 60  \n 61              <!-- Fuse BOM to import all non-plugin dependencies -->\n 62  \n 63              <dependency>\n 64                  <groupId>org.jboss.redhat-fuse</groupId>\n 65                  <artifactId>fuse-karaf-bom</artifactId>\n 66                  <version>${version.org.jboss.redhat-fuse}</version>\n 67                  <scope>import</scope>\n 68                  <type>pom</type>\n 69              </dependency>\n 70  \n 71          </dependencies>\n 72      </dependencyManagement>\n 73  \n 74      <dependencies>\n 75  \n 76          <!-- Camel dependencies -->\n 77  \n 78          <dependency>\n 79              <groupId>org.apache.camel</groupId>\n 80              <artifactId>camel-blueprint</artifactId>\n 81              <scope>provided</scope>\n 82          </dependency>\n 83  \n 84      </dependencies>\n 85  \n 86      <build>\n 87          <pluginManagement>\n 88              <plugins>\n 89  \n 90                  <!-- Core plugins -->\n 91  \n 92                  <plugin>\n 93                      <groupId>org.apache.maven.plugins</groupId>\n 94                      <artifactId>maven-compiler-plugin</artifactId>\n 95                      <version>${version.plugin.maven-compiler-plugin}</version>\n 96                  </plugin>\n 97                  <plugin>\n 98                      <groupId>org.apache.maven.plugins</groupId>\n 99                      <artifactId>maven-deploy-plugin</artifactId>\n100                      <version>${version.plugin.maven-deploy-plugin}</version>\n101                  </plugin>\n102                  <plugin>\n103                      <groupId>org.apache.maven.plugins</groupId>\n104                      <artifactId>maven-install-plugin</artifactId>\n105                      <version>${version.plugin.maven-install-plugin}</version>\n106                  </plugin>\n107                  <plugin>\n108                      <groupId>org.apache.maven.plugins</groupId>\n109                      <artifactId>maven-resources-plugin</artifactId>\n110                      <version>${version.plugin.maven-resources-plugin}</version>\n111                  </plugin>\n112                  <plugin>\n113                      <groupId>org.apache.maven.plugins</groupId>\n114                      <artifactId>maven-surefire-plugin</artifactId>\n115                      <version>${version.plugin.maven-surefire-plugin}</version>\n116                  </plugin>\n117  \n118                  <!-- Felix plugins -->\n119  \n120                  <plugin>\n121                      <groupId>org.apache.felix</groupId>\n122                      <artifactId>maven-bundle-plugin</artifactId>"
        lineNumber: 21
        variables:
          data: ""
          innerText: "\n\n\n\n    4.0.0\n\n    org.jboss.fuse.quickstarts\n    beginner-camel-cbr\n    7.12.1.fuse-7_12_1-00009-redhat-00001\n    bundle\n\n    Red Hat Fuse :: Quickstarts :: camel-cbr\n    Camel Content-Based Router Example\n\n    \n        UTF-8\n        UTF-8\n\n        true\n\n        \n        7.12.1.fuse-7_12_1-00009-redhat-00001\n\n        \n        3.7.0\n        2.8.2\n        2.5.2\n        3.0.2\n        2.22.2\n\n        3.5.1\n    \n\n    \n        \n    \n\n    \n        \n    \n\n    \n        \n\n            \n\n            \n                org.jboss.redhat-fuse\n                fuse-karaf-bom\n                ${version.org.jboss.redhat-fuse}\n                import\n                pom\n            \n\n        \n    \n\n    \n\n        \n\n        \n            org.apache.camel\n            camel-blueprint\n            provided\n        \n\n    \n\n    \n        \n            \n\n                \n\n                \n                    org.apache.maven.plugins\n                    maven-compiler-plugin\n                    ${version.plugin.maven-compiler-plugin}\n                \n                \n                    org.apache.maven.plugins\n                    maven-deploy-plugin\n                    ${version.plugin.maven-deploy-plugin}\n                \n                \n                    org.apache.maven.plugins\n                    maven-install-plugin\n                    ${version.plugin.maven-install-plugin}\n                \n                \n                    org.apache.maven.plugins\n                    maven-resources-plugin\n                    ${version.plugin.maven-resources-plugin}\n                \n                \n                    org.apache.maven.plugins\n                    maven-surefire-plugin\n                    ${version.plugin.maven-surefire-plugin}\n                \n\n                \n\n                \n                    org.apache.felix\n                    maven-bundle-plugin\n                    ${version.plugin.maven-bundle-plugin}\n                    true\n                \n\n            \n        \n\n        \n\n            \n\n            \n                org.apache.maven.plugins\n                maven-compiler-plugin\n                \n                    1.8\n                    1.8\n                \n            \n            \n                org.apache.maven.plugins\n                maven-surefire-plugin\n                \n                    \n                    ${skip.quickstarts.tests}\n                \n            \n\n            \n\n            \n                org.apache.felix\n                maven-bundle-plugin\n                true\n                \n                    NONE\n                    \n                        ${project.artifactId}\n                    \n                \n            \n\n        \n    \n\n    \n        \n            qtest\n            \n                false\n            \n            \n                verify\n            \n        \n    \n\n\n"
          matchingXML: |-
            <?xml version="1.0" encoding="UTF-8"?><!--

                 Copyright 2005-2018 Red Hat, Inc.

                 Red Hat licenses this file to you under the Apache License, version
                 2.0 (the "License"); you may not use this file except in compliance
                 with the License.  You may obtain a copy of the License at

                    http://www.apache.org/licenses/LICENSE-2.0

                 Unless required by applicable law or agreed to in writing, software
                 distributed under the License is distributed on an "AS IS" BASIS,
                 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
                 implied.  See the License for the specific language governing
                 permissions and limitations under the License.

            --><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"><modelVersion>4.0.0</modelVersion><groupId>org.jboss.fuse.quickstarts</groupId><artifactId>beginner-camel-cbr</artifactId><version>7.12.1.fuse-7_12_1-00009-redhat-00001</version><packaging>bundle</packaging><name>Red Hat Fuse :: Quickstarts :: camel-cbr</name><description>Camel Content-Based Router Example</description><properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding><project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding><skip.quickstarts.tests>true</skip.quickstarts.tests><!-- version of BOM --><version.org.jboss.redhat-fuse>7.12.1.fuse-7_12_1-00009-redhat-00001</version.org.jboss.redhat-fuse><!-- Plugins from org.apache.maven.plugins --><version.plugin.maven-compiler-plugin>3.7.0</version.plugin.maven-compiler-plugin><version.plugin.maven-deploy-plugin>2.8.2</version.plugin.maven-deploy-plugin><version.plugin.maven-install-plugin>2.5.2</version.plugin.maven-install-plugin><version.plugin.maven-resources-plugin>3.0.2</version.plugin.maven-resources-plugin><version.plugin.maven-surefire-plugin>2.22.2</version.plugin.maven-surefire-plugin><version.plugin.maven-bundle-plugin>3.5.1</version.plugin.maven-bundle-plugin></properties><repositories></repositories><pluginRepositories></pluginRepositories><dependencyManagement><dependencies><!-- Fuse BOM to import all non-plugin dependencies --><dependency><groupId>org.jboss.redhat-fuse</groupId><artifactId>fuse-karaf-bom</artifactId><version>${version.org.jboss.redhat-fuse}</version><scope>import</scope><type>pom</type></dependency></dependencies></dependencyManagement><dependencies><!-- Camel dependencies --><dependency><groupId>org.apache.camel</groupId><artifactId>camel-blueprint</artifactId><scope>provided</scope></dependency></dependencies><build><pluginManagement><plugins><!-- Core plugins --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><version>${version.plugin.maven-compiler-plugin}</version></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-deploy-plugin</artifactId><version>${version.plugin.maven-deploy-plugin}</version></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-install-plugin</artifactId><version>${version.plugin.maven-install-plugin}</version></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-resources-plugin</artifactId><version>${version.plugin.maven-resources-plugin}</version></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>${version.plugin.maven-surefire-plugin}</version></plugin><!-- Felix plugins --><plugin><groupId>org.apache.felix</groupId><artifactId>maven-bundle-plugin</artifactId><version>${version.plugin.maven-bundle-plugin}</version><extensions>true</extensions></plugin></plugins></pluginManagement><plugins><!-- Core plugins --><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><configuration><source>1.8</source><target>1.8</target></configuration></plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><configuration><!-- Skip tests by default and enable them only in "qtest" profile --><skipTests>${skip.quickstarts.tests}</skipTests></configuration></plugin><!-- Felix plugins --><plugin><groupId>org.apache.felix</groupId><artifactId>maven-bundle-plugin</artifactId><extensions>true</extensions><configuration><obrRepository>NONE</obrRepository><instructions><Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName></instructions></configuration></plugin></plugins></build><profiles><profile><id>qtest</id><properties><skip.quickstarts.tests>false</skip.quickstarts.tests></properties><build><defaultGoal>verify</defaultGoal></build></profile></profiles></project>
      - uri: file:///opt/input/source/src/main/fuse/data/order1.xml
        message: ""
        codeSnip: "  1  <?xml version=\"1.0\"?>\n  2  <!--\n  3  \n  4       Copyright 2005-2018 Red Hat, Inc.\n  5  \n  6       Red Hat licenses this file to you under the Apache License, version\n  7       2.0 (the \"License\"); you may not use this file except in compliance\n  8       with the License.  You may obtain a copy of the License at\n  9  \n 10          http://www.apache.org/licenses/LICENSE-2.0\n 11  \n 12       Unless required by applicable law or agreed to in writing, software\n 13       distributed under the License is distributed on an \"AS IS\" BASIS,\n 14       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n 15       implied.  See the License for the specific language governing\n 16       permissions and limitations under the License.\n 17  \n 18  -->\n 19  <order xmlns=\"http://org.jboss.fuse.quickstarts/examples/order/v7\">\n 20  \n 21      <customer id=\"A0001\">\n 22          <name>Antwerp Zoo</name>\n 23          <city>Antwerp</city>\n 24          <country>BE</country>\n 25      </customer>\n 26  \n 27      <date>2017-03-01</date>\n 28  \n 29      <orderlines>\n 30          <orderline>\n 31              <article id=\"A0001\">\n 32                  <description>Aardvark</description>\n 33              </article>\n 34              <quantity>1</quantity>\n 35          </orderline>\n 36          <orderline>\n 37              <article id=\"A0011\">\n 38                  <description>Alpaca</description>\n 39              </article>\n 40              <quantity>10</quantity>\n 41          </orderline>\n 42      </orderlines>\n 43  </order>\n"
        lineNumber: 21
        variables:
          data: ""
          innerText: "\n\n\n\n    \n        Antwerp Zoo\n        Antwerp\n        BE\n    \n\n    2017-03-01\n\n    \n        \n            \n                Aardvark\n            \n            1\n        \n        \n            \n                Alpaca\n            \n            10\n        \n    \n\n"
          matchingXML: |-
            <?xml version="1.0"?><!--

                 Copyright 2005-2018 Red Hat, Inc.

                 Red Hat licenses this file to you under the Apache License, version
                 2.0 (the "License"); you may not use this file except in compliance
                 with the License.  You may obtain a copy of the License at

                    http://www.apache.org/licenses/LICENSE-2.0

                 Unless required by applicable law or agreed to in writing, software
                 distributed under the License is distributed on an "AS IS" BASIS,
                 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
                 implied.  See the License for the specific language governing
                 permissions and limitations under the License.

            --><order xmlns="http://org.jboss.fuse.quickstarts/examples/order/v7"><customer id="A0001"><name>Antwerp Zoo</name><city>Antwerp</city><country>BE</country></customer><date>2017-03-01</date><orderlines><orderline><article id="A0001"><description>Aardvark</description></article><quantity>1</quantity></orderline><orderline><article id="A0011"><description>Alpaca</description></article><quantity>10</quantity></orderline></orderlines></order>
      - uri: file:///opt/input/source/src/main/fuse/data/order2.xml
        message: ""
        codeSnip: "  1  <?xml version=\"1.0\"?>\n  2  <!--\n  3  \n  4       Copyright 2005-2018 Red Hat, Inc.\n  5  \n  6       Red Hat licenses this file to you under the Apache License, version\n  7       2.0 (the \"License\"); you may not use this file except in compliance\n  8       with the License.  You may obtain a copy of the License at\n  9  \n 10          http://www.apache.org/licenses/LICENSE-2.0\n 11  \n 12       Unless required by applicable law or agreed to in writing, software\n 13       distributed under the License is distributed on an \"AS IS\" BASIS,\n 14       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n 15       implied.  See the License for the specific language governing\n 16       permissions and limitations under the License.\n 17  \n 18  -->\n 19  <order xmlns=\"http://org.jboss.fuse.quickstarts/examples/order/v7\">\n 20  \n 21      <customer id=\"B0002\">\n 22          <name>Bristol Zoo Gardens</name>\n 23          <city>Bristol</city>\n 24          <country>UK</country>\n 25      </customer>\n 26  \n 27      <date>2017-03-02</date>\n 28  \n 29      <orderlines>\n 30          <orderline>\n 31              <article id=\"B0002\">\n 32                  <description>Badger</description>\n 33              </article>\n 34              <quantity>2</quantity>\n 35          </orderline>\n 36          <orderline>\n 37              <article id=\"B0202\">\n 38                  <description>Bee</description>\n 39              </article>\n 40              <quantity>200</quantity>\n 41          </orderline>\n 42      </orderlines>\n 43  </order>\n"
        lineNumber: 21
        variables:
          data: ""
          innerText: "\n\n\n\n    \n        Bristol Zoo Gardens\n        Bristol\n        UK\n    \n\n    2017-03-02\n\n    \n        \n            \n                Badger\n            \n            2\n        \n        \n            \n                Bee\n            \n            200\n        \n    \n\n"
          matchingXML: |-
            <?xml version="1.0"?><!--

                 Copyright 2005-2018 Red Hat, Inc.

                 Red Hat licenses this file to you under the Apache License, version
                 2.0 (the "License"); you may not use this file except in compliance
                 with the License.  You may obtain a copy of the License at

                    http://www.apache.org/licenses/LICENSE-2.0

                 Unless required by applicable law or agreed to in writing, software
                 distributed under the License is distributed on an "AS IS" BASIS,
                 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
                 implied.  See the License for the specific language governing
                 permissions and limitations under the License.

            --><order xmlns="http://org.jboss.fuse.quickstarts/examples/order/v7"><customer id="B0002"><name>Bristol Zoo Gardens</name><city>Bristol</city><country>UK</country></customer><date>2017-03-02</date><orderlines><orderline><article id="B0002"><description>Badger</description></article><quantity>2</quantity></orderline><orderline><article id="B0202"><description>Bee</description></article><quantity>200</quantity></orderline></orderlines></order>
      - uri: file:///opt/input/source/src/main/fuse/data/order3.xml
        message: ""
        codeSnip: "  1  <?xml version=\"1.0\"?>\n  2  <!--\n  3  \n  4       Copyright 2005-2018 Red Hat, Inc.\n  5  \n  6       Red Hat licenses this file to you under the Apache License, version\n  7       2.0 (the \"License\"); you may not use this file except in compliance\n  8       with the License.  You may obtain a copy of the License at\n  9  \n 10          http://www.apache.org/licenses/LICENSE-2.0\n 11  \n 12       Unless required by applicable law or agreed to in writing, software\n 13       distributed under the License is distributed on an \"AS IS\" BASIS,\n 14       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n 15       implied.  See the License for the specific language governing\n 16       permissions and limitations under the License.\n 17  \n 18  -->\n 19  <order xmlns=\"http://org.jboss.fuse.quickstarts/examples/order/v7\">\n 20  \n 21      <customer id=\"C0003\">\n 22          <name>Columbus Zoo and Aquarium</name>\n 23          <city>Columbus</city>\n 24          <country>US</country>\n 25      </customer>\n 26  \n 27      <date>2017-03-03</date>\n 28  \n 29      <orderlines>\n 30          <orderline>\n 31              <article id=\"C0003\">\n 32                  <description>Camel</description>\n 33              </article>\n 34              <!-- we all love Camels, don't we ;) ? -->\n 35              <quantity>100</quantity>\n 36          </orderline>\n 37          <orderline>\n 38              <article id=\"C0333\">\n 39                  <description>Crocodile</description>\n 40              </article>\n 41              <quantity>1</quantity>\n 42          </orderline>\n 43      </orderlines>\n 44  </order>\n"
        lineNumber: 21
        variables:
          data: ""
          innerText: "\n\n\n\n    \n        Columbus Zoo and Aquarium\n        Columbus\n        US\n    \n\n    2017-03-03\n\n    \n        \n            \n                Camel\n            \n            \n            100\n        \n        \n            \n                Crocodile\n            \n            1\n        \n    \n\n"
          matchingXML: |-
            <?xml version="1.0"?><!--

                 Copyright 2005-2018 Red Hat, Inc.

                 Red Hat licenses this file to you under the Apache License, version
                 2.0 (the "License"); you may not use this file except in compliance
                 with the License.  You may obtain a copy of the License at

                    http://www.apache.org/licenses/LICENSE-2.0

                 Unless required by applicable law or agreed to in writing, software
                 distributed under the License is distributed on an "AS IS" BASIS,
                 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
                 implied.  See the License for the specific language governing
                 permissions and limitations under the License.

            --><order xmlns="http://org.jboss.fuse.quickstarts/examples/order/v7"><customer id="C0003"><name>Columbus Zoo and Aquarium</name><city>Columbus</city><country>US</country></customer><date>2017-03-03</date><orderlines><orderline><article id="C0003"><description>Camel</description></article><!-- we all love Camels, don't we ;) ? --><quantity>100</quantity></orderline><orderline><article id="C0333"><description>Crocodile</description></article><quantity>1</quantity></orderline></orderlines></order>
      - uri: file:///opt/input/source/src/main/fuse/data/order4.xml
        message: ""
        codeSnip: "  1  <?xml version=\"1.0\"?>\n  2  <!--\n  3  \n  4       Copyright 2005-2018 Red Hat, Inc.\n  5  \n  6       Red Hat licenses this file to you under the Apache License, version\n  7       2.0 (the \"License\"); you may not use this file except in compliance\n  8       with the License.  You may obtain a copy of the License at\n  9  \n 10          http://www.apache.org/licenses/LICENSE-2.0\n 11  \n 12       Unless required by applicable law or agreed to in writing, software\n 13       distributed under the License is distributed on an \"AS IS\" BASIS,\n 14       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n 15       implied.  See the License for the specific language governing\n 16       permissions and limitations under the License.\n 17  \n 18  -->\n 19  <order xmlns=\"http://org.jboss.fuse.quickstarts/examples/order/v7\">\n 20  \n 21      <customer id=\"D0004\">\n 22          <name>Dartmoor Zoological Park</name>\n 23          <city>Devon</city>\n 24          <country>UK</country>\n 25      </customer>\n 26  \n 27      <date>2017-03-04</date>\n 28  \n 29      <orderlines>\n 30          <orderline>\n 31              <article id=\"D0040\">\n 32                  <description>Dinosaur</description>\n 33              </article>\n 34              <quantity>4</quantity>\n 35          </orderline>\n 36          <orderline>\n 37              <article id=\"D0400\">\n 38                  <description>Dragonfly</description>\n 39              </article>\n 40              <quantity>40</quantity>\n 41          </orderline>\n 42      </orderlines>\n 43  </order>\n"
        lineNumber: 21
        variables:
          data: ""
          innerText: "\n\n\n\n    \n        Dartmoor Zoological Park\n        Devon\n        UK\n    \n\n    2017-03-04\n\n    \n        \n            \n                Dinosaur\n            \n            4\n        \n        \n            \n                Dragonfly\n            \n            40\n        \n    \n\n"
          matchingXML: |-
            <?xml version="1.0"?><!--

                 Copyright 2005-2018 Red Hat, Inc.

                 Red Hat licenses this file to you under the Apache License, version
                 2.0 (the "License"); you may not use this file except in compliance
                 with the License.  You may obtain a copy of the License at

                    http://www.apache.org/licenses/LICENSE-2.0

                 Unless required by applicable law or agreed to in writing, software
                 distributed under the License is distributed on an "AS IS" BASIS,
                 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
                 implied.  See the License for the specific language governing
                 permissions and limitations under the License.

            --><order xmlns="http://org.jboss.fuse.quickstarts/examples/order/v7"><customer id="D0004"><name>Dartmoor Zoological Park</name><city>Devon</city><country>UK</country></customer><date>2017-03-04</date><orderlines><orderline><article id="D0040"><description>Dinosaur</description></article><quantity>4</quantity></orderline><orderline><article id="D0400"><description>Dragonfly</description></article><quantity>40</quantity></orderline></orderlines></order>
      - uri: file:///opt/input/source/src/main/fuse/data/order5.xml
        message: ""
        codeSnip: "  1  <?xml version=\"1.0\"?>\n  2  <!--\n  3  \n  4       Copyright 2005-2018 Red Hat, Inc.\n  5  \n  6       Red Hat licenses this file to you under the Apache License, version\n  7       2.0 (the \"License\"); you may not use this file except in compliance\n  8       with the License.  You may obtain a copy of the License at\n  9  \n 10          http://www.apache.org/licenses/LICENSE-2.0\n 11  \n 12       Unless required by applicable law or agreed to in writing, software\n 13       distributed under the License is distributed on an \"AS IS\" BASIS,\n 14       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n 15       implied.  See the License for the specific language governing\n 16       permissions and limitations under the License.\n 17  \n 18  -->\n 19  <order xmlns=\"http://org.jboss.fuse.quickstarts/examples/order/v7\">\n 20  \n 21      <customer id=\"E0004\">\n 22          <name>Erie Zoo</name>\n 23          <city>Erie</city>\n 24          <country>US</country>\n 25      </customer>\n 26  \n 27      <date>2017-03-05</date>\n 28  \n 29      <orderlines>\n 30          <orderline>\n 31              <article id=\"E0500\">\n 32                  <description>Elk</description>\n 33              </article>\n 34              <quantity>50</quantity>\n 35          </orderline>\n 36          <orderline>\n 37              <article id=\"E0005\">\n 38                  <description>Elephant</description>\n 39              </article>\n 40              <quantity>5</quantity>\n 41          </orderline>\n 42      </orderlines>\n 43  </order>\n"
        lineNumber: 21
        variables:
          data: ""
          innerText: "\n\n\n\n    \n        Erie Zoo\n        Erie\n        US\n    \n\n    2017-03-05\n\n    \n        \n            \n                Elk\n            \n            50\n        \n        \n            \n                Elephant\n            \n            5\n        \n    \n\n"
          matchingXML: |-
            <?xml version="1.0"?><!--

                 Copyright 2005-2018 Red Hat, Inc.

                 Red Hat licenses this file to you under the Apache License, version
                 2.0 (the "License"); you may not use this file except in compliance
                 with the License.  You may obtain a copy of the License at

                    http://www.apache.org/licenses/LICENSE-2.0

                 Unless required by applicable law or agreed to in writing, software
                 distributed under the License is distributed on an "AS IS" BASIS,
                 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
                 implied.  See the License for the specific language governing
                 permissions and limitations under the License.

            --><order xmlns="http://org.jboss.fuse.quickstarts/examples/order/v7"><customer id="E0004"><name>Erie Zoo</name><city>Erie</city><country>US</country></customer><date>2017-03-05</date><orderlines><orderline><article id="E0500"><description>Elk</description></article><quantity>50</quantity></orderline><orderline><article id="E0005"><description>Elephant</description></article><quantity>5</quantity></orderline></orderlines></order>
      - uri: file:///opt/input/source/src/main/resources/OSGI-INF/blueprint/cbr.xml
        message: ""
        codeSnip: "  1  <?xml version=\"1.0\"?>\n  2  <!--\n  3  \n  4       Copyright 2005-2018 Red Hat, Inc.\n  5  \n  6       Red Hat licenses this file to you under the Apache License, version\n  7       2.0 (the \"License\"); you may not use this file except in compliance\n  8       with the License.  You may obtain a copy of the License at\n  9  \n 10          http://www.apache.org/licenses/LICENSE-2.0\n 11  \n 12       Unless required by applicable law or agreed to in writing, software\n 13       distributed under the License is distributed on an \"AS IS\" BASIS,\n 14       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n 15       implied.  See the License for the specific language governing\n 16       permissions and limitations under the License.\n 17  \n 18  -->\n 19  <!--\n 20     This is the OSGi Blueprint XML file defining the Camel context and routes.  Because the file is in the\n 21     OSGI-INF/blueprint directory inside our JAR, it will be automatically activated as soon as the bundle is installed.\n 22  \n 23     The root element for any OSGi Blueprint file is 'blueprint' - you also see the namespace definitions for both the Blueprint\n 24     and the Camel namespaces.\n 25  -->\n 26  <blueprint xmlns=\"http://www.osgi.org/xmlns/blueprint/v1.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n 27      xsi:schemaLocation=\"\n 28               http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd\n 29               http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd\">\n 30  \n 31      <!--\n 32        The namespace for the camelContext element in Blueprint is 'http://camel.apache.org/schema/blueprint'. Additionally,\n 33        we can also define namespace prefixes we want to use them in the XPath expressions in our CBR.\n 34  \n 35        While it is not required to assign id's to the <camelContext/> and <route/> elements, it is a good idea\n 36        to set those for runtime management purposes (logging, JMX MBeans, ...)\n 37      -->\n 38      <camelContext xmlns=\"http://camel.apache.org/schema/blueprint\" xmlns:order=\"http://org.jboss.fuse.quickstarts/examples/order/v7\"\n 39          id=\"cbr-example-context\">\n 40  \n 41          <!--\n 42            When this route is started, it will automatically create the work/cbr/input directory where you can drop the\n 43            file that need to be processed.\n 44  \n 45            The <log/> elements are used to add human-friendly business logging statements. They make it easier to see what the\n 46            route is doing.\n 47  \n 48            The <choice/> element contains the content based router. The two <when/> clauses use XPath to define the criteria \n 49            for entering that part of the route. When the country in the XML message is set to UK or US, the file will be \n 50            moved to a directory for that country. The <otherwise/> element ensures that any file that does not meet the \n 51            requirements for either of the <when/> elements will be moved to the work/cbr/output/others directory.\n 52          -->\n 53          <route id=\"cbr-route\">\n 54              <from uri=\"file:work/cbr/input\" />\n 55              <onException>\n 56                  <exception>org.xml.sax.SAXParseException</exception>\n 57                  <handled>\n 58                      <constant>true</constant>\n 59                  </handled>\n 60                  <log message=\"XML Error: ${exception.message}\" loggingLevel=\"ERROR\" />\n 61              </onException>\n 62              <log message=\"Receiving order ${file:name}\" />\n 63              <choice>\n 64                  <when>\n 65                      <xpath>/order:order/order:customer/order:country = 'UK'</xpath>\n 66                      <log message=\"Sending order ${file:name} to the UK\" />\n 67                      <to uri=\"file:work/cbr/output/uk\" />\n 68                  </when>\n 69                  <when>\n 70                      <xpath>/order:order/order:customer/order:country = 'US'</xpath>\n 71                      <log message=\"Sending order ${file:name} to the US\" />\n 72                      <to uri=\"file:work/cbr/output/us\" />\n 73                  </when>\n 74                  <otherwise>\n 75                      <log message=\"Sending order ${file:name} to another country\" />\n 76                      <to uri=\"file:work/cbr/output/others\" />\n 77                  </otherwise>\n 78              </choice>\n 79              <log message=\"Done processing ${file:name}\" />\n 80          </route>\n 81      </camelContext>\n 82  \n 83  </blueprint>\n"
        lineNumber: 55
        variables:
          data: ""
          innerText: "\n\n\n\n\n    \n    \n\n        \n        \n            \n            \n                org.xml.sax.SAXParseException\n                \n                    true\n                \n                \n            \n            \n            \n                \n                    /order:order/order:customer/order:country = 'UK'\n                    \n                    \n                \n                \n                    /order:order/order:customer/order:country = 'US'\n                    \n                    \n                \n                \n                    \n                    \n                \n            \n            \n        \n    \n\n\n"
          matchingXML: "<?xml version=\"1.0\"?><!--\n\n     Copyright 2005-2018 Red Hat, Inc.\n\n     Red Hat licenses this file to you under the Apache License, version\n     2.0 (the \"License\"); you may not use this file except in compliance\n     with the License.  You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n     Unless required by applicable law or agreed to in writing, software\n     distributed under the License is distributed on an \"AS IS\" BASIS,\n     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n     implied.  See the License for the specific language governing\n     permissions and limitations under the License.\n\n--><!--\n   This is the OSGi Blueprint XML file defining the Camel context and routes.  Because the file is in the\n   OSGI-INF/blueprint directory inside our JAR, it will be automatically activated as soon as the bundle is installed.\n\n   The root element for any OSGi Blueprint file is 'blueprint' - you also see the namespace definitions for both the Blueprint\n   and the Camel namespaces.\n--><blueprint xmlns=\"http://www.osgi.org/xmlns/blueprint/v1.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"\n             http://www.osgi.org/xmlns/blueprint/v1.0.0 https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd\n             http://camel.apache.org/schema/blueprint http://camel.apache.org/schema/blueprint/camel-blueprint.xsd\"><!--\n      The namespace for the camelContext element in Blueprint is 'http://camel.apache.org/schema/blueprint'. Additionally,\n      we can also define namespace prefixes we want to use them in the XPath expressions in our CBR.\n\n      While it is not required to assign id's to the <camelContext/> and <route/> elements, it is a good idea\n      to set those for runtime management purposes (logging, JMX MBeans, ...)\n    --><camelContext xmlns=\"http://camel.apache.org/schema/blueprint\" xmlns:order=\"http://org.jboss.fuse.quickstarts/examples/order/v7\" id=\"cbr-example-context\"><!--\n          When this route is started, it will automatically create the work/cbr/input directory where you can drop the\n          file that need to be processed.\n\n          The <log/> elements are used to add human-friendly business logging statements. They make it easier to see what the\n          route is doing.\n\n          The <choice/> element contains the content based router. The two <when/> clauses use XPath to define the criteria \n          for entering that part of the route. When the country in the XML message is set to UK or US, the file will be \n          moved to a directory for that country. The <otherwise/> element ensures that any file that does not meet the \n          requirements for either of the <when/> elements will be moved to the work/cbr/output/others directory.\n        --><route id=\"cbr-route\"><from uri=\"file:work/cbr/input\"></from><onException><exception>org.xml.sax.SAXParseException</exception><handled><constant>true</constant></handled><log message=\"XML Error: ${exception.message}\" loggingLevel=\"ERROR\"></log></onException><log message=\"Receiving order ${file:name}\"></log><choice><when><xpath>/order:order/order:customer/order:country = &#39;UK&#39;</xpath><log message=\"Sending order ${file:name} to the UK\"></log><to uri=\"file:work/cbr/output/uk\"></to></when><when><xpath>/order:order/order:customer/order:country = &#39;US&#39;</xpath><log message=\"Sending order ${file:name} to the US\"></log><to uri=\"file:work/cbr/output/us\"></to></when><otherwise><log message=\"Sending order ${file:name} to another country\"></log><to uri=\"file:work/cbr/output/others\"></to></otherwise></choice><log message=\"Done processing ${file:name}\"></log></route></camelContext></blueprint>"
  unmatched:
  - discover-java-files
  - discover-license
  - discover-manifest-file
  - discover-properties-file
  - hardcoded-ip-address
  - windup-discover-jpa-configuration
  - windup-discover-spring-configuration
  - windup-discover-web-configuration
- name: filemappings
  description: This rule set configures the organization matching functionality, using known root-package prefixes to identify libraries and other code.
- name: os/windows
  description: This is a ruleset for Windows operating system specific rules while migrating to Linux operating system.
  skipped:
  - os-specific-00001
  - os-specific-00002
