Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ReaderFactory.newXmlReader() instead of ISR in MavenHelper (#152)
- Loading branch information
Showing
4 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/test/resources/test-projects/pom-xml-encoding/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// https://github.com/CycloneDX/cyclonedx-gradle-plugin/issues/107 | ||
|
||
plugins { | ||
id 'org.cyclonedx.bom' | ||
id 'java' | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
mavenLocal() | ||
} | ||
|
||
group = 'com.example' | ||
version = '1.0.0' | ||
|
||
dependencies { | ||
// Has declaration with encoding: <?xml version="1.0" encoding="ISO-8859-1"?> | ||
implementation group: 'org.easymock', name: 'easymock', version: '3.4' | ||
} |
6 changes: 6 additions & 0 deletions
6
src/test/resources/test-projects/pom-xml-encoding/settings.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pluginManagement { | ||
repositories { | ||
mavenLocal() | ||
gradlePluginPortal() | ||
} | ||
} |