Skip to content

Commit 169ce8a

Browse files
committed
xmoleculesGH-12 - Prepare 0.1 release.
POM polishing and preparations to deploy to Maven central.
1 parent bfc13e5 commit 169ce8a

File tree

4 files changed

+125
-13
lines changed

4 files changed

+125
-13
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ target/
1010
*.iml
1111
*.ipr
1212
*.iws
13+
.flattened-pom.xml

jddd-archunit/pom.xml

+10-11
Original file line numberDiff line numberDiff line change
@@ -12,54 +12,53 @@
1212

1313
<artifactId>jddd-archunit</artifactId>
1414
<name>jDDD - ArchUnit rules</name>
15-
15+
1616
<properties>
1717
<archunit.version>0.13.1</archunit.version>
18-
<junit.version>5.6.1</junit.version>
19-
<spring.version>5.2.5.RELEASE</spring.version>
18+
<spring.version>5.2.6.RELEASE</spring.version>
2019
</properties>
2120

2221
<dependencies>
23-
22+
2423
<dependency>
2524
<groupId>${project.groupId}</groupId>
2625
<artifactId>jddd-core</artifactId>
2726
<version>${project.version}</version>
2827
</dependency>
29-
28+
3029
<dependency>
3130
<groupId>com.tngtech.archunit</groupId>
3231
<artifactId>archunit</artifactId>
3332
<version>${archunit.version}</version>
3433
</dependency>
35-
34+
3635
<dependency>
3736
<groupId>org.springframework</groupId>
3837
<artifactId>spring-core</artifactId>
3938
<version>${spring.version}</version>
4039
</dependency>
41-
40+
4241
<dependency>
4342
<groupId>org.junit.jupiter</groupId>
4443
<artifactId>junit-jupiter</artifactId>
4544
<version>${junit.version}</version>
4645
<scope>test</scope>
4746
</dependency>
48-
47+
4948
<dependency>
5049
<groupId>com.tngtech.archunit</groupId>
5150
<artifactId>archunit-junit5</artifactId>
5251
<version>${archunit.version}</version>
5352
<scope>test</scope>
5453
</dependency>
55-
54+
5655
<dependency>
5756
<groupId>org.assertj</groupId>
5857
<artifactId>assertj-core</artifactId>
59-
<version>3.15.0</version>
58+
<version>${assertj.version}</version>
6059
<scope>test</scope>
6160
</dependency>
6261

6362
</dependencies>
64-
63+
6564
</project>

jddd-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>org.projectlombok</groupId>
2020
<artifactId>lombok</artifactId>
21-
<version>1.18.8</version>
21+
<version>${lombok.version}</version>
2222
<scope>test</scope>
2323
</dependency>
2424
</dependencies>

pom.xml

+113-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
<name>jDDD</name>
1313
<description>Domain-Driven Design concepts in Java</description>
14+
<url>https://github.com/odrotbohm/jddd</url>
1415

1516
<modules>
1617
<module>jddd-core</module>
@@ -23,13 +24,73 @@
2324

2425
<properties>
2526
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
27+
<assertj.version>3.15.0</assertj.version>
2628
<bytebuddy.version>1.10.8</bytebuddy.version>
29+
<junit.version>5.6.1</junit.version>
2730
<lombok.version>1.18.12</lombok.version>
2831
<slf4j.version>1.7.30</slf4j.version>
2932
</properties>
3033

34+
<licenses>
35+
<license>
36+
<name>Apache License, Version 2.0</name>
37+
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
38+
</license>
39+
</licenses>
40+
41+
<developers>
42+
<developer>
43+
<id>odrotbohm</id>
44+
<name>Oliver Drotbohm</name>
45+
<email>[email protected]</email>
46+
<organization>Pivotal Software, Inc.</organization>
47+
<organizationUrl>https://pivotal.io</organizationUrl>
48+
</developer>
49+
</developers>
50+
51+
<profiles>
52+
<profile>
53+
<id>sonatype</id>
54+
<build>
55+
<plugins>
56+
<plugin>
57+
<groupId>org.apache.maven.plugins</groupId>
58+
<artifactId>maven-gpg-plugin</artifactId>
59+
<executions>
60+
<execution>
61+
<id>sign-artifacts</id>
62+
<phase>verify</phase>
63+
<goals>
64+
<goal>sign</goal>
65+
</goals>
66+
</execution>
67+
</executions>
68+
</plugin>
69+
<plugin>
70+
<groupId>org.apache.maven.plugins</groupId>
71+
<artifactId>maven-javadoc-plugin</artifactId>
72+
<executions>
73+
<execution>
74+
<id>attach-javadocs</id>
75+
<goals>
76+
<goal>jar</goal>
77+
</goals>
78+
</execution>
79+
</executions>
80+
<configuration>
81+
<additionalOptions>
82+
<additionalOption>-Xdoclint:none</additionalOption>
83+
</additionalOptions>
84+
</configuration>
85+
</plugin>
86+
</plugins>
87+
</build>
88+
</profile>
89+
</profiles>
90+
3191
<build>
3292
<plugins>
93+
3394
<plugin>
3495
<groupId>org.apache.maven.plugins</groupId>
3596
<artifactId>maven-compiler-plugin</artifactId>
@@ -40,13 +101,64 @@
40101
</configuration>
41102
</plugin>
42103

43-
<!-- Explicitly declared to use a version that supports JUnit 5 OOTB -->
44104
<plugin>
45105
<artifactId>maven-surefire-plugin</artifactId>
46106
<version>2.22.2</version>
47107
</plugin>
48108

109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-source-plugin</artifactId>
112+
<executions>
113+
<execution>
114+
<id>attach-sources</id>
115+
<goals>
116+
<goal>jar-no-fork</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
121+
122+
<plugin>
123+
<groupId>org.codehaus.mojo</groupId>
124+
<artifactId>flatten-maven-plugin</artifactId>
125+
<executions>
126+
<execution>
127+
<id>flatten</id>
128+
<phase>process-resources</phase>
129+
<goals>
130+
<goal>flatten</goal>
131+
</goals>
132+
<configuration>
133+
<updatePomFile>true</updatePomFile>
134+
<flattenMode>oss</flattenMode>
135+
<pomElements>
136+
<distributionManagement>remove</distributionManagement>
137+
<properties>remove</properties>
138+
<repositories>remove</repositories>
139+
<profiles>remove</profiles>
140+
</pomElements>
141+
</configuration>
142+
</execution>
143+
<execution>
144+
<id>flatten-clean</id>
145+
<phase>clean</phase>
146+
<goals>
147+
<goal>clean</goal>
148+
</goals>
149+
</execution>
150+
</executions>
151+
</plugin>
152+
49153
</plugins>
154+
50155
</build>
51156

157+
<scm>
158+
<url>https://github.com/odrotbohm/jddd</url>
159+
<connection>scm:git:https://github.com/odrotbohm/jddd</connection>
160+
<developerConnection>scm:git:ssh://[email protected]/odrotbohm/jddd.git</developerConnection>
161+
<tag>HEAD</tag>
162+
</scm>
163+
52164
</project>

0 commit comments

Comments
 (0)