Skip to content

Commit

Permalink
add plugin to read component version from POM
Browse files Browse the repository at this point in the history
  • Loading branch information
heinpa committed Jan 16, 2024
1 parent f6dd5c0 commit 3640e0c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<!-- https://github.com/spotify/dockerfile-maven -->
<!-- build Docker image: mvn dockerfile:build -->
<plugin>
Expand Down
4 changes: 3 additions & 1 deletion qanary_component-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
<spring-boot-admin.version>2.7.11</spring-boot-admin.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version>
<json-path.version>2.4.0</json-path.version>
<springdoc.version>1.7.0</springdoc.version>
</properties>

<!-- common dependencies that are implemented by all components -->

<dependencies>
<dependency>
<groupId>eu.wdaqua.qanary</groupId>
Expand Down Expand Up @@ -113,7 +115,7 @@
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.7.0</version>
<version>${springdoc.version}</version>
<exclusions>
<exclusion>
<groupId>io.swagger.core.v3</groupId>
Expand Down
2 changes: 1 addition & 1 deletion qanary_component-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>eu.wdaqua.qanary</groupId>
<artifactId>qa.component</artifactId>
<version>3.9.2</version>
<version>3.9.3</version>

<parent>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit 3640e0c

Please sign in to comment.