File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 59
59
<goal >run</goal >
60
60
</goals >
61
61
</execution >
62
+ <!-- Remove extraneous files from the jarjar'ed Apache Commons Codec
63
+ Library. -->
64
+ <execution >
65
+ <id >scrub</id >
66
+ <phase >install</phase >
67
+ <goals >
68
+ <goal >run</goal >
69
+ </goals >
70
+ <configuration >
71
+ <target >
72
+ <jar destfile =" target/scrubbed.jar" filesetmanifest =" merge" >
73
+ <zipfileset src =" target/google-http-client-${project.version}.jar" >
74
+ <exclude name =" **/org/apache/commons/codec/language/bm/*.txt" />
75
+ <exclude name =" META-INF/*.txt" />
76
+ <exclude name =" META-INF/maven/**" />
77
+ </zipfileset >
78
+ </jar >
79
+ <copy file =" target/scrubbed.jar" tofile =" target/google-http-client-${project.version}.jar" />
80
+ </target >
81
+ </configuration >
82
+ </execution >
62
83
</executions >
63
84
</plugin >
64
85
<plugin >
Original file line number Diff line number Diff line change 194
194
<version >2.3.1</version >
195
195
<configuration >
196
196
<archive >
197
+ <addMavenDescriptor >false</addMavenDescriptor >
197
198
<manifest >
198
199
<addClasspath >true</addClasspath >
199
200
<addDefaultImplementationEntries >true</addDefaultImplementationEntries >
You can’t perform that action at this time.
0 commit comments