Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#513: Generate quality metrics.json #592

Merged
merged 27 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
66622e2
Fix user guide URL
kaklakariada Oct 21, 2024
4012160
Update eclipse jdt config for new eclipse version
kaklakariada Oct 21, 2024
9839c38
Merge remote-tracking branch 'origin/main' into kaklakariada/issue585
kaklakariada Oct 21, 2024
74b54f6
Upgrade Maven plugins
kaklakariada Oct 21, 2024
1e5a313
#585: Pin plugin versions
kaklakariada Oct 21, 2024
6cf326f
Run PK fix
kaklakariada Oct 21, 2024
2505cdc
#585: Adapt unit test
kaklakariada Oct 21, 2024
cd68c1c
Upgrade dependencies
kaklakariada Oct 21, 2024
8350a93
Merge remote-tracking branch 'origin/main' into kaklakariada/issue585
kaklakariada Oct 21, 2024
f2fb2f5
Mark eclipse config files as generated
kaklakariada Oct 21, 2024
38350dc
#585: Adapt integration test
kaklakariada Oct 21, 2024
ce4c4b0
Update eclipse config files for latest version
kaklakariada Oct 21, 2024
b484539
Fix dependencies
kaklakariada Oct 21, 2024
86df60b
#585: Add quality-summarizer-maven-plugin
kaklakariada Oct 21, 2024
2c526b1
Merge remote-tracking branch 'origin/main' into #513-add-quality-summ…
kaklakariada Oct 21, 2024
e1eaf50
Fix review findings from other PRs
kaklakariada Oct 21, 2024
f93222e
Run PK fix
kaklakariada Oct 21, 2024
90335e8
Add coverage aggregator module
kaklakariada Oct 21, 2024
4a99343
Disable eclipse compiler flag --release
kaklakariada Oct 21, 2024
6917937
Archive metrics.json
kaklakariada Oct 21, 2024
4538940
Add changelog entry
kaklakariada Oct 21, 2024
082ca45
Merge remote-tracking branch 'origin/main' into #513-add-quality-summ…
kaklakariada Oct 22, 2024
4911dba
Upgrade to quality metrics plugin 0.2.0
kaklakariada Oct 23, 2024
1ab21f7
Verify that build created the metrics.json file
kaklakariada Oct 23, 2024
d659efd
Increment minor version
kaklakariada Oct 23, 2024
f58dd47
Update release date
kaklakariada Oct 23, 2024
ee6ac70
Update doc/changes/changes_4.4.0.md
kaklakariada Oct 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .project-keeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@ build:
name: Run project-keeper itself
id: build-pk-verify
run: mvn --batch-mode com.exasol:project-keeper-maven-plugin:verify --projects .
- action: INSERT_AFTER
stepId: build-pk-verify
content:
name: Verify that metrics.json was created
id: verify-metrics-json
run: |
# Ensure that file exists:
ls -lh coverage-aggregator/target/metrics.json
cat coverage-aggregator/target/metrics.json

# [itest->dsn~customize-build-process.dependency-check~0]
- name: "dependencies_check.yml"
Expand Down
98 changes: 98 additions & 0 deletions coverage-aggregator/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.exasol</groupId>
<artifactId>coverage-aggregator</artifactId>
<version>${revision}</version>
<name>Project Keeper Coverage Aggregator</name>
<description>This module collects test coverage from all other modules and aggregates it into a single report.</description>

<parent>
<groupId>com.exasol</groupId>
<artifactId>project-keeper-parent-pom</artifactId>
<relativePath>../parent-pom/pom.xml</relativePath>
<version>${revision}</version>
</parent>
<dependencies>
<dependency>
<groupId>com.exasol</groupId>
<artifactId>project-keeper-java-project-crawler</artifactId>
</dependency>
<dependency>
<groupId>com.exasol</groupId>
<artifactId>project-keeper-core</artifactId>
</dependency>
<dependency>
<groupId>com.exasol</groupId>
<artifactId>project-keeper-cli</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.exasol</groupId>
<artifactId>project-keeper-maven-plugin</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.exasol</groupId>
<artifactId>project-keeper-shared-model-classes</artifactId>
</dependency>
<dependency>
<groupId>com.exasol</groupId>
<artifactId>project-keeper-shared-test-setup</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<executions>
<execution>
<id>jacoco-site-aggregate</id>
<phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.exasol</groupId>
<artifactId>quality-summarizer-maven-plugin</artifactId>
<version>0.2.0</version>
<executions>
<execution>
<id>summarize-metrics</id>
<goals>
<goal>summarize</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.6.3</version>
</requireMavenVersion>
<requireJavaVersion>
<version>17</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading
Loading