Skip to content

Commit

Permalink
[ci] Restore license checking, omit git tasks
Browse files Browse the repository at this point in the history
This reverts the change in #529 and restores the processing of licenses
as part of CI tasks. However, drop the optional processing of git
information to populate unused variables for the license header
template.
  • Loading branch information
ctubbsii committed Oct 31, 2021
1 parent 54b9fd2 commit 9ec4c5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
key: ${{ matrix.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ matrix.os }}-m2
- name: Build with Maven
run: mvn -B -V -e "-Dstyle.color=always" verify -D"license.skip=true"
run: mvn -B -V -e "-Dstyle.color=always" verify
env:
MAVEN_OPTS: -Djansi.force=true

7 changes: 0 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,6 @@
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.1</version>
<dependencies>
<dependency>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin-git</artifactId>
<version>4.1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
Expand Down

0 comments on commit 9ec4c5a

Please sign in to comment.