Skip to content

Commit f973c8e

Browse files
committed
Add version info in site and jar
1 parent 603745d commit f973c8e

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,22 @@
172172
<plugin>
173173
<artifactId>maven-jar-plugin</artifactId>
174174
<version>2.5</version>
175+
<configuration>
176+
<archive>
177+
<addMavenDescriptor>true</addMavenDescriptor>
178+
<index>true</index>
179+
<manifest>
180+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
181+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
182+
</manifest>
183+
<manifestEntries>
184+
<artifactId>${project.artifactId}</artifactId>
185+
<groupId>${project.groupId}</groupId>
186+
<version>${project.version}</version>
187+
<buildNumber>${buildNumber}</buildNumber>
188+
</manifestEntries>
189+
</archive>
190+
</configuration>
175191
</plugin>
176192
<plugin>
177193
<artifactId>maven-compiler-plugin</artifactId>
@@ -295,6 +311,8 @@
295311
<report>issue-tracking</report>
296312
<report>license</report>
297313
<report>scm</report>
314+
<report>distribution-management</report>
315+
<report>summary</report>
298316
</reports>
299317
</reportSet>
300318
</reportSets>

src/site/site.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<artifactId>maven-fluido-skin</artifactId>
2323
<version>1.3.1</version>
2424
</skin>
25+
<version/>
2526
<body>
2627
<menu ref="reports"/>
2728
</body>

0 commit comments

Comments
 (0)