Skip to content

Commit

Permalink
Merge pull request #34 from canonical/content-snap
Browse files Browse the repository at this point in the history
Package as a content-snap
  • Loading branch information
pushkarnk authored Sep 20, 2024
2 parents 6e78a57 + 6cfb72f commit 833cc69
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@
<arguments>
<argument>test-solib</argument>
</arguments>
<skip>
${skipGenerateTestResources}
</skip>
</configuration>
</execution>
<execution>
Expand Down
29 changes: 29 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: openssl-fips-java
base: core22
version: "0.0.1"
summary: OpenSSL-based Java FIPS Provider
description: |
This content-snap contains the OpenSSL Java FIPS provider JAR.
grade: stable
confinement: strict

parts:
openssl-fips-provider-jar:
plugin: maven
source: .
maven-parameters:
- -DskipTests=true -DskipGenerateTestResources=true -B package --file pom.xml
build-packages:
- openjdk-21-jdk
- maven
- libssl-dev

slots:
openssl-fips-provider-jar:
interface: content
content: openssl-fips-provider-jar
source:
read:
- $SNAP/jar

0 comments on commit 833cc69

Please sign in to comment.