Skip to content

Commit fea382d

Browse files
committed
Use Nisse
1 parent 1bbe96e commit fea382d

File tree

9 files changed

+19
-7
lines changed

9 files changed

+19
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ release.properties
1818
dependency-reduced-pom.xml
1919
buildNumber.properties
2020
.mvn/timing.properties
21+
.inlined-*
2122

.mvn/extensions.xml.off renamed to .mvn/extensions.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<extensions>
33
<extension>
44
<groupId>eu.maveniverse.maven.nisse</groupId>
5-
<artifactId>extension3</artifactId>
6-
<version>0.1.1-SNAPSHOT</version>
5+
<artifactId>extension</artifactId>
6+
<version>0.6.0</version>
77
</extension>
88
</extensions>

.mvn/maven.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-D
2+
nisse.source.file.name=${session.rootDirectory}/build.properties

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
# Maveniverse Maven-BOMs
2+
3+
The build uses Nisse for "complete CI friendly" setup. See contents of `build.properties`.
4+
5+
This file is single place that contains the version of Maven to generate BOMs for, and
6+
is also used in resulting artifact versions as well.

build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mavenVersion=3.9.11

fat/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>eu.maveniverse.maven.maven-boms</groupId>
1616
<artifactId>maven-boms</artifactId>
17-
<version>0.1.0-SNAPSHOT</version>
17+
<version>${nisse.file.mavenVersion}-01-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>fat</artifactId>
@@ -45,6 +45,7 @@
4545
</goals>
4646
<phase>package</phase>
4747
<configuration>
48+
<attach>true</attach>
4849
<bomName>Maven ${maven3Version} fat BOM</bomName>
4950
<addVersionProperties>true</addVersionProperties>
5051
<usePropertiesForVersion>true</usePropertiesForVersion>

plugin/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>eu.maveniverse.maven.maven-boms</groupId>
1616
<artifactId>maven-boms</artifactId>
17-
<version>0.1.0-SNAPSHOT</version>
17+
<version>${nisse.file.mavenVersion}-01-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>plugin</artifactId>
@@ -45,6 +45,7 @@
4545
</goals>
4646
<phase>package</phase>
4747
<configuration>
48+
<attach>true</attach>
4849
<bomName>Maven ${maven3Version} plugin BOM</bomName>
4950
<addVersionProperties>true</addVersionProperties>
5051
<usePropertiesForVersion>true</usePropertiesForVersion>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<groupId>eu.maveniverse.maven.maven-boms</groupId>
2121
<artifactId>maven-boms</artifactId>
22-
<version>0.1.0-SNAPSHOT</version>
22+
<version>${nisse.file.mavenVersion}-01-SNAPSHOT</version>
2323
<packaging>pom</packaging>
2424

2525
<name>${project.groupId}:${project.artifactId}</name>
@@ -68,7 +68,7 @@
6868
<requireRuntimeMavenVersion.range>[3.9,)</requireRuntimeMavenVersion.range>
6969

7070
<!-- Maven 3 version -->
71-
<maven3Version>3.9.11</maven3Version>
71+
<maven3Version>${nisse.file.mavenVersion}</maven3Version>
7272
</properties>
7373

7474
<build>

skinny/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>eu.maveniverse.maven.maven-boms</groupId>
1616
<artifactId>maven-boms</artifactId>
17-
<version>0.1.0-SNAPSHOT</version>
17+
<version>${nisse.file.mavenVersion}-01-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>skinny</artifactId>
@@ -104,6 +104,7 @@
104104
</goals>
105105
<phase>package</phase>
106106
<configuration>
107+
<attach>true</attach>
107108
<bomName>Maven ${maven3Version} skinny BOM</bomName>
108109
<addVersionProperties>true</addVersionProperties>
109110
<usePropertiesForVersion>true</usePropertiesForVersion>

0 commit comments

Comments
 (0)