diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index e65c59e..bb12a51 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -46,7 +46,7 @@ jobs:
- name: Deploy to Maven Central
run: |
- mvn clean deploy -P release,oss -Dmaven.test.skip=true -Drevision=$RELEASE_VERSION -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -s .mvn/settings.xml
+ mvn clean deploy -P release,oss,!sample -Dmaven.test.skip=true -Drevision=$RELEASE_VERSION -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -s .mvn/settings.xml
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
diff --git a/pom.xml b/pom.xml
index 385b800..6e9190a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,9 +32,20 @@
structure-infra-jpa-starter
structure-infra-mongodb-starter
structure-infra-elasticsearch-starter
- structure-infra-sample
+
+
+ sample
+
+ true
+
+
+ structure-infra-sample
+
+
+
+