Skip to content

Commit 19af64c

Browse files
Fix site with new parent
1 parent 56c3d42 commit 19af64c

File tree

5 files changed

+17
-45
lines changed

5 files changed

+17
-45
lines changed

plexus-java/src/site/markdown/locationmanager.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This jar is a multi release jar (aka MRJAR), because it contains 2 implementatio
66

77
When extracting the the automatic module name based the of the file, it is a little bit more complex. The result must be precise, so the only way to solve this is by calling Java 9 code, either from the runtime or by calling Java 9 explicitly when provided via `ResolvePathsRequest.setJdkHome`.
88

9-
## Request
9+
# Request
1010

1111
The `LocationManager.resolvePaths()` only has one argument, `ResolvePathsRequest`. If there is more data required, the request will be extended so the method signature of `resolvePaths` will stay the same.
1212

@@ -30,7 +30,7 @@ Additional methods are:
3030

3131
- `setMainModuleDescriptor`, which can either be a `module-info.java` or `module-info.class`
3232

33-
## Phase 1: Collect
33+
# Phase 1: Collect
3434

3535
If there's a `mainModuleDescriptor`, extract a `JavaModuleDescriptor` of it. This might cause a `IOException` to be thrown.
3636

@@ -50,13 +50,13 @@ The result are a couple of Maps:
5050

5151
* module name to `JavaModuleDescriptor`
5252

53-
## Phase 2: Resolve
53+
# Phase 2: Resolve
5454

5555
If there's a `mainModuleDescriptor`, collect all its direct and indirect requirements.
5656
This contains recursive code and ensures that required modules are only evaluated once.
5757
All these pathElements must be placed on the modulepath, all other pathElements will be marked for the classPath.
5858

59-
## Result
59+
# Result
6060
All results will be stored in a `ResolvePathsResult`.
6161

6262
- `getClasspathElements()`, ordered collection of all pathElements that don't belong to the modulepath

plexus-java/src/site/markdown/usage.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
## LocationManager.resolvePaths
2+
# LocationManager.resolvePaths
33

44
In order to use this class you must setup a `ResolvePathsRequest`, which requires a list of all the jars and output directories and the main module descriptor.
55

@@ -25,13 +25,12 @@ The `ResolvePathsResult` contains:
2525

2626
* pathExceptions: pathElements with their exception while trying to resolve it. Only pathElements with an exception are listed.
2727

28-
## JavaVersion
28+
# JavaVersion
2929

3030
This is a String based, lazy-parsing implementation of a Java Version which can be used to compare versions. It's goal is to support to support the following patterns:
3131

32-
* [Java SE Naming and Versions](http://www.oracle.com/technetwork/java/javase/namechange-140185.html)
33-
* [JEP 223: New Version-String Scheme](http://openjdk.java.net/jeps/223)
34-
* [JEP 322: Time-Based Release Versioning](http://openjdk.java.net/jeps/322)
32+
* [JEP 223: New Version-String Scheme](https://openjdk.java.net/jeps/223)
33+
* [JEP 322: Time-Based Release Versioning](https://openjdk.java.net/jeps/322)
3534

3635
Additional features:
3736

plexus-java/src/site/site.xml

+4-5
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,18 @@ specific language governing permissions and limitations
1919
under the License.
2020
-->
2121

22-
<project xmlns="http://maven.apache.org/DECORATION/1.8.0"
23-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24-
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd">
22+
<site xmlns="http://maven.apache.org/SITE/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23+
xsi:schemaLocation="http://maven.apache.org/SITE/2.0.0 https://maven.apache.org/xsd/site-2.0.0.xsd">
2524
<body>
2625
<menu name="Overview">
2726
<item name="Introduction" href="index.html"/>
2827
<item name="Usage" href="usage.html"/>
28+
<item name="LocationManager" href="locationmanager.html"/>
2929
<item name="JavaDocs" href="apidocs/index.html"/>
3030
<item name="Source Xref" href="xref/index.html"/>
31-
<!--item name="FAQ" href="faq.html"/-->
3231
</menu>
3332

3433
<menu ref="parent"/>
3534
<menu ref="reports"/>
3635
</body>
37-
</project>
36+
</site>

pom.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@
2727
</scm>
2828
<issueManagement>
2929
<system>github</system>
30-
<url>http://github.com/codehaus-plexus/plexus-languages/issues</url>
30+
<url>https://github.com/codehaus-plexus/plexus-languages/issues</url>
3131
</issueManagement>
32+
<ciManagement>
33+
<system>GitHub</system>
34+
<url>https://github.com/codehaus-plexus/plexus-languages/actions</url>
35+
</ciManagement>
3236
<distributionManagement>
3337
<site>
3438
<id>github:gh-pages</id>

src/site/site.xml

-30
This file was deleted.

0 commit comments

Comments
 (0)