Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
218 lines (195 loc) · 7.62 KB
/
Copy pathpom.xml
File metadata and controls
218 lines (195 loc) · 7.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<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>
<groupId>io.github.java-helpers</groupId>
<artifactId>simple-builders</artifactId>
<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Simple Builders</name>
<description>Compile-time Java annotation processor that generates type-safe, fluent builders for classes and records — no runtime reflection. Supports Jackson, immutable copy-on-write updates, conditional logic, and collection helpers.</description>
<url>https://github.com/java-helpers/simple-builders</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<inceptionYear>2025</inceptionYear>
<scm>
<connection>scm:git:git://github.com/java-helpers/simple-builders.git</connection>
<developerConnection>scm:git:ssh://github.com/java-helpers/simple-builders.git</developerConnection>
<url>https://github.com/java-helpers/simple-builders/tree/main</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/java-helpers/simple-builders/issues</url>
</issueManagement>
<ciManagement>
<system>Github Actions</system>
<url>https://github.com/java-helpers/simple-builders/actions</url>
</ciManagement>
<developers>
<developer>
<name>Andreas Igel</name>
<id>aigel</id>
<email>Andreas.Igel@gmx.com</email>
<roles>
<role>Java Developer</role>
<role>Java Architect</role>
</roles>
</developer>
</developers>
<modules>
<module>core</module>
<module>processor</module>
<module>example-custom-generator</module>
<module>example</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Java and Compiler Properties -->
<java.version>17</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>
<!-- SonarCloud Properties -->
<sonar.projectKey>java-helpers_simple-builders</sonar.projectKey>
<sonar.organization>java-helpers</sonar.organization>
<sonar.projectName>Simple Builders</sonar.projectName>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.java.binaries>${project.basedir}/core/target/classes,${project.basedir}/processor/target/classes</sonar.java.binaries>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/processor/target/site/jacoco-aggregate/jacoco.xml,${project.basedir}/processor/target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.exclusions>**/example/**</sonar.exclusions>
<!-- Coverage exclusion needs to match jacoco configuration in processor module.
Only genuine boilerplate is excluded (DTO model, exception classes, constants
holders, generated sources); mapper logic is intentionally measured. -->
<sonar.coverage.exclusions>**/processor/model/**,**/exceptions/**,**/generated/**,**/JavadocConstants.java</sonar.coverage.exclusions>
<!-- Plugin Versions -->
<plugin.maven.compiler.version>3.16.0</plugin.maven.compiler.version>
<plugin.maven.deploy.version>3.2.0</plugin.maven.deploy.version>
<plugin.maven.site.version>3.22.0</plugin.maven.site.version>
<plugin.maven.source.version>3.3.1</plugin.maven.source.version>
<plugin.maven.javadoc.version>3.11.2</plugin.maven.javadoc.version>
<plugin.maven.gpg.version>3.2.7</plugin.maven.gpg.version>
<plugin.central.publishing.version>0.8.0</plugin.central.publishing.version>
<plugin.code-format.version>2.29</plugin.code-format.version>
<plugin.license.version>5.1.2</plugin.license.version>
<plugin.sonar.version>5.8.0.7211</plugin.sonar.version>
</properties>
<build>
<pluginManagement>
<plugins>
<!-- Compiler Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${plugin.maven.compiler.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<release>${java.version}</release>
</configuration>
</plugin>
<!-- Site Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${plugin.maven.site.version}</version>
</plugin>
<!-- Code Formatting -->
<plugin>
<groupId>com.spotify.fmt</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>${plugin.code-format.version}</version>
</plugin>
<!-- License Header Check -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${plugin.license.version}</version>
</plugin>
<!-- SonarCloud -->
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${plugin.sonar.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- Compiler Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<!-- Code Formatting -->
<plugin>
<groupId>com.spotify.fmt</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- License Header Check -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<licenseSets>
<licenseSet>
<header>${maven.multiModuleProjectDirectory}/LICENSE.txt</header>
<includes>
<include>src/main/java/**</include>
<include>src/test/java/**</include>
</includes>
<excludes>
<exclude>generated-example-builder/**</exclude>
<exclude>target/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- Common profile for release builds -->
<profiles>
<profile>
<id>release</id>
<!-- Skip deployment for root POM -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${plugin.maven.deploy.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<!-- Other configuration moved to individual modules -->
</profile>
<profile>
<id>performance-test</id>
<modules>
<module>performance-test</module>
</modules>
</profile>
</profiles>
</project>