Skip to content

Commit

Permalink
PIP-248 Fix debian package building in pom. Also PIP-253 to fix CVE-2…
Browse files Browse the repository at this point in the history
  • Loading branch information
jimcornmell committed Apr 14, 2023
1 parent 1116c36 commit 9b8f91a
Showing 1 changed file with 36 additions and 15 deletions.
51 changes: 36 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.snomed</groupId>
<artifactId>snomed-parent-bom</artifactId>
<version>1.0.5</version>
<version>1.0.6</version>
</parent>

<properties>
Expand Down Expand Up @@ -277,22 +277,19 @@
<artifactId>spring-cloud-starter-vault-config</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>org.snomed.snowstorm.SnowstormApplication</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>build-info</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Docker Image Build -->
<plugin>
<groupId>com.spotify</groupId>
Expand Down Expand Up @@ -322,8 +319,25 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>org.snomed.otf.reasoner.server.Application</mainClass>
</configuration>
<executions>
<execution>
<goals>
<goal>build-info</goal>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>deb</id>
Expand All @@ -332,6 +346,7 @@
<plugin>
<groupId>org.vafer</groupId>
<artifactId>jdeb</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -391,6 +406,9 @@
<repository>
<id>ihtsdo-releases</id>
<name>ihtsdo-releases</name>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
Expand All @@ -402,6 +420,9 @@
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>https://nexus3.ihtsdotools.org/repository/maven-snapshots/</url>
</repository>
</repositories>
Expand Down

0 comments on commit 9b8f91a

Please sign in to comment.