Skip to content

Commit d3cfc30

Browse files
committed
deployment error fixed in 1.0.3
1 parent 5526f9b commit d3cfc30

File tree

5 files changed

+118
-47
lines changed

5 files changed

+118
-47
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,58 @@ All notable changes to **JavaFX Markdown Preview** will be documented in this fi
2323

2424
---
2525

26+
## [1.0.3] - 2025-07-09
27+
28+
## ✨ Added
29+
30+
-**Source and Javadoc Jars**
31+
32+
- All artifacts now include sources and Javadoc to comply with Maven Central requirements.
33+
34+
-**Improved Multi-Module Build**
35+
36+
- Clean separation of `parent`, `all`, and `minimal` modules with consistent packaging.
37+
38+
-**Metadata Enhancements**
39+
40+
- Added project URL, SCM info, developer information, and license declarations.
41+
42+
-**Central Publishing Config**
43+
44+
- Maven Central and Sonatype deployment configuration improved for reliability.
45+
46+
---
47+
48+
## 🛠️ Improved
49+
- 🧹 **Parent POM**
50+
51+
- Simplified plugin management and property inheritance.
52+
53+
- 🪄 **Deployment Stability**
54+
55+
- Resolved previous build errors (`Component with package URL already exists`).
56+
57+
-**Cleaner Artifacts**
58+
59+
- Removed duplicate and incomplete packages from the release pipeline.
60+
61+
---
62+
63+
## 🐞 Fixed
64+
- 🐛 Fixed invalid plugin configurations for source/javadoc generation.
65+
66+
- 🐛 Fixed shading issues causing incomplete shaded jars.
67+
68+
---
69+
70+
# 💡 Note
71+
> Version 1.0.2 introduced multi-module packaging and all the new features.
72+
> However, due to deployment issues, it was never fully published to Maven Central.
73+
> Version 1.0.3 includes the same functionality with additional improvements and
74+
> is the first stable, signed release. Please use 1.0.3 or later for production.
75+
76+
---
77+
2678
## [1.0.2] - 2025-07-09
2779

2880
### ✨ Added

README.md

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
</a>
5050

5151
<!-- Javadoc -->
52-
<a href="https://javadoc.io/doc/io.github.raghul-tech/javafx-markdown-preview/1.0.1">
53-
<img src="https://img.shields.io/badge/Javadoc-1.0.2-blue?style=for-the-badge&logo=java" alt="Javadoc (1.0.2)" />
52+
<a href="https://javadoc.io/doc/io.github.raghul-tech/javafx-markdown-preview/1.0.3">
53+
<img src="https://img.shields.io/badge/Javadoc-1.0.3-blue?style=for-the-badge&logo=java" alt="Javadoc (1.0.3)" />
5454
</a>
5555

5656
<!-- Support -->
@@ -85,14 +85,28 @@ Whether you’re building a Markdown editor, a documentation viewer, or just nee
8585
8686
---
8787

88-
## ✨ New in 1.0.2
89-
90-
- 🎯 **Tab and TabPane support**
91-
- 🧩 **Standalone WebView component**
92-
- 🌈 **Enhanced GitHub-style themes**
93-
- 📝 **Syntax highlighting and copy buttons**
94-
-**Improved real-time updates**
95-
- 💡 **JavaFX 17 compatibility**
88+
## ✨ What's New in 1.0.3
89+
90+
>**Note**:
91+
>**Version 1.0.2** contained all the new features below but failed deployment to Maven Central.
92+
>**Version 1.0.3** is the first properly signed and published release.
93+
>Please upgrade to **1.0.3**.
94+
95+
- 🎯 **Tab and TabPane Support**
96+
- Embed previews inside `TabPane` with lifecycle management.
97+
- 🧩 **Standalone WebView Component**
98+
- Use a `WebView` node in any JavaFX layout (`VBox`, `HBox`, `BorderPane`).
99+
- 🌈 **Enhanced GitHub-Style Themes**
100+
- Cleaner dark and light themes matching GitHub styling.
101+
- 📝 **Syntax Highlighting & Copy Buttons**
102+
- Beautiful code blocks with one-click copy support.
103+
-**Improved Real-Time Updates**
104+
- Live reload when files change, with reduced flicker.
105+
- 💡 **JavaFX 17 Compatibility**
106+
- Runs smoothly on JavaFX 11–17.
107+
108+
**Why use 1.0.3?**
109+
>This version ensures a verified signature, successful publication to Maven Central, and fully reproducible builds.
96110
97111
---
98112

@@ -130,7 +144,7 @@ Add the dependency in your `pom.xml`:
130144

131145
<artifactId>javafx-markdown-preview-all</artifactId>
132146

133-
<version>1.0.2</version>
147+
<version>1.0.3</version>
134148

