31
31
<dependency >
32
32
<groupId >com.google.auto.service</groupId >
33
33
<artifactId >auto-service</artifactId >
34
+ <scope >provided</scope >
35
+ </dependency >
36
+ <dependency >
37
+ <groupId >com.google.auto</groupId >
38
+ <artifactId >auto-common</artifactId >
34
39
</dependency >
35
40
<dependency >
36
41
<groupId >com.squareup</groupId >
79
84
<groupId >org.apache.maven.plugins</groupId >
80
85
<artifactId >maven-surefire-plugin</artifactId >
81
86
</plugin >
87
+ <plugin >
88
+ <groupId >org.apache.maven.plugins</groupId >
89
+ <artifactId >maven-shade-plugin</artifactId >
90
+ <version >3.2.1</version >
91
+ <executions >
92
+ <execution >
93
+ <phase >package</phase >
94
+ <goals >
95
+ <goal >shade</goal >
96
+ </goals >
97
+ <configuration >
98
+ <artifactSet >
99
+ <excludes >
100
+ <exclude >com.axellience:vue-gwt</exclude >
101
+ <exclude >com.google.jsinterop:jsinterop-annotations</exclude >
102
+ <exclude >com.google.jsinterop:base</exclude >
103
+ <exclude >com.google.elemental2:elemental2-core</exclude >
104
+ <exclude >com.google.elemental2:elemental2-dom</exclude >
105
+ <exclude >com.google.elemental2:elemental2-promise</exclude >
106
+ <exclude >javax.inject:javax.inject</exclude >
107
+ <exclude >com.google.j2objc:j2objc-annotations</exclude >
108
+ <exclude >com.google.errorprone:error_prone_annotations</exclude >
109
+ </excludes >
110
+ </artifactSet >
111
+ <relocations >
112
+ <relocation >
113
+ <pattern >com.google</pattern >
114
+ <shadedPattern >vuegwt.shaded.com.google</shadedPattern >
115
+ </relocation >
116
+ <relocation >
117
+ <pattern >com.squareup</pattern >
118
+ <shadedPattern >vuegwt.shaded.com.squareup</shadedPattern >
119
+ </relocation >
120
+ <relocation >
121
+ <pattern >com.github</pattern >
122
+ <shadedPattern >vuegwt.shaded.com.github</shadedPattern >
123
+ </relocation >
124
+ <relocation >
125
+ <pattern >com.helger</pattern >
126
+ <shadedPattern >vuegwt.shaded.com.helger</shadedPattern >
127
+ </relocation >
128
+ <relocation >
129
+ <pattern >afu</pattern >
130
+ <shadedPattern >vuegwt.shaded.afu</shadedPattern >
131
+ </relocation >
132
+ <relocation >
133
+ <pattern >org</pattern >
134
+ <shadedPattern >vuegwt.shaded.org</shadedPattern >
135
+ </relocation >
136
+ <!-- <relocation>-->
137
+ <!-- <pattern>io</pattern>-->
138
+ <!-- <shadedPattern>vuegwt.shaded.io</shadedPattern>-->
139
+ <!-- </relocation>-->
140
+ <relocation >
141
+ <pattern >net</pattern >
142
+ <shadedPattern >vuegwt.shaded.net</shadedPattern >
143
+ </relocation >
144
+ </relocations >
145
+ <transformers >
146
+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
147
+ </transformers >
148
+ <createSourcesJar >true</createSourcesJar >
149
+ <filters >
150
+ <filter >
151
+ <artifact >com.google.auto:auto-common</artifact >
152
+ <excludes >
153
+ <exclude >**/*.java</exclude >
154
+ </excludes >
155
+ </filter >
156
+ <filter >
157
+ <artifact >com.google.jsinterop:jsinterop-annotations</artifact >
158
+ <excludes >
159
+ <exclude >**/*.java</exclude >
160
+ </excludes >
161
+ </filter >
162
+ <filter >
163
+ <artifact >com.google.code.findbugs:jsr305</artifact >
164
+ <excludes >
165
+ <exclude >**/*.java</exclude >
166
+ </excludes >
167
+ </filter >
168
+ </filters >
169
+ </configuration >
170
+ </execution >
171
+ </executions >
172
+ </plugin >
82
173
</plugins >
83
174
</build >
84
175
</project >
0 commit comments