Skip to content

Commit b2cf572

Browse files
committed
describe optional dependency on plexus-xml
1 parent 26f683a commit b2cf572

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ For publishing [the site](https://codehaus-plexus.github.io/plexus-utils/) do th
1414
mvn -Preporting verify site site:stage scm-publish:publish-scm
1515
```
1616

17-
Starting with version 4, XML classes (in `org.codehaus.plexus.util.xml` and `org.codehaus.plexus.util.xml.pull`) have been extracted to a separate [`plexus-xml`](https://github.com/codehaus-plexus/plexus-xml/) 4: if you need them, just use this new artifact.
17+
Starting with version 4, XML classes (in `org.codehaus.plexus.util.xml` and `org.codehaus.plexus.util.xml.pull`) have been extracted to a separate [`plexus-xml`](https://github.com/codehaus-plexus/plexus-xml/) library: if you need them, just use this new artifact.
18+
19+
`plexus-utils` 4 keeps an optional dependency on `plexus-xml` to keep compatibility with the few XML-oriented methods of `ReaderFactory` and `WriterFactory`: these classes are deprecated, you should migrate as explained in javadoc.

src/site/markdown/index.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Plexus Common Utilities
2+
3+
A collection of various utility classes to ease working with strings, files, command lines and more.
4+
5+
Starting with version 4, XML classes (in `org.codehaus.plexus.util.xml` and `org.codehaus.plexus.util.xml.pull`) have been extracted to a separate [`plexus-xml`](../plexus-xml/) library: if you need them, just use this new artifact.
6+
7+
`plexus-utils` 4 keeps an optional dependency on `plexus-xml` to keep compatibility with the few XML-oriented methods of [`ReaderFactory`](./apidocs/org/codehaus/plexus/util/ReaderFactory.html) and [`WriterFactory`](./apidocs/org/codehaus/plexus/util/WriterFactory.html): these classes are deprecated, you should migrate as explained in javadoc.

src/site/site.xml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
66
<body>
7+
<links>
8+
<item name="Plexus XML" href="../plexus-xml/" />
9+
</links>
710
<breadcrumbs>
811
<item name="Plexus" href="https://codehaus-plexus.github.io/"/>
912
<item name="Plexus Utils" href="https://codehaus-plexus.github.io/plexus-utils/"/>

0 commit comments

Comments
 (0)