mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
update springboot fixture to create jar with a prepended shell script
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
776164a078
commit
8f85c8affc
@ -52,10 +52,12 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
<version>1.0.2.RELEASE</version>
|
<version>2.1.5.RELEASE</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mainClass>${start-class}</mainClass>
|
<mainClass>${start-class}</mainClass>
|
||||||
<layout>ZIP</layout>
|
<layout>ZIP</layout>
|
||||||
|
<!-- this gives us a specific build example with a self-executing jar (jar with a shell script prefixed to the archive) -->
|
||||||
|
<executable>true</executable>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user