135149
</dependency>
136150
```
@@ -142,7 +156,7 @@ Or browse it on [Maven Central](https://central.sonatype.com/artifact/io.github.
142156
<dependency>
143157
<groupId>io.github.raghul-tech</groupId>
144158
<artifactId>javafx-markdown-preview</artifactId>
145-
<version>1.0.2</version>
159+
<version>1.0.3</version>
146160
</dependency>
147161

148162
<dependency>
@@ -183,18 +197,18 @@ Or browse it on [Maven Central](https://central.sonatype.com/artifact/io.github.
183197
### **Compile:**
184198

185199
```bash
186-
javac -cp java-markdown-preview-all-1.0.2.jar Markdown.java
200+
javac -cp java-markdown-preview-all-1.0.3.jar Markdown.java
187201
```
188202
### **Run:**
189203

190204
> Windows:
191205
```bash
192-
java -cp .;java-markdown-preview-all-1.0.2.jar Markdown
206+
java -cp .;java-markdown-preview-all-1.0.3.jar Markdown
193207
```
194208

195209
> Linux/macOS:
196210
```bash
197-
java -cp .:java-markdown-preview-all-1.0.2.jar Markdown
211+
java -cp .:java-markdown-preview-all-1.0.3.jar Markdown
198212
```
199213
---
200214

javafx-markdown-preview-all/pom.xml

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,18 @@
2525
<parent>
2626
<groupId>io.github.raghul-tech</groupId>
2727
<artifactId>javafx-markdown-preview-parent</artifactId>
28-
<version>1.0.2</version>
28+
<version>1.0.3</version>
2929
</parent>
3030

3131
<artifactId>javafx-markdown-preview-all</artifactId>
3232

33+
<packaging>jar</packaging>
34+
3335
<name>JavaFX Markdown Preview All</name>
3436
<description>
3537
A JavaFX Markdown Preview module bundled with Flexmark for Markdown rendering. This artifact provides a shaded JAR containing all necessary dependencies except JavaFX itself. Simply add your preferred JavaFX libraries as dependencies marked as provided. Includes utilities to display Markdown previews in WebView, VBox, Scene, Stage, and TabPane without requiring separate Flexmark installation.
3638
</description>
37-
39+
<url>https://github.com/raghul-tech/JavaFX-Markdown-Preview</url>
3840

3941
<dependencies>
4042
<!-- JavaFX marked as PROVIDED -->
@@ -123,33 +125,33 @@ A JavaFX Markdown Preview module bundled with Flexmark for Markdown rendering. T
123125
</executions>
124126
</plugin>
125127

126-
<!-- Source Jar -->
127-
<plugin>
128-
<groupId>org.apache.maven.plugins</groupId>
129-
<artifactId>maven-source-plugin</artifactId>
130-
<version>3.2.1</version>
131-
<executions>
132-
<execution>
133-
<id>attach-sources</id>
134-
<phase>package</phase>
135-
<goals><goal>jar</goal></goals>
136-
</execution>
137-
</executions>
138-
</plugin>
128+
<!-- Source Jar Plugin -->
129+
<plugin>
130+
<groupId>org.apache.maven.plugins</groupId>
131+
<artifactId>maven-source-plugin</artifactId>
132+
<version>3.2.1</version>
133+
<executions>
134+
<execution>
135+
<id>attach-sources</id>
136+
<phase>package</phase>
137+
<goals><goal>jar</goal></goals>
138+
</execution>
139+
</executions>
140+
</plugin>
139141

140-
<!-- Javadoc Jar -->
141-
<plugin>
142-
<groupId>org.apache.maven.plugins</groupId>
143-
<artifactId>maven-javadoc-plugin</artifactId>
144-
<version>3.6.3</version>
145-
<executions>
146-
<execution>
147-
<id>attach-javadocs</id>
148-
<phase>package</phase>
149-
<goals><goal>jar</goal></goals>
150-
</execution>
151-
</executions>
152-
</plugin>
153-
</plugins>
142+
<!-- Javadoc Jar Plugin -->
143+
<plugin>
144+
<groupId>org.apache.maven.plugins</groupId>
145+
<artifactId>maven-javadoc-plugin</artifactId>
146+
<version>3.6.3</version>
147+
<executions>
148+
<execution>
149+
<id>attach-javadocs</id>
150+
<phase>package</phase>
151+
<goals><goal>jar</goal></goals>
152+
</execution>
153+
</executions>
154+
</plugin>
155+
</plugins>
154156
</build>
155157
</project>

javafx-markdown-preview/pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@
2525
<parent>
2626
<groupId>io.github.raghul-tech</groupId>
2727
<artifactId>javafx-markdown-preview-parent</artifactId>
28-
<version>1.0.2</version>
28+
<version>1.0.3</version>
2929
</parent>
3030

3131
<artifactId>javafx-markdown-preview</artifactId>
3232

33+
<packaging>jar</packaging>
34+
3335
<name>JavaFX Markdown Preview</name>
3436
<description>
3537
A minimal JavaFX Markdown Preview library providing only the core source code. This module makes it easy to render live Markdown previews with real-time file watching. You can embed previews in a separate window, a Tab, a TabPane, or reuse the WebView component anywhere in your JavaFX application. Simple to integrate and customize. For usage examples and documentation, see the GitHub repository.
3638
</description>
39+
<url>https://github.com/raghul-tech/JavaFX-Markdown-Preview</url>
3740

3841

3942
<dependencies>

pom.xml

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

2525
<groupId>io.github.raghul-tech</groupId>
2626
<artifactId>javafx-markdown-preview-parent</artifactId>
27-
<version>1.0.2</version>
27+
<version>1.0.3</version>
2828
<packaging>pom</packaging>
2929

3030
<name>JavaFX Markdown Preview Parent</name>
@@ -53,7 +53,7 @@ Parent POM for JavaFX Markdown Preview – a modular JavaFX-based library for re
5353
<url>https://github.com/raghul-tech/JavaFX-Markdown-Preview</url>
5454
<connection>scm:git:git://github.com/raghul-tech/JavaFX-Markdown-Preview.git</connection>
5555
<developerConnection>scm:git:ssh://github.com:raghul-tech/JavaFX-Markdown-Preview.git</developerConnection>
56-
<tag>v1.0.2</tag>
56+
<tag>HEAD</tag>
5757
</scm>
5858

5959

0 commit comments

Comments
 (0)