|
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 |
|
4 | 4 | <groupId>io.scalecube</groupId> |
5 | | - <artifactId>scalecube-parent-pom</artifactId> |
| 5 | + <artifactId>scalecube-parent</artifactId> |
6 | 6 | <version>0.2.20-SNAPSHOT</version> |
7 | 7 | <packaging>pom</packaging> |
8 | 8 | <name>ScaleCube parent project</name> |
|
22 | 22 |
|
23 | 23 | <scm> |
24 | 24 | <url>https://scalecube.io</url> |
25 | | - <connection>scm:git:https://github.com/scalecube/scalecube-parent.git</connection> |
26 | | - <developerConnection>scm:git:https://github.com/scalecube/scalecube-parent.git |
| 25 | + <connection>scm:git:https://github.com/scalecube/${project.artifactId}.git</connection> |
| 26 | + <developerConnection>scm:git:https://github.com/scalecube/${project.artifactId}.git |
27 | 27 | </developerConnection> |
28 | 28 | <tag>HEAD</tag> |
29 | 29 | </scm> |
|
43 | 43 | </developers> |
44 | 44 |
|
45 | 45 | <properties> |
46 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
47 | 46 | <!-- plugins versions --> |
48 | 47 | <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
49 | 48 | <maven-source-plugin.version>3.0.1</maven-source-plugin.version> |
|
61 | 60 | <!-- check style configuration --> |
62 | 61 | <checkstyle.config.location>google_checks.xml</checkstyle.config.location> |
63 | 62 | <com.puppycrawl.tools.checkstyle-version>8.14</com.puppycrawl.tools.checkstyle-version> |
64 | | - |
65 | | - <dockerfile.repository>scalecube/${project.artifactId}</dockerfile.repository> |
66 | | - <dockerfile.maven.version>1.4.13</dockerfile.maven.version> |
67 | | - <dockerfile.maven.extension.version>1.4.6</dockerfile.maven.extension.version> |
68 | | - <dockerfile.useMavenSettingsForAuth>true</dockerfile.useMavenSettingsForAuth> |
69 | | - <dockerfile.googleContainerRegistryEnabled>false</dockerfile.googleContainerRegistryEnabled> |
70 | | - |
71 | | - <github.repository>${env.GITHUB_REPOSITORY}</github.repository> |
| 63 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
72 | 64 | </properties> |
73 | 65 |
|
74 | 66 | <reporting> |
|
96 | 88 | <generateBackupPoms>false</generateBackupPoms> |
97 | 89 | </configuration> |
98 | 90 | </plugin> |
99 | | - <plugin> |
100 | | - <artifactId>maven-jar-plugin</artifactId> |
101 | | - <version>${maven-jar-plugin.version}</version> |
102 | | - <configuration> |
103 | | - <archive> |
104 | | - <manifest> |
105 | | - <addClasspath>true</addClasspath> |
106 | | - <classpathPrefix>lib/</classpathPrefix> |
107 | | - <mainClass>${mainClass}</mainClass> |
108 | | - </manifest> |
109 | | - </archive> |
110 | | - <excludes> |
111 | | - <exclude>META-INF/*.SF</exclude> |
112 | | - </excludes> |
113 | | - </configuration> |
114 | | - </plugin> |
115 | | - <plugin> |
116 | | - <artifactId>maven-dependency-plugin</artifactId> |
117 | | - <version>${maven-dependency-plugin.version}</version> |
118 | | - <executions> |
119 | | - <execution> |
120 | | - <phase>package</phase> |
121 | | - <goals> |
122 | | - <goal>copy-dependencies</goal> |
123 | | - </goals> |
124 | | - <configuration> |
125 | | - <overWriteReleases>false</overWriteReleases> |
126 | | - <outputDirectory>${project.build.directory}/lib</outputDirectory> |
127 | | - <silent>true</silent> |
128 | | - </configuration> |
129 | | - </execution> |
130 | | - </executions> |
131 | | - </plugin> |
132 | 91 | <plugin> |
133 | 92 | <groupId>org.codehaus.mojo</groupId> |
134 | 93 | <artifactId>xml-maven-plugin</artifactId> |
|
289 | 248 | </execution> |
290 | 249 | </executions> |
291 | 250 | </plugin> |
292 | | - <!-- Docker --> |
293 | | - <plugin> |
294 | | - <groupId>com.spotify</groupId> |
295 | | - <artifactId>dockerfile-maven-plugin</artifactId> |
296 | | - <version>${dockerfile.maven.version}</version> |
297 | | - <executions> |
298 | | - <execution> |
299 | | - <id>default</id> |
300 | | - <goals> |
301 | | - <goal>build</goal> |
302 | | - </goals> |
303 | | - <phase>install</phase> |
304 | | - <configuration> |
305 | | - <buildArgs> |
306 | | - <EXECUTABLE_JAR>${project.build.finalName}</EXECUTABLE_JAR> |
307 | | - <SERVICE_NAME>${project.artifactId}</SERVICE_NAME> |
308 | | - <SERVICE_VERSION>${project.version}</SERVICE_VERSION> |
309 | | - </buildArgs> |
310 | | - <tag>latest</tag> |
311 | | - </configuration> |
312 | | - </execution> |
313 | | - <execution> |
314 | | - <id>extra-tag</id> |
315 | | - <goals> |
316 | | - <goal>tag</goal> |
317 | | - </goals> |
318 | | - <phase>install</phase> |
319 | | - <configuration> |
320 | | - <tag>${docker.image.extra-tag}</tag> |
321 | | - </configuration> |
322 | | - </execution> |
323 | | - <execution> |
324 | | - <id>push-extra-tags</id> |
325 | | - <goals> |
326 | | - <goal>push</goal> |
327 | | - </goals> |
328 | | - <phase>deploy</phase> |
329 | | - <configuration> |
330 | | - <tag>${docker.image.extra-tag}</tag> |
331 | | - </configuration> |
332 | | - </execution> |
333 | | - <execution> |
334 | | - <id>tag-version</id> |
335 | | - <goals> |
336 | | - <goal>tag</goal> |
337 | | - </goals> |
338 | | - <phase>install</phase> |
339 | | - <configuration> |
340 | | - <tag>${docker.image.tag}</tag> |
341 | | - </configuration> |
342 | | - </execution> |
343 | | - <execution> |
344 | | - <id>deployment</id> |
345 | | - <goals> |
346 | | - <goal>push</goal> |
347 | | - </goals> |
348 | | - <phase>deploy</phase> |
349 | | - <configuration> |
350 | | - <tag>latest</tag> |
351 | | - </configuration> |
352 | | - </execution> |
353 | | - <execution> |
354 | | - <id>tag-deployment</id> |
355 | | - <goals> |
356 | | - <goal>push</goal> |
357 | | - </goals> |
358 | | - <phase>deploy</phase> |
359 | | - <configuration> |
360 | | - <tag>${docker.image.tag}</tag> |
361 | | - </configuration> |
362 | | - </execution> |
363 | | - </executions> |
364 | | - <configuration> |
365 | | - <repository>docker.pkg.github.com/${github.repository}/${project.artifactId} |
366 | | - </repository> |
367 | | - <username>${env.GITHUB_ACTOR}</username> |
368 | | - <password>${env.GITHUB_TOKEN}</password> |
369 | | - <googleContainerRegistryEnabled>false</googleContainerRegistryEnabled> |
370 | | - <skipDockerInfo>true</skipDockerInfo> |
371 | | - </configuration> |
372 | | - </plugin> |
373 | 251 | </plugins> |
374 | 252 | </pluginManagement> |
375 | 253 |
|
|
394 | 272 | </build> |
395 | 273 |
|
396 | 274 | <profiles> |
397 | | - <profile> |
398 | | - <id>SkipDockerGoals</id> |
399 | | - <activation> |
400 | | - <activeByDefault>true</activeByDefault> |
401 | | - </activation> |
402 | | - <properties> |
403 | | - <dockerfile.skip>true</dockerfile.skip> |
404 | | - </properties> |
405 | | - </profile> |
406 | | - <profile> |
407 | | - <id>RunDockerGoals</id> |
408 | | - <activation> |
409 | | - <os> |
410 | | - <family>unix</family> |
411 | | - </os> |
412 | | - <file> |
413 | | - <exists>/usr/bin/docker</exists> |
414 | | - </file> |
415 | | - </activation> |
416 | | - <properties> |
417 | | - <dockerfile.skip>false</dockerfile.skip> |
418 | | - </properties> |
419 | | - </profile> |
420 | 275 | <profile> |
421 | 276 | <id>deploy2Github</id> |
422 | 277 | <distributionManagement> |
423 | 278 | <repository> |
424 | 279 | <id>github</id> |
425 | 280 | <name>GitHub Packages</name> |
426 | | - <url>https://maven.pkg.github.com/scalecube/scalecube-parent</url> |
| 281 | + <url>https://maven.pkg.github.com/scalecube/${project.artifactId}</url> |
427 | 282 | </repository> |
428 | 283 | </distributionManagement> |
429 | 284 | </profile> |
|
0 commit comments