|
13 | 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
14 | 14 | </properties> |
15 | 15 | <dependencies> |
16 | | - <dependency> |
17 | | - <groupId>com.google.code.gson</groupId> |
18 | | - <artifactId>gson</artifactId> |
19 | | - <version>2.8.0</version> |
20 | | - </dependency> |
21 | 16 | <dependency> |
22 | 17 | <groupId>com.google.guava</groupId> |
23 | 18 | <artifactId>guava</artifactId> |
24 | | - <version>19.0</version> |
25 | 19 | </dependency> |
26 | 20 | <dependency> |
27 | 21 | <groupId>com.google.protobuf</groupId> |
|
91 | 85 | <dependency> |
92 | 86 | <groupId>io.grpc</groupId> |
93 | 87 | <artifactId>grpc-all</artifactId> |
| 88 | + <exclusions> |
| 89 | + <exclusion> |
| 90 | + <groupId>com.google.guava</groupId> |
| 91 | + <artifactId>guava</artifactId> |
| 92 | + </exclusion> |
| 93 | + </exclusions> |
94 | 94 | </dependency> |
95 | 95 | <dependency> |
96 | 96 | <groupId>io.grpc</groupId> |
97 | 97 | <artifactId>grpc-protobuf</artifactId> |
| 98 | + <exclusions> |
| 99 | + <exclusion> |
| 100 | + <groupId>com.google.guava</groupId> |
| 101 | + <artifactId>guava</artifactId> |
| 102 | + </exclusion> |
| 103 | + </exclusions> |
98 | 104 | </dependency> |
99 | 105 | <dependency> |
100 | 106 | <groupId>io.grpc</groupId> |
|
105 | 111 | <artifactId>junit</artifactId> |
106 | 112 | <scope>test</scope> |
107 | 113 | </dependency> |
108 | | - <dependency> |
109 | | - <groupId>org.antlr</groupId> |
110 | | - <artifactId>antlr4</artifactId> |
111 | | - <version>4.6</version> |
112 | | - <classifier>complete</classifier> |
113 | | - </dependency> |
114 | 114 | <dependency> |
115 | 115 | <groupId>org.apache.calcite</groupId> |
116 | 116 | <artifactId>calcite-core</artifactId> |
|
128 | 128 | <groupId>com.fasterxml.jackson.core</groupId> |
129 | 129 | <artifactId>jackson-annotations</artifactId> |
130 | 130 | </exclusion> |
| 131 | + <exclusion> |
| 132 | + <groupId>com.google.guava</groupId> |
| 133 | + <artifactId>guava</artifactId> |
| 134 | + </exclusion> |
131 | 135 | </exclusions> |
132 | 136 | </dependency> |
| 137 | + <dependency> |
| 138 | + <groupId>org.apache.commons</groupId> |
| 139 | + <artifactId>commons-compress</artifactId> |
| 140 | + <version>1.8.1</version> |
| 141 | + </dependency> |
133 | 142 | <dependency> |
134 | 143 | <groupId>org.apache.commons</groupId> |
135 | 144 | <artifactId>commons-math</artifactId> |
|
150 | 159 | <groupId>org.mapdb</groupId> |
151 | 160 | <artifactId>mapdb</artifactId> |
152 | 161 | <version>3.0.5</version> |
| 162 | + <exclusions> |
| 163 | + <exclusion> |
| 164 | + <groupId>com.google.guava</groupId> |
| 165 | + <artifactId>guava</artifactId> |
| 166 | + </exclusion> |
| 167 | + </exclusions> |
153 | 168 | </dependency> |
154 | 169 | <dependency> |
155 | 170 | <groupId>org.mockito</groupId> |
156 | 171 | <artifactId>mockito-all</artifactId> |
| 172 | + <scope>test</scope> |
| 173 | + </dependency> |
| 174 | + <dependency> |
| 175 | + <groupId>org.nd4j</groupId> |
| 176 | + <artifactId>nd4j-api</artifactId> |
| 177 | + <version>0.9.1</version> |
| 178 | + </dependency> |
| 179 | + <dependency> |
| 180 | + <groupId>org.reflections</groupId> |
| 181 | + <artifactId>reflections</artifactId> |
| 182 | + <version>0.9.11</version> |
157 | 183 | </dependency> |
158 | 184 | </dependencies> |
159 | 185 | <build> |
| 186 | + <resources> |
| 187 | + <resource> |
| 188 | + <targetPath>web</targetPath> |
| 189 | + <directory>target/build/default/</directory> |
| 190 | + </resource> |
| 191 | + </resources> |
160 | 192 | <plugins> |
161 | 193 | <plugin> |
162 | 194 | <groupId>org.apache.maven.plugins</groupId> |
|
199 | 231 | </executions> |
200 | 232 | </plugin> |
201 | 233 | <plugin> |
202 | | - <groupId>org.xolstice.maven.plugins</groupId> |
203 | | - <artifactId>protobuf-maven-plugin</artifactId> |
204 | | - <version>0.5.0</version> |
205 | | - <configuration> |
206 | | - <protocArtifact>com.google.protobuf:protoc:3.0.2:exe:${os.detected.classifier}</protocArtifact> |
207 | | - <pluginId>grpc-java</pluginId> |
208 | | - <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.2.0:exe:${os.detected.classifier}</pluginArtifact> |
209 | | - </configuration> |
| 234 | + <groupId>org.codehaus.mojo</groupId> |
| 235 | + <artifactId>exec-maven-plugin</artifactId> |
210 | 236 | <executions> |
211 | 237 | <execution> |
212 | | - <goals> |
213 | | - <goal>compile</goal> |
214 | | - <goal>compile-custom</goal> |
215 | | - </goals> |
| 238 | + <!-- Run our version calculation script --> |
| 239 | + <id>Version Calculation</id> |
| 240 | + <goals /> |
| 241 | + <phase>generate-sources</phase> |
| 242 | + <configuration> |
| 243 | + <executable>${basedir}/src/web/build.sh</executable> |
| 244 | + </configuration> |
216 | 245 | </execution> |
217 | 246 | </executions> |
218 | 247 | </plugin> |
|
287 | 316 | <script>mkdir -p /usr/sidewinder/lib</script> |
288 | 317 | <script>mkdir -p /usr/sidewinder/bin</script> |
289 | 318 | <script>mkdir -p /etc/sidewinder</script> |
| 319 | + <script>sysctl -w vm.max_map_count=262144</script> |
290 | 320 | </preinstallScriptlet> |
291 | 321 | <postinstallScriptlet> |
292 | 322 | <script>chmod +x /usr/sidewinder/bin/sidewinder</script> |
|
0 commit comments