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

Refact/multi module pmd conf #232

Merged
merged 17 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
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
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/1-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ body:
options:
- refarch-gateway
- refarch-integrations
- refarch-tools
- refarch-cli
validations:
required: false
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/2-feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ body:
options:
- refarch-gateway
- refarch-integrations
- refarch-tools
- refarch-cli
validations:
required: false
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/3-maintenance-work.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ body:
options:
- refarch-gateway
- refarch-integrations
- refarch-tools
- refarch-cli
validations:
required: false
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/4-documentation-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ body:
options:
- refarch-gateway
- refarch-integrations
- refarch-tools
- refarch-cli
- Other
validations:
Expand Down
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"Component: Integrations":
- changed-files:
- any-glob-to-any-file: [ 'refarch-integrations/**' ]
"Component: Tools":
- changed-files:
- any-glob-to-any-file: [ 'refarch-tools/**' ]
"Component: CLI":
- changed-files:
- any-glob-to-any-file: [ 'refarch-cli/**' ]
79 changes: 79 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,55 @@ changelog:
exclude:
labels:
- "Component: Integrations"
- "Component: Tools"
- "Component: CLI"
- title: Gateway - 🎉 New Features
labels:
- "Type: Feature"
exclude:
labels:
- "Component: Integrations"
- "Component: Tools"
- "Component: CLI"
- title: Gateway - 🐞 Bug Fixes
labels:
- "Type: Bug"
exclude:
labels:
- "Component: Integrations"
- "Component: Tools"
- "Component: CLI"
- title: Gateway - 🔨 Maintenance
labels:
- "Type: Maintenance"
exclude:
labels:
- "Component: Integrations"
- "Component: Tools"
- "Component: CLI"
- title: Gateway - 📔 Documentation
labels:
- "Type: Documentation"
exclude:
labels:
- "Component: Integrations"
- "Component: Tools"
- "Component: CLI"
- title: Gateway - ⬆️ Dependency Upgrades
labels:
- "Type: Dependency"
exclude:
labels:
- "Component: Integrations"
- "Component: Tools"
- "Component: CLI"
- title: Gateway - 🔒️ Security
labels:
- "Type: Security"
exclude:
labels:
- "Component: Integrations"
- "Component: Tools"
- "Component: CLI"

# refarch-integrations
Expand All @@ -58,48 +65,113 @@ changelog:
exclude:
labels:
- "Component: API-Gateway"
- "Component: Tools"
- "Component: CLI"
- title: Integrations - 🎉 New Features
labels:
- "Type: Feature"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Tools"
- "Component: CLI"
- title: Integrations - 🐞 Bug Fixes
labels:
- "Type: Bug"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Tools"
- "Component: CLI"
- title: Integrations - 🔨 Maintenance
labels:
- "Type: Maintenance"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Tools"
- "Component: CLI"
- title: Integrations - 📔 Documentation
labels:
- "Type: Documentation"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Tools"
- "Component: CLI"
- title: Integrations - ⬆️ Dependency Upgrades
labels:
- "Type: Dependency"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Tools"
- "Component: CLI"
- title: Integrations - 🔒️ Security
labels:
- "Type: Security"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Tools"
- "Component: CLI"

# refarch-tools
- title: Tools - 💥 Breaking Changes
labels:
- BREAKING
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: CLI"
- title: Tools - 🎉 New Features
labels:
- "Type: Feature"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: CLI"
- title: Tools - 🐞 Bug Fixes
labels:
- "Type: Bug"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: CLI"
- title: Tools - 🔨 Maintenance
labels:
- "Type: Maintenance"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: CLI"
- title: Tools - 📔 Documentation
labels:
- "Type: Documentation"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: CLI"
- title: Tools - ⬆️ Dependency Upgrades
labels:
- "Type: Dependency"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: CLI"
- title: Tools - 🔒️ Security
labels:
- "Type: Security"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: CLI"

# refarch-cli
Expand All @@ -110,45 +182,52 @@ changelog:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: Tools"
- title: CLI - 🎉 New Features
labels:
- "Type: Feature"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: Tools"
- title: CLI - 🐞 Bug Fixes
labels:
- "Type: Bug"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: Tools"
- title: CLI - 🔨 Maintenance
labels:
- "Type: Maintenance"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: Tools"
- title: CLI - 📔 Documentation
labels:
- "Type: Documentation"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: Tools"
- title: CLI - ⬆️ Dependency Upgrades
labels:
- "Type: Dependency"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: Tools"
- title: CLI - 🔒️ Security
labels:
- "Type: Security"
exclude:
labels:
- "Component: API-Gateway"
- "Component: Integrations"
- "Component: Tools"
18 changes: 18 additions & 0 deletions .github/workflows/build_tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: build-tools

on:
pull_request:
push:
branches:
- main

jobs:
build-maven:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Maven build
uses: ./.github/actions/build-maven
with:
module: refarch-tools
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
options:
- refarch-gateway
- refarch-integrations
- refarch-tools
release:
description: 'Release?'
type: boolean
Expand Down
78 changes: 78 additions & 0 deletions refarch-tools/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?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>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.4</version>
<relativePath />
</parent>

<groupId>de.muenchen.refarch</groupId>
<artifactId>refarch-tools</artifactId>
<name>refarch-tools</name>
<description>Collection of different RefArch development tools</description>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
<module>refarch-pmd</module>
</modules>

<properties>
<!-- Compilation -->
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.release>${java.version}</maven.compiler.release>

<!-- Release -->
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
</properties>

<build>
<plugins>
<!-- Build -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<!-- Release -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

<scm>
<url>https://github.com/it-at-m/refarch.git</url>
<connection>scm:git:https://github.com/it-at-m/refarch.git</connection>
<developerConnection>scm:git:https://github.com/it-at-m/refarch.git</developerConnection>
<tag>HEAD</tag>
</scm>
<licenses>
<license>
<name>MIT</name>
</license>
</licenses>
<developers>
<developer>
<organization>it@M</organization>
<email>opensource@muenchen.de</email>
<url>https://github.com/it-at-m</url>
</developer>
</developers>
</project>
15 changes: 15 additions & 0 deletions refarch-tools/refarch-pmd/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?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>de.muenchen.refarch</groupId>
<artifactId>refarch-tools</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<groupId>de.muenchen.refarch.tools</groupId>
<artifactId>refarch-pmd</artifactId>
<name>refarch-pmd</name>
<description>Default RefArch configuration for PMD</description>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package de.muenchen.refarch.tools.pmd;

/**
* Dummy class for javadoc generation required by central-publishing-maven-plugin
*/
public class PmdConfiguration {
}
Loading