Skip to content

Commit

Permalink
chore(build): improve format of pom and ci files
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Oct 24, 2022
1 parent 5d21306 commit a3c9561
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
distribution: zulu
cache: maven
- name: Build with Maven
run: ./mvnw -V --no-transfer-progress clean install
2 changes: 1 addition & 1 deletion cola-archetypes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
5 changes: 2 additions & 3 deletions cola-components/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<spring.boot.version>2.7.5</spring.boot.version>
Expand Down Expand Up @@ -188,8 +188,7 @@
<artifactId>versions-maven-plugin</artifactId>
<version>2.12.0</version>
<configuration>
<rulesUri>file://${maven.multiModuleProjectDirectory}/cola-component-dto/src/versions-rules.xml
</rulesUri>
<rulesUri>file://${maven.multiModuleProjectDirectory}/cola-component-dto/src/versions-rules.xml</rulesUri>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
Expand Down

0 comments on commit a3c9561

Please sign in to comment.