diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 4000f8c4..4c09c8a7 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -7,6 +7,6 @@ jobs: update_release_draft: runs-on: ubuntu-latest steps: - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index a956a58a..8877b7ef 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,6 @@ For publishing [the site](https://codehaus-plexus.github.io/plexus-utils/) do th mvn -Preporting verify site site:stage scm-publish:publish-scm ``` -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. +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. + +`plexus-utils` 4 keeps an optional dependency on `plexus-xml` 3 to keep compatibility with the few XML-oriented methods of `ReaderFactory` and `WriterFactory`: these classes are deprecated, you should migrate as explained in javadoc. And keep `plexus-xml` to 3 if you want Maven 3 compatibility, as `plexus-xml` 4 works only in Maven 4. diff --git a/pom.xml b/pom.xml index 2e45695f..c8904ebb 100644 --- a/pom.xml +++ b/pom.xml @@ -20,25 +20,26 @@ limitations under the License. org.codehaus.plexus plexus - 13 + 17 plexus-utils - 4.0.0 + 4.0.1 Plexus Common Utilities A collection of various utility classes to ease working with strings, files, command lines and more. + https://codehaus-plexus.github.io/plexus-utils/ scm:git:https://github.com/codehaus-plexus/plexus-utils.git ${project.scm.connection} - plexus-utils-4.0.0 - https://github.com/codehaus-plexus/plexus-utils/tree/master/ + plexus-utils-4.0.1 + https://github.com/codehaus-plexus/plexus-utils/tree/${project.scm.tag}/ github - http://github.com/codehaus-plexus/plexus-utils/issues + https://github.com/codehaus-plexus/plexus-utils/issues @@ -48,63 +49,26 @@ limitations under the License. - 2023-05-22T15:13:56Z + 2024-04-13T09:06:44Z org.codehaus.plexus plexus-xml - 4.0.0 + 3.0.0 + true org.junit.jupiter - junit-jupiter - 5.9.2 + junit-jupiter-api test - - - - false - - - true - - oss.snapshots - https://oss.sonatype.org/content/repositories/plexus-snapshots/ - - - - - - - org.apache.maven.plugins - maven-resources-plugin - 3.3.1 - - - - - maven-compiler-plugin - - - default-compile - - compile - - - 1.8 - 1.8 - - - - org.apache.maven.plugins maven-scm-publish-plugin diff --git a/src/main/java/org/codehaus/plexus/util/AbstractScanner.java b/src/main/java/org/codehaus/plexus/util/AbstractScanner.java index a10f43c7..d650c6df 100644 --- a/src/main/java/org/codehaus/plexus/util/AbstractScanner.java +++ b/src/main/java/org/codehaus/plexus/util/AbstractScanner.java @@ -41,7 +41,7 @@ public abstract class AbstractScanner implements Scanner { *
  • Mac: **/.DS_Store
  • *
  • Serena Dimension: **/.metadata, **/.metadata/**
  • *
  • Mercurial: **/.hg, **/.hg/**
  • - *
  • Git: **/.git, **/.git/**
  • + *
  • Git: **/.git, **/.git/**, **/.gitignore
  • *
  • Bitkeeper: **/BitKeeper, **/BitKeeper/**, **/ChangeSet, * **/ChangeSet/**
  • *
  • Darcs: **/_darcs, **/_darcs/**, **/.darcsrepo, @@ -106,6 +106,7 @@ public abstract class AbstractScanner implements Scanner { // git "**/.git", "**/.git/**", + "**/.gitignore", // BitKeeper "**/BitKeeper", diff --git a/src/site/markdown/index.md b/src/site/markdown/index.md new file mode 100644 index 00000000..d8eff619 --- /dev/null +++ b/src/site/markdown/index.md @@ -0,0 +1,7 @@ +## Plexus Common Utilities + +A collection of various utility classes to ease working with strings, files, command lines and more. + +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. + +`plexus-utils` 4 keeps an optional dependency on `plexus-xml` 3 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. And keep `plexus-xml` to 3 if you want Maven 3 compatibility, as `plexus-xml` 4 works only in Maven 4.. diff --git a/src/site/site.xml b/src/site/site.xml index 38cbad8a..0d5a3d79 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -4,6 +4,14 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0%20http://maven.apache.org/xsd/decoration-1.0.0.xsd"> + + + + + + + +