|
88 | 88 | <plugin> |
89 | 89 | <groupId>org.apache.maven.plugins</groupId> |
90 | 90 | <artifactId>maven-shade-plugin</artifactId> |
91 | | - <version>3.5.2</version> <!-- Use the latest version --> |
| 91 | + <version>3.6.1</version> |
92 | 92 | <executions> |
93 | 93 | <execution> |
94 | 94 | <phase>package</phase> |
|
97 | 97 | </goals> |
98 | 98 | <configuration> |
99 | 99 | <shadedArtifactAttached>true</shadedArtifactAttached> |
| 100 | + <createSourcesJar>true</createSourcesJar> |
| 101 | + <shadeSourcesContent>true</shadeSourcesContent> |
100 | 102 | <shadedClassifierName>all</shadedClassifierName> <!-- Any name that makes sense --> |
101 | 103 | <createDependencyReducedPom>false</createDependencyReducedPom> |
102 | 104 | <archive> |
|
115 | 117 | </transformers> |
116 | 118 | <relocations> |
117 | 119 | <relocation> |
118 | | - <pattern>com</pattern> |
119 | | - <shadedPattern>com.google.bqjdbc.shaded.com</shadedPattern> |
| 120 | + <pattern>com.google</pattern> |
| 121 | + <shadedPattern>com.google.bqjdbc.shaded.com.google</shadedPattern> |
120 | 122 | <excludes> |
121 | 123 | <exclude>com.google.cloud.bigquery.**</exclude> |
122 | 124 | <exclude>com.google.api.services.bigquery.**</exclude> |
123 | 125 | </excludes> |
124 | 126 | </relocation> |
125 | 127 | <relocation> |
126 | | - <pattern>org</pattern> |
127 | | - <shadedPattern>com.google.bqjdbc.shaded.org</shadedPattern> |
128 | | - <excludes> |
129 | | - <exclude>org.conscrypt.*</exclude> |
130 | | - </excludes> |
| 128 | + <pattern>com.fasterxml.jackson</pattern> |
| 129 | + <shadedPattern>com.google.bqjdbc.shaded.com.fasterxml.jackson</shadedPattern> |
| 130 | + </relocation> |
| 131 | + <relocation> |
| 132 | + <pattern>org.apache</pattern> |
| 133 | + <shadedPattern>com.google.bqjdbc.shaded.org.apache</shadedPattern> |
| 134 | + </relocation> |
| 135 | + <relocation> |
| 136 | + <pattern>org.checkerframework</pattern> |
| 137 | + <shadedPattern>com.google.bqjdbc.shaded.org.checkerframework</shadedPattern> |
| 138 | + </relocation> |
| 139 | + <relocation> |
| 140 | + <pattern>org.codehaus</pattern> |
| 141 | + <shadedPattern>com.google.bqjdbc.shaded.org.codehaus</shadedPattern> |
| 142 | + </relocation> |
| 143 | + <relocation> |
| 144 | + <pattern>org.jspecify</pattern> |
| 145 | + <shadedPattern>com.google.bqjdbc.shaded.org.jspecify</shadedPattern> |
| 146 | + </relocation> |
| 147 | + <relocation> |
| 148 | + <pattern>org.threeten</pattern> |
| 149 | + <shadedPattern>com.google.bqjdbc.shaded.org.threeten</shadedPattern> |
| 150 | + </relocation> |
| 151 | + <relocation> |
| 152 | + <pattern>org.json</pattern> |
| 153 | + <shadedPattern>com.google.bqjdbc.shaded.org.json</shadedPattern> |
| 154 | + </relocation> |
| 155 | + <relocation> |
| 156 | + <pattern>io.grpc</pattern> |
| 157 | + <shadedPattern>com.google.bqjdbc.shaded.io.grpc</shadedPattern> |
| 158 | + </relocation> |
| 159 | + <relocation> |
| 160 | + <pattern>io.netty</pattern> |
| 161 | + <shadedPattern>com.google.bqjdbc.shaded.io.netty</shadedPattern> |
| 162 | + </relocation> |
| 163 | + <relocation> |
| 164 | + <pattern>io.opencensus</pattern> |
| 165 | + <shadedPattern>com.google.bqjdbc.shaded.io.opencensus</shadedPattern> |
| 166 | + </relocation> |
| 167 | + <relocation> |
| 168 | + <pattern>io.opentelemetry</pattern> |
| 169 | + <shadedPattern>com.google.bqjdbc.shaded.io.opentelemetry</shadedPattern> |
131 | 170 | </relocation> |
132 | 171 | <relocation> |
133 | | - <pattern>io</pattern> |
134 | | - <shadedPattern>com.google.bqjdbc.shaded.io</shadedPattern> |
| 172 | + <pattern>io.perfmark</pattern> |
| 173 | + <shadedPattern>com.google.bqjdbc.shaded.io.perfmark</shadedPattern> |
135 | 174 | </relocation> |
136 | 175 | </relocations> |
137 | 176 | <filters> |
|
146 | 185 | <exclude>META-INF/*.DSA</exclude> |
147 | 186 | <exclude>META-INF/*.RSA</exclude> |
148 | 187 | <exclude>arrow-git.properties</exclude> |
| 188 | + <exclude>module-info.class</exclude> |
| 189 | + <exclude>META-INF/versions/*/module-info.class</exclude> |
| 190 | + <exclude>module-info.java</exclude> |
| 191 | + <exclude>META-INF/versions/*/module-info.java</exclude> |
149 | 192 | </excludes> |
150 | 193 | </filter> |
151 | 194 | </filters> |
|
0 commit comments