Skip to content

Commit

Permalink
improve build, dependabot, release profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
zambrovski committed May 31, 2024
1 parent 9fd0868 commit d4dc80b
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ updates:
open-pull-requests-limit: 10
default-labels:
- "Type: dependencies"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
default-labels:
- "Type: dependencies"
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

# Publish release
- name: Deploy a new release version to Maven Central
run: ./mvnw clean deploy -B -DskipTests -DskipExamples -Prelease -Dgpg.keyname="${{ secrets.GPG_KEYNAME }}" -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" -ntp
run: ./mvnw clean deploy -B -DskipTests -DskipItests -DskipExamples -Prelease -Dgpg.keyname="${{ secrets.GPG_KEYNAME }}" -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" -ntp
env:
OSS_CENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
OSS_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
1 change: 1 addition & 0 deletions _bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<groupId>io.toolisticon.kotlin.generation</groupId>
<artifactId>kotlin-code-generation-bom</artifactId>
<description>Bill of material for kotlin-code-generation.</description>
<packaging>pom</packaging>

<properties>
<kotlin-poet.version>1.17.0</kotlin-poet.version>
Expand Down
4 changes: 1 addition & 3 deletions kotlin-code-generation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>2.1.1</version>
<version>3.0.0</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -97,6 +97,4 @@
</plugin>
</plugins>
</build>


</project>
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<module>_bom</module>
<module>kotlin-code-generation-test</module>
<module>kotlin-code-generation</module>
<module>_itest</module>
</modules>

<properties/>
Expand Down Expand Up @@ -100,4 +99,18 @@
<organizationUrl>https://holisticon.de</organizationUrl>
</developer>
</developers>

<profiles>
<profile>
<id>itest</id>
<activation>
<property>
<name>!skipItest</name>
</property>
</activation>
<modules>
<module>_itest</module>
</modules>
</profile>
</profiles>
</project>

0 comments on commit d4dc80b

Please sign in to comment.