|
18 | 18 | <module>commons-datastore</module> |
19 | 19 | </modules> |
20 | 20 |
|
21 | | - <!-- Properties for dependency versions --> |
22 | 21 | <properties> |
| 22 | + <!-- All dependency versions must be defined here --> |
23 | 23 | <jackson.version>2.11.4</jackson.version> |
24 | 24 | <apache.commons.lang3.version>3.12.0</apache.commons.lang3.version> |
25 | 25 | <slf4j.version>1.7.32</slf4j.version> |
26 | 26 | <avro.version>1.7.7</avro.version> |
| 27 | + <mongodb.version>4.8.2</mongodb.version> |
| 28 | + <solr.version>8.8.2</solr.version> |
| 29 | + <jcommander.version>1.69</jcommander.version> |
| 30 | + <ant.version>1.10.12</ant.version> |
| 31 | + <jansi.version>2.4.0</jansi.version> |
| 32 | + <hamcrest.version>1.3</hamcrest.version> |
| 33 | + <junit.version>4.13.2</junit.version> |
| 34 | + <!-- Other properties --> |
| 35 | + |
27 | 36 | <sonar.organization>opencb</sonar.organization> |
28 | 37 | <sonar.host.url>https://sonarcloud.io</sonar.host.url> |
29 | 38 | <maven.compiler.source>1.8</maven.compiler.source> |
|
82 | 91 | <name>Joaquin</name> |
83 | 92 | |
84 | 93 | </developer> |
85 | | - <developer> |
86 | | - <id>julie-sullivan</id> |
87 | | - <name>Julie</name> |
88 | | - |
89 | | - </developer> |
90 | 94 | <developer> |
91 | 95 | <id>juanfeSanahuja</id> |
92 | 96 | <name>Juanfe</name> |
|
104 | 108 |
|
105 | 109 | <dependencyManagement> |
106 | 110 | <dependencies> |
| 111 | + <!-- OpenCB dependencies --> |
| 112 | + <dependency> |
| 113 | + <groupId>org.opencb.commons</groupId> |
| 114 | + <artifactId>commons-datastore-core</artifactId> |
| 115 | + <version>${project.version}</version> |
| 116 | + </dependency> |
| 117 | + |
| 118 | + <!-- External dependencies --> |
| 119 | + <dependency> |
| 120 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 121 | + <artifactId>jackson-core</artifactId> |
| 122 | + <version>${jackson.version}</version> |
| 123 | + </dependency> |
107 | 124 | <dependency> |
108 | 125 | <groupId>com.fasterxml.jackson.core</groupId> |
109 | 126 | <artifactId>jackson-databind</artifactId> |
|
131 | 148 | <artifactId>avro</artifactId> |
132 | 149 | <version>${avro.version}</version> |
133 | 150 | </dependency> |
| 151 | + <dependency> |
| 152 | + <groupId>org.mongodb</groupId> |
| 153 | + <artifactId>mongodb-driver-core</artifactId> |
| 154 | + <version>${mongodb.version}</version> |
| 155 | + </dependency> |
| 156 | + <dependency> |
| 157 | + <groupId>org.mongodb</groupId> |
| 158 | + <artifactId>mongodb-driver-sync</artifactId> |
| 159 | + <version>${mongodb.version}</version> |
| 160 | + </dependency> |
| 161 | + <dependency> |
| 162 | + <groupId>org.mongodb</groupId> |
| 163 | + <artifactId>bson</artifactId> |
| 164 | + <version>${mongodb.version}</version> |
| 165 | + </dependency> |
| 166 | + <dependency> |
| 167 | + <groupId>org.apache.solr</groupId> |
| 168 | + <artifactId>solr-solrj</artifactId> |
| 169 | + <version>${solr.version}</version> |
| 170 | + </dependency> |
| 171 | + <dependency> |
| 172 | + <groupId>com.beust</groupId> |
| 173 | + <artifactId>jcommander</artifactId> |
| 174 | + <version>${jcommander.version}</version> |
| 175 | + </dependency> |
| 176 | + <dependency> |
| 177 | + <groupId>org.apache.ant</groupId> |
| 178 | + <artifactId>ant</artifactId> |
| 179 | + <version>${ant.version}</version> |
| 180 | + </dependency> |
| 181 | + <dependency> |
| 182 | + <groupId>org.fusesource.jansi</groupId> |
| 183 | + <artifactId>jansi</artifactId> |
| 184 | + <version>${jansi.version}</version> |
| 185 | + </dependency> |
| 186 | + |
| 187 | + <!-- Test dependencies --> |
| 188 | + <dependency> |
| 189 | + <groupId>org.hamcrest</groupId> |
| 190 | + <artifactId>hamcrest-core</artifactId> |
| 191 | + <version>${hamcrest.version}</version> |
| 192 | + <scope>test</scope> |
| 193 | + </dependency> |
134 | 194 | <dependency> |
135 | 195 | <groupId>junit</groupId> |
136 | 196 | <artifactId>junit</artifactId> |
137 | | - <version>4.13.2</version> |
| 197 | + <version>${junit.version}</version> |
138 | 198 | <scope>test</scope> |
139 | 199 | </dependency> |
140 | 200 | </dependencies> |
|
222 | 282 | </execution> |
223 | 283 | </executions> |
224 | 284 | </plugin> |
| 285 | + <plugin> |
| 286 | + <groupId>org.apache.maven.plugins</groupId> |
| 287 | + <artifactId>maven-dependency-plugin</artifactId> |
| 288 | + <version>3.6.0</version> |
| 289 | + <executions> |
| 290 | + <execution> |
| 291 | + <id>analyze</id> |
| 292 | + <goals> |
| 293 | + <goal>analyze-only</goal> |
| 294 | + </goals> |
| 295 | + <configuration> |
| 296 | + <failOnWarning>true</failOnWarning> |
| 297 | + <ignoredUnusedDeclaredDependencies> |
| 298 | + <ignoredUnusedDeclaredDependency>*</ignoredUnusedDeclaredDependency> |
| 299 | + </ignoredUnusedDeclaredDependencies> |
| 300 | + </configuration> |
| 301 | + </execution> |
| 302 | + </executions> |
| 303 | + </plugin> |
225 | 304 | </plugins> |
226 | 305 | </build> |
227 | 306 |
|
|
0 commit comments