|
14 | 14 | <!-- fabric-chaincode-java -->
|
15 | 15 | <fabric-chaincode-java.version>2.5.1</fabric-chaincode-java.version>
|
16 | 16 |
|
17 |
| - <!-- Logging --> |
18 |
| - <logback.version>1.2.0</logback.version> |
19 |
| - <slf4j.version>1.7.5</slf4j.version> |
20 |
| - |
21 |
| - <!-- Test --> |
22 |
| - <junit.jupiter.version>5.3.0-RC1</junit.jupiter.version> |
23 |
| - <junit.platform.version>1.3.0-RC1</junit.platform.version> |
24 |
| - |
25 | 17 | </properties>
|
26 | 18 |
|
27 | 19 | <repositories>
|
|
49 | 41 | <scope>compile</scope>
|
50 | 42 | </dependency>
|
51 | 43 |
|
52 |
| - <dependency> |
53 |
| - <groupId>org.hyperledger.fabric</groupId> |
54 |
| - <artifactId>fabric-protos</artifactId> |
55 |
| - <version>0.1.3</version> |
56 |
| - <scope>compile</scope> |
57 |
| - </dependency> |
58 |
| - |
59 |
| - |
60 |
| - <!-- fabric-sdk-java --> |
61 |
| - |
62 |
| - <!-- Logging with SLF4J & LogBack --> |
63 |
| - <dependency> |
64 |
| - <groupId>org.slf4j</groupId> |
65 |
| - <artifactId>slf4j-api</artifactId> |
66 |
| - <version>${slf4j.version}</version> |
67 |
| - <scope>compile</scope> |
68 |
| - </dependency> |
69 |
| - <dependency> |
70 |
| - <groupId>ch.qos.logback</groupId> |
71 |
| - <artifactId>logback-classic</artifactId> |
72 |
| - <version>${logback.version}</version> |
73 |
| - <scope>runtime</scope> |
74 |
| - </dependency> |
75 |
| - |
76 |
| - <!-- Test Artifacts --> |
77 |
| - <dependency> |
78 |
| - <groupId>org.junit.jupiter</groupId> |
79 |
| - <artifactId>junit-jupiter-api</artifactId> |
80 |
| - <version>${junit.jupiter.version}</version> |
81 |
| - <scope>compile</scope> |
82 |
| - </dependency> |
83 |
| - <dependency> |
84 |
| - <groupId>org.junit.jupiter</groupId> |
85 |
| - <artifactId>junit-jupiter-params</artifactId> |
86 |
| - <version>${junit.jupiter.version}</version> |
87 |
| - <scope>test</scope> |
88 |
| - </dependency> |
89 |
| - <dependency> |
90 |
| - <groupId>org.junit.jupiter</groupId> |
91 |
| - <artifactId>junit-jupiter-engine</artifactId> |
92 |
| - <version>${junit.jupiter.version}</version> |
93 |
| - <scope>test</scope> |
94 |
| - </dependency> |
95 |
| -<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core --> |
96 |
| -<dependency> |
97 |
| - <groupId>org.mockito</groupId> |
98 |
| - <artifactId>mockito-core</artifactId> |
99 |
| - <version>2.10.0</version> |
100 |
| -</dependency> |
101 |
| - |
102 |
| - <!-- https://mvnrepository.com/artifact/org.json/json --> |
103 |
| - <dependency> |
104 |
| - <groupId>org.json</groupId> |
105 |
| - <artifactId>json</artifactId> |
106 |
| - <version>20180813</version> |
107 |
| - </dependency> |
108 |
| - |
109 | 44 | </dependencies>
|
110 | 45 | <build>
|
111 | 46 | <sourceDirectory>src</sourceDirectory>
|
112 | 47 | <plugins>
|
113 |
| - <!-- JUnit 5 requires Surefire version 2.22.0 or higher --> |
114 |
| - <plugin> |
115 |
| - <artifactId>maven-surefire-plugin</artifactId> |
116 |
| - <version>2.22.0</version> |
117 |
| - </plugin> |
118 | 48 | <plugin>
|
119 | 49 | <artifactId>maven-compiler-plugin</artifactId>
|
120 |
| - <version>3.1</version> |
| 50 | + <version>3.11.0</version> |
121 | 51 | <configuration>
|
122 | 52 | <source>${java.version}</source>
|
123 | 53 | <target>${java.version}</target>
|
|
126 | 56 | <plugin>
|
127 | 57 | <groupId>org.apache.maven.plugins</groupId>
|
128 | 58 | <artifactId>maven-shade-plugin</artifactId>
|
129 |
| - <version>3.1.0</version> |
| 59 | + <version>3.5.0</version> |
130 | 60 | <executions>
|
131 | 61 | <execution>
|
132 | 62 | <phase>package</phase>
|
|
136 | 66 | <configuration>
|
137 | 67 | <finalName>chaincode</finalName>
|
138 | 68 | <transformers>
|
| 69 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
139 | 70 | <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
140 | 71 | <mainClass>org.hyperledger.fabric.contract.ContractRouter</mainClass>
|
141 | 72 | </transformer>
|
|
158 | 89 | </plugins>
|
159 | 90 | </build>
|
160 | 91 |
|
161 |
| - |
162 | 92 | </project>
|
0 commit comments