Skip to content

Commit

Permalink
mvn tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
wavejumper committed Jan 14, 2025
1 parent 7f240ab commit c728ffa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish package
run: |
JAR_FILE=$(ls target/kpow-streams-agent-*.jar | grep -v "standalone" | head -n 1)
mvn --batch-mode \
-Dsource=1.8 \
-Dtarget=1.8 \
-Dmaven.compiler.source=1.8 \
-Dmaven.compiler.target=1.8 \
-Dfile=$JAR_FILE \
deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down
1 change: 1 addition & 0 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@
"fmtfix" ["with-profile" "+smoke" "cljfmt" "fix"]}
:javac-options ["-target" "1.8" "-source" "1.8" "-Xlint:-options"]
:java-source-paths ["src/java"]
:resource-paths ["src/clojure"]
:source-paths ["src/clojure"])

0 comments on commit c728ffa

Please sign in to comment.