Skip to content

Commit 2f0a7b3

Browse files
committed
Removed unused properties, touched readme
- Removed the div containing duplicit information with broken url to png - The html is still obsoleted, but it looks tiny bit better. - The release.repositor.url led to recently abandoned repository Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
1 parent 24790b3 commit 2f0a7b3

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

wsit/bundles/metro-standalone/pom.xml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -240,17 +240,10 @@
240240
</dependencies>
241241

242242
<properties>
243-
<maven.build.timestamp.format>MMMM dd, yyyy</maven.build.timestamp.format>
244-
245-
<java.home.string>java.home</java.home.string>
246-
<java.version.string>java.version</java.version.string>
247-
<as.home.env.string>env.AS_HOME</as.home.env.string>
248-
<catalina.home.env.string>env.CATALINA_HOME</catalina.home.env.string>
249-
243+
<!-- Used in readme.html, however the file is obsoleted. -->
250244
<product.name>Metro ${project.version}</product.name>
251245
<release.date>${maven.build.timestamp}</release.date>
252246
<bundle.artifact.name>${project.artifactId}-${project.version}.zip</bundle.artifact.name>
253-
<src.bundle.artifact.name>${project.artifactId}-${project.version}.src.zip</src.bundle.artifact.name>
254-
<download.link>${release.repository.url}/org/glassfish/metro/${project.artifactId}/${project.version}/${bundle.artifact.name}</download.link>
247+
<download.link>https://central.sonatype.com/artifact/org.glassfish.metro/${project.artifactId}/${project.version}</download.link>
255248
</properties>
256249
</project>

wsit/bundles/metro-standalone/src/main/resources/readme.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@
1414
<html>
1515
<title>${product.name}</title>
1616
<body>
17-
<div style="float:right;text-align: center;font-weight: bold">
18-
<a href="${download.link}">
19-
<img alt="Download ${product.name}" src="https://javaee.github.io/metro/download.png" border="0"/>
20-
</a>
21-
<div class="title">
22-
<a href="${download.link}">Download ${product.name}</a>
23-
</div>
24-
</div>
25-
2617
<h1 style="clear: left;">${product.name}</h1>
2718
<p><tt>Release Date: ${release.date}</tt></p>
2819

wsit/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,8 +673,6 @@
673673
<spotbugs.version>4.7.3.6</spotbugs.version>
674674
<findsecbugs.version>1.11.0</findsecbugs.version>
675675

676-
<release.repository.url>https://jakarta.oss.sonatype.org/content/repositories/releases/</release.repository.url>
677-
678676
<istack.plugins.version>4.1.2</istack.plugins.version>
679677

680678
<maven.compiler.release>11</maven.compiler.release>

0 commit comments

Comments
 (0)