Skip to content

Commit 36fe8bd

Browse files
author
Wulfspider
committed
New version string format for internal development use.
1 parent bc69b0e commit 36fe8bd

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

pom.xml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
<properties>
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
<buildNumber>0</buildNumber>
25+
<ciSystem>unknown</ciSystem>
26+
<commit>unknown</commit>
2527
</properties>
2628

2729
<!-- Organization information -->
@@ -188,6 +190,30 @@
188190
<showDeprecation>true</showDeprecation>
189191
</configuration>
190192
</plugin>
193+
<!-- JAR creation plugin -->
194+
<plugin>
195+
<groupId>org.apache.maven.plugins</groupId>
196+
<artifactId>maven-jar-plugin</artifactId>
197+
<version>2.4</version>
198+
<configuration>
199+
<archive>
200+
<manifestEntries>
201+
<Specification-Title>${project.name}</Specification-Title>
202+
<Specification-Version>${project.version}+${ciSystem}-b${buildNumber}.git-${commit}</Specification-Version>
203+
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
204+
<Sealed>true</Sealed>
205+
</manifestEntries>
206+
<manifestSections>
207+
<manifestSection>
208+
<name>org/spout/</name>
209+
<manifestEntries>
210+
<Sealed>true</Sealed>
211+
</manifestEntries>
212+
</manifestSection>
213+
</manifestSections>
214+
</archive>
215+
</configuration>
216+
</plugin>
191217
<!-- Dependency addition plugin -->
192218
<plugin>
193219
<groupId>org.apache.maven.plugins</groupId>
@@ -233,8 +259,8 @@
233259
<version>2.9.1</version>
234260
<configuration>
235261
<bottom><![CDATA[Copyright (c) {project.inceptionYear} <a href="${project.organization.url}" target="_blank">${project.organization.name}</a>. ${project.name} is licensed under <a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">GNU Lesser General Public License Version 3</a>]]></bottom>
236-
<doctitle><![CDATA[${project.name} ${project.version}-b${buildNumber}]]></doctitle>
237-
<windowtitle>Javadoc | ${project.name} ${project.version}-b${buildNumber}</windowtitle>
262+
<doctitle><![CDATA[${project.name} ${project.version}+${ciSystem}-b${buildNumber}.git-${commit}]]></doctitle>
263+
<windowtitle>${project.name} Javadocs</windowtitle>
238264
<author>false</author>
239265
<version>false</version>
240266
</configuration>

0 commit comments

Comments
 (0)