Skip to content

Commit

Permalink
Add javadoc and source jars creation to pom.xml (#376)
Browse files Browse the repository at this point in the history
* fix javadoc16 errors
  • Loading branch information
wirew0rm committed Mar 5, 2021
1 parent 6d54883 commit d198469
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import de.gsi.dataset.utils.ProcessingProfiler;

/**
* <h1>Candlestick renderer</h1>
* <h2>Candlestick renderer</h2>
*<p>
* A candlestick chart (also called Japanese candlestick chart) is a style of financial chart used to describe price movements of a security,
* derivative, or currency.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import de.gsi.dataset.utils.ProcessingProfiler;

/**
* <h1>High-Low renderer (OHLC-V/OI Chart)</h1>
* <h2>High-Low renderer (OHLC-V/OI Chart)</h2>
*<p>
* An open-high-low-close chart (also OHLC) is a type of chart typically used to illustrate movements in the price of a financial instrument over time.
* Each vertical line on the chart shows the price range (the highest and lowest prices) over one unit of time, e.g., one day or one hour.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import de.gsi.dataset.DataSet;

/**
* <h1>Position renderer PaintAfter Extension Point</h1>
* <h2>Position renderer PaintAfter Extension Point</h2>
*<p>
* A position is the amount of a security, asset, or property that is owned (or sold short) by some individual or other entity.
* A trader or investor takes a position when they make a purchase through a buy order, signaling bullish intent; or if they sell short securities with bearish intent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
* The hidden node will appear (at its preferred width or height) with a short slide-in animation. The node will
* disappear again as soon as the mouse cursor exits it. A hidden node / side can also be pinned by calling
* {@link #setPinnedSide(Side)}. It will remain visible as long as it stays pinned.
* <h3>Screenshot</h3> The following screenshots shows the right side node hovering over a table after it was made
* <h2>Screenshot</h2> The following screenshots shows the right side node hovering over a table after it was made
* visible: <img src="hiddenSidesPane.png" alt="Screenshot of HiddenSidesPane">
* <h3>Code Sample</h3>
* <h2>Code Sample</h2>
*
* <pre>
* HiddenSidesPane pane = new HiddenSidesPane();
Expand Down Expand Up @@ -375,5 +375,4 @@ public final ObjectProperty<Node> topProperty() {
public final DoubleProperty triggerDistanceProperty() {
return triggerDistance;
}

}
4 changes: 2 additions & 2 deletions chartfx-chart/src/main/java/de/gsi/chart/ui/SidesPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
* The hidden node will appear (at its preferred width or height) with a short slide-in animation. The node will
* disappear again as soon as the mouse cursor exits it. A hidden node / side can also be pinned by calling
* {@link #setPinned(Side,Boolean)}. It will remain visible as long as it stays pinned.
* <h3>Screenshot</h3> The following screenshots shows the right side node hovering over a table after it was made
* <h2>Screenshot</h2> The following screenshots shows the right side node hovering over a table after it was made
* visible: <img src="hiddenSidesPane.png" alt="Screenshot of HiddenSidesPane">
* <h3>Code Sample</h3>
* <h2>Code Sample</h2>
*
* <pre>
* SidesPane pane = new SidesPane();
Expand Down
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,30 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit d198469

Please sign in to comment.