This repository was archived by the owner on Apr 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed
Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 44 <groupId >org.hyperledger.fabric-sdk-java</groupId >
55 <artifactId >fabric-sdk-java</artifactId >
66 <packaging >jar</packaging >
7- <version >1.0.1 -SNAPSHOT</version >
7+ <version >${fabric.sdk.java.version} -SNAPSHOT</version >
88 <name >fabric-java-sdk</name >
99 <description >Java SDK for Hyperledger fabric project</description >
1010 <url >https://www.hyperledger.org/community/projects</url >
2828 <tag >fabric-sdk-java-1.0</tag >
2929 </scm >
3030 <properties >
31+ <fabric .sdk.java.version>1.0.1</fabric .sdk.java.version>
3132 <grpc .version>1.5.0</grpc .version><!-- CURRENT_GRPC_VERSION -->
3233 <bouncycastle .version>1.57</bouncycastle .version>
3334 <httpclient .version>4.5.3</httpclient .version>
467468 </execution >
468469 </executions >
469470 </plugin >
471+ <plugin >
472+ <groupId >pl.project13.maven</groupId >
473+ <artifactId >git-commit-id-plugin</artifactId >
474+ <version >2.2.2</version >
475+ <executions >
476+ <execution >
477+ <id >get-the-git-infos</id >
478+ <goals >
479+ <goal >revision</goal >
480+ </goals >
481+ <phase >validate</phase >
482+ </execution >
483+ </executions >
484+ <configuration >
485+ <dotGitDirectory >${project.basedir} /.git</dotGitDirectory >
486+ </configuration >
487+ </plugin >
488+ <plugin >
489+ <groupId >org.apache.maven.plugins</groupId >
490+ <artifactId >maven-jar-plugin</artifactId >
491+ <configuration >
492+ <archive >
493+ <manifestEntries >
494+ <git-commit-id >${git.commit.id} </git-commit-id >
495+ <git-branch >${git.branch} </git-branch >
496+ <git-commit-time >${git.commit.time} </git-commit-time >
497+ <fabric-sdk-java-version >${fabric.sdk.java.version} </fabric-sdk-java-version >
498+ </manifestEntries >
499+ </archive >
500+ </configuration >
501+ </plugin >
502+
470503 </plugins >
471504 </build >
472505 <distributionManagement >
You can’t perform that action at this time.
0 commit comments