1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <parent >
8+ <groupId >com.github.nbbrd.nbbrd-maven-tools</groupId >
9+ <artifactId >nbbrd-maven-tools</artifactId >
10+ <version >1.0.1</version >
11+ </parent >
12+
13+ <artifactId >nbbrd-maven-bom</artifactId >
14+ <packaging >pom</packaging >
15+
16+ <name >nbbrd-maven-bom</name >
17+ <description >NBBRD Maven BOM</description >
18+ <url >https://github.com/nbbrd/nbbrd-maven-tools</url >
19+
20+ <dependencyManagement >
21+ <dependencies >
22+ <dependency >
23+ <groupId >${project.groupId} </groupId >
24+ <artifactId >compatibility-api</artifactId >
25+ <version >${project.version} </version >
26+ </dependency >
27+ <dependency >
28+ <groupId >${project.groupId} </groupId >
29+ <artifactId >compatibility-maven-plugin</artifactId >
30+ <version >${project.version} </version >
31+ </dependency >
32+ </dependencies >
33+ </dependencyManagement >
34+
35+ <build >
36+ <plugins >
37+ <plugin >
38+ <groupId >org.codehaus.mojo</groupId >
39+ <artifactId >flatten-maven-plugin</artifactId >
40+ <version >1.7.0</version >
41+ <configuration >
42+ <flattenMode >bom</flattenMode >
43+ <outputDirectory >${project.build.directory} </outputDirectory >
44+ </configuration >
45+ <executions >
46+ <execution >
47+ <id >flatten</id >
48+ <phase >process-resources</phase >
49+ <goals >
50+ <goal >flatten</goal >
51+ </goals >
52+ </execution >
53+ </executions >
54+ </plugin >
55+ </plugins >
56+ </build >
57+
58+ <profiles >
59+ <!-- Release binaries on GitHub -->
60+ <!-- Note that all plugins are run on 'install' phase -->
61+ <profile >
62+ <id >full-release</id >
63+ <build >
64+ <plugins >
65+ <!-- Extract changelog -->
66+ <plugin >
67+ <groupId >com.github.nbbrd.heylogs</groupId >
68+ <artifactId >heylogs-maven-plugin</artifactId >
69+ <executions >
70+ <execution >
71+ <id >extract-changelog</id >
72+ <phase >install</phase >
73+ <goals >
74+ <goal >extract</goal >
75+ </goals >
76+ <configuration >
77+ <inputFile >${project.parent.basedir} /CHANGELOG.md</inputFile >
78+ </configuration >
79+ </execution >
80+ </executions >
81+ </plugin >
82+
83+ <!-- Release assets -->
84+ <plugin >
85+ <groupId >org.jreleaser</groupId >
86+ <artifactId >jreleaser-maven-plugin</artifactId >
87+ <executions >
88+ <execution >
89+ <id >release-assets</id >
90+ <phase >install</phase >
91+ <goals >
92+ <goal >full-release</goal >
93+ </goals >
94+ <configuration >
95+ <jreleaser >
96+ <release >
97+ <github >
98+ <skipTag >true</skipTag >
99+ <changelog >
100+ <external >${project.build.directory} /CHANGELOG.md</external >
101+ </changelog >
102+ </github >
103+ </release >
104+ <signing >
105+ <active >ALWAYS</active >
106+ <!-- Fix default value -->
107+ <armored >true</armored >
108+ </signing >
109+ </jreleaser >
110+ </configuration >
111+ </execution >
112+ </executions >
113+ </plugin >
114+ </plugins >
115+ </build >
116+ </profile >
117+ </profiles >
118+ </project >
0 commit comments