File tree Expand file tree Collapse file tree
examples/example-simple-java Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 workflow_dispatch :
99
1010env :
11- JAVA_VERSION : ' 17 '
11+ JAVA_VERSION : ' 21 '
1212 JAVA_DISTRIBUTION : ' temurin'
1313
1414jobs :
@@ -89,11 +89,10 @@ jobs:
8989 ${{ runner.os }}-maven-develop-
9090 ${{ runner.os }}-maven-
9191
92- - name : Run comprehensive tests
92+ - name : Quick build for snapshot
9393 run : |
94- mvn clean verify -B --no-transfer-progress \
95- -Dmaven.test.failure.ignore=false \
96- -Dfailsafe.rerunFailingTestsCount=2
94+ mvn clean compile -B --no-transfer-progress \
95+ -DskipTests=true
9796
9897 - name : Configure Maven Settings for GitHub Packages
9998 uses : whelk-io/maven-settings-xml-action@v22
Original file line number Diff line number Diff line change 1111 <description >Example application demonstrating Logdash Java SDK usage</description >
1212
1313 <properties >
14- <maven .compiler.source>21</maven .compiler.source>
15- <maven .compiler.target>21</maven .compiler.target>
14+ <java .version>21</java .version>
15+ <maven .compiler.source>${java.version} </maven .compiler.source>
16+ <maven .compiler.target>${java.version} </maven .compiler.target>
17+ <maven .compiler.release>${java.version} </maven .compiler.release>
1618 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
17- <maven .compiler.release>21</maven .compiler.release>
1819
1920 <maven-compiler-plugin .version>3.12.1</maven-compiler-plugin .version>
2021 <maven-exec-plugin .version>3.1.1</maven-exec-plugin .version>
7071 </activation >
7172 <repositories >
7273 <repository >
74+ <releases >
75+ <enabled >false</enabled >
76+ </releases >
7377 <snapshots >
7478 <enabled >true</enabled >
79+ <updatePolicy >always</updatePolicy >
7580 </snapshots >
7681 <id >github</id >
82+ <name >GitHub Packages Snapshots</name >
7783 <url >https://maven.pkg.github.com/logdash-io/java-sdk</url >
7884 </repository >
7985 </repositories >
Original file line number Diff line number Diff line change 505505 <!-- GitHub Packages Snapshot Profile -->
506506 <profile >
507507 <id >github-packages-snapshot</id >
508+ <activation >
509+ <property >
510+ <name >!performRelease</name >
511+ </property >
512+ </activation >
508513 <distributionManagement >
509514 <snapshotRepository >
510515 <id >github</id >
You can’t perform that action at this time.
0 commit comments