Revisit aaa-cli-jar H2 contents 95/103395/7
authoryaroslav.lastivka <yaroslav.lastivka@pantheon.tech>
Fri, 25 Nov 2022 12:44:18 +0000 (14:44 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 29 Nov 2022 09:58:02 +0000 (09:58 +0000)
Audit current H2 contents for what is being excluded and turn
'include' into 'exclude' with explicit justifications.

JIRA: AAA-228
Change-Id: Idb7fca87cd04918fa2de079a98456305f67d7574
Signed-off-by: yaroslav.lastivka <yaroslav.lastivka@pantheon.tech>
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
aaa-cli-jar/pom.xml

index 060f76da64f2e39b31a7887129e7e4c13057b9dc..0cdd35bef9fb41f304ede526dfbf0e4c4566b553 100644 (file)
@@ -124,31 +124,15 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
                 </filter>
                 <filter>
                   <artifact>com.h2database:h2</artifact>
-                  <!-- FIXME: switch to exclusions, as this list is not maintainable -->
-                  <includes>
-                    <include>org/h2/Driver.class</include>
-                    <include>org/h2/JdbcDriverBackwardsCompat.class</include>
-                    <include>org/h2/api/**</include>
-                    <include>org/h2/command/**</include>
-                    <include>org/h2/compress/**</include>
-                    <include>org/h2/constraint/**</include>
-                    <include>org/h2/engine/**</include>
-                    <include>org/h2/expression/**</include>
-                    <include>org/h2/index/**</include>
-                    <include>org/h2/jdbc/**</include>
-                    <include>org/h2/message/**</include>
-                    <include>org/h2/mode/**</include>
-                    <include>org/h2/mvstore/**</include>
-                    <include>org/h2/pagestore/**</include>
-                    <include>org/h2/result/**</include>
-                    <include>org/h2/schema/**</include>
-                    <include>org/h2/security/**</include>
-                    <include>org/h2/store/**</include>
-                    <include>org/h2/table/**</include>
-                    <include>org/h2/upgrade/**</include>
-                    <include>org/h2/util/**</include>
-                    <include>org/h2/value/**</include>
-                  </includes>
+                  <excludes>
+                    <!-- AAA cli does not use bnf, fulltext, jdbcx, jmx, server and tools -->
+                    <exclude>org/h2/bnf/**</exclude>
+                    <exclude>org/h2/fulltext/**</exclude>
+                    <exclude>org/h2/jdbcx/**</exclude>
+                    <exclude>org/h2/jmx/**</exclude>
+                    <exclude>org/h2/server/**</exclude>
+                    <exclude>org/h2/tools/**</exclude>
+                  </excludes>
                 </filter>
                 <filter>
                   <artifact>org.opendaylight.aaa:aaa-password-service-api</artifact>