File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ deploy:
3737 - " modules/bcrypt/target/bcrypt-*.jar"
3838 - " modules/bcrypt/target/*.sha256"
3939 - " modules/bcrypt/target/checksum-sha256.txt"
40- - " modules/bcrypt-cli/target/bcrypt-*.jar"
40+ - " modules/bcrypt-cli/target/bcrypt-*-full .jar"
4141 - " modules/bcrypt-cli/target/*.sha256"
4242 skip_cleanup : true
4343 on :
Original file line number Diff line number Diff line change 2424 <build >
2525 <plugins >
2626 <plugin >
27- <groupId >org.apache.maven.plugins</groupId >
28- <artifactId >maven-shade-plugin</artifactId >
29- <version >3.1.1</version >
27+ <groupId >com.github.chrisdchristo</groupId >
28+ <artifactId >capsule-maven-plugin</artifactId >
29+ <version >1.5.1</version >
30+ <configuration >
31+ <appClass >at.favre.lib.crypto.bcrypt.cli.BcryptTool</appClass >
32+ <fileDesc >-full</fileDesc >
33+ <type >fat</type >
34+ </configuration >
3035 <executions >
3136 <execution >
37+ <id >build-fat-jar</id >
3238 <phase >package</phase >
3339 <goals >
34- <goal >shade </goal >
40+ <goal >build </goal >
3541 </goals >
36- <configuration >
37- <filters >
38- <filter >
39- <artifact >*:*</artifact >
40- <excludes >
41- <exclude >META-INF/*.SF</exclude >
42- <exclude >META-INF/*.DSA</exclude >
43- <exclude >META-INF/*.RSA</exclude >
44- </excludes >
45- </filter >
46- </filters >
47- <minimizeJar >true</minimizeJar >
48- <createDependencyReducedPom >true</createDependencyReducedPom >
49- <dependencyReducedPomLocation >
50- ${java.io.tmpdir} /dependency-reduced-pom.xml
51- </dependencyReducedPomLocation >
52- <transformers >
53- <transformer implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
54- <mainClass >at.favre.lib.crypto.bcrypt.cli.BcryptTool</mainClass >
55- </transformer >
56- </transformers >
57- </configuration >
5842 </execution >
5943 </executions >
6044 </plugin >
8771 <groupId >at.favre.lib</groupId >
8872 <artifactId >bcrypt</artifactId >
8973 <version >0.5.0</version >
74+ <classifier >optimized</classifier >
9075 </dependency >
9176 <dependency >
9277 <groupId >commons-cli</groupId >
Original file line number Diff line number Diff line change 107107 </dependency >
108108 </dependencies >
109109 </plugin >
110+ <plugin >
111+ <groupId >org.apache.maven.plugins</groupId >
112+ <artifactId >maven-jarsigner-plugin</artifactId >
113+ <version >1.4</version >
114+ <executions >
115+ <execution >
116+ <id >sign</id >
117+ <goals >
118+ <goal >sign</goal >
119+ </goals >
120+ </execution >
121+ </executions >
122+ <configuration >
123+ <skip >${project.skipJarSign} </skip >
124+ <keystore >${session.executionRootDirectory} /keystore.jks</keystore >
125+ <alias >pfopensource</alias >
126+ <storepass >${env.OPENSOURCE_PROJECTS_KS_PW} </storepass >
127+ <keypass >${env.OPENSOURCE_PROJECTS_KEY_PW} </keypass >
128+ </configuration >
129+ </plugin >
110130 </plugins >
111131 </build >
112132
Original file line number Diff line number Diff line change 116116 <artifactId >coveralls-maven-plugin</artifactId >
117117 <version >4.3.0</version >
118118 </plugin >
119- <plugin >
120- <groupId >org.apache.maven.plugins</groupId >
121- <artifactId >maven-jarsigner-plugin</artifactId >
122- <version >1.4</version >
123- <executions >
124- <execution >
125- <id >sign</id >
126- <goals >
127- <goal >sign</goal >
128- </goals >
129- </execution >
130- </executions >
131- <configuration >
132- <skip >${project.skipJarSign} </skip >
133- <keystore >${session.executionRootDirectory} /keystore.jks</keystore >
134- <alias >pfopensource</alias >
135- <storepass >${env.OPENSOURCE_PROJECTS_KS_PW} </storepass >
136- <keypass >${env.OPENSOURCE_PROJECTS_KEY_PW} </keypass >
137- </configuration >
138- </plugin >
139119 </plugins >
140120 </build >
141121
You can’t perform that action at this time.
0 commit comments