Skip to content

Commit

Permalink
Introdude formatter and impsort; make sure CI checks formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn committed Dec 13, 2023
1 parent 1c6e11f commit 6778143
Show file tree
Hide file tree
Showing 6 changed files with 480 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- if: ${{ matrix.java != '11' }}
name: "Maven install > 11"
run: |
mvn -Pstaging install -DskipTests=true -B -V
mvn -Pstaging install -DskipTests=true -Dno-format -B -V
- if: ${{ matrix.java == '11' }}
name: "Maven install 11"
run: |
mvn -Pstaging -pl '!el' install -DskipTests=true -B -V
mvn -Pstaging -pl '!el' install -DskipTests=true -Dno-format -B -V
- if: ${{ matrix.java != '11' }}
name: "Maven test > 11"
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ spec/en/master-filtered.xml
*.iws
.idea
*.swp
.cache
22 changes: 22 additions & 0 deletions ide-config/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-parent</artifactId>
<version>4.1.0-SNAPSHOT</version>
</parent>

<artifactId>cdi-ide-config</artifactId>

<name>CDI IDE Config</name>
<description>Formatting config and import sorting</description>

<properties>
<maven.compiler.release>11</maven.compiler.release>
</properties>

</project>
Loading

0 comments on commit 6778143

Please sign in to comment.