File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 141141 </execution >
142142 </executions >
143143 </plugin >
144+ <plugin >
145+ <groupId >org.apache.maven.plugins</groupId >
146+ <artifactId >maven-shade-plugin</artifactId >
147+ <version >1.4</version >
148+ <executions >
149+ <execution >
150+ <phase >package</phase >
151+ <goals >
152+ <goal >shade</goal >
153+ </goals >
154+ <configuration >
155+ <createSourcesJar >true</createSourcesJar >
156+ <artifactSet >
157+ <includes >
158+ <include >commons-logging:*</include >
159+ <include >commons-beanutils:*</include >
160+ <include >commons-digester:*</include >
161+ </includes >
162+ </artifactSet >
163+ <transformers >
164+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
165+ </transformers >
166+ <relocations >
167+ <relocation >
168+ <pattern >org.apache.commons</pattern >
169+ <shadedPattern >com.ocpsoft.shade.org.apache.commons</shadedPattern >
170+ </relocation >
171+ </relocations >
172+ </configuration >
173+ </execution >
174+ </executions >
175+ </plugin >
144176 </plugins >
177+
145178 <extensions >
146179 <extension >
147180 <groupId >org.apache.maven.wagon</groupId >
Original file line number Diff line number Diff line change 4545 <plugin >
4646 <groupId >org.apache.maven.plugins</groupId >
4747 <artifactId >maven-shade-plugin</artifactId >
48- <version >1.3.2 </version >
48+ <version >1.4 </version >
4949 <executions >
5050 <execution >
5151 <phase >package</phase >
5454 </goals >
5555 <configuration >
5656 <createSourcesJar >true</createSourcesJar >
57- <promoteTransitiveDependencies >true</promoteTransitiveDependencies >
58- <keepDependenciesWithProvidedScope >true</keepDependenciesWithProvidedScope >
5957 <artifactSet >
6058 <includes >
59+ <include >commons-logging:*</include >
60+ <include >commons-beanutils:*</include >
61+ <include >commons-digester:*</include >
6162 <include >com.ocpsoft:prettyfaces-core</include >
6263 </includes >
6364 </artifactSet >
65+ <transformers >
66+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
67+ </transformers >
68+ <relocations >
69+ <relocation >
70+ <pattern >org.apache.commons</pattern >
71+ <shadedPattern >com.ocpsoft.shade.org.apache.commons</shadedPattern >
72+ </relocation >
73+ </relocations >
6474 </configuration >
6575 </execution >
6676 </executions >
Original file line number Diff line number Diff line change 5959 <plugin >
6060 <groupId >org.apache.maven.plugins</groupId >
6161 <artifactId >maven-shade-plugin</artifactId >
62- <version >1.3.2 </version >
62+ <version >1.4 </version >
6363 <executions >
6464 <execution >
6565 <phase >package</phase >
6868 </goals >
6969 <configuration >
7070 <createSourcesJar >true</createSourcesJar >
71- <promoteTransitiveDependencies >true</promoteTransitiveDependencies >
72- <keepDependenciesWithProvidedScope >true</keepDependenciesWithProvidedScope >
7371 <artifactSet >
7472 <includes >
73+ <include >commons-logging:*</include >
74+ <include >commons-beanutils:*</include >
75+ <include >commons-digester:*</include >
7576 <include >com.ocpsoft:prettyfaces-core</include >
7677 </includes >
7778 </artifactSet >
7879 <transformers >
7980 <transformer implementation =" org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
8081 </transformers >
82+ <relocations >
83+ <relocation >
84+ <pattern >org.apache.commons</pattern >
85+ <shadedPattern >com.ocpsoft.shade.org.apache.commons</shadedPattern >
86+ </relocation >
87+ </relocations >
8188 </configuration >
8289 </execution >
8390 </executions >
You can’t perform that action at this time.
0 commit comments