Skip to content

Commit e3a2ee5

Browse files
update dependencies
1 parent 6e6cd0d commit e3a2ee5

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ gradlew
5959

6060
Some platforms may have packages available, find out about that on [Repology](https://repology.org/project/ebnf-convert/versions).
6161

62+
## ebnf-convert on Maven Central
63+
64+
ebnf-convert is available on Maven Central with groupId `de.bottlecaps.ebnf-convert` and artifactIds
65+
66+
- [`ebnf-convert-webapp`][ebnf-convert-webapp] for `ebnf-convert.war`,
67+
- [`ebnf-convert-lib`][ebnf-convert-lib] for `ebnf-convert.jar`, which can be added to other projects as a dependency.
68+
6269
## Thanks
6370

6471
This project makes use of
@@ -81,3 +88,5 @@ The official website for ebnf-convert is <https://www.bottlecaps.de/ebnf-convert
8188
[GRADLE-LICENSE-REPORT]: https://github.com/jk1/Gradle-License-Report
8289
[REx]: https://www.bottlecaps.de/rex
8390
[RR]: https://github.com/GuntherRademacher/rr
91+
[ebnf-convert-webapp]: https://central.sonatype.com/artifact/de.bottlecaps.ebnf-convert/ebnf-convert-webapp
92+
[ebnf-convert-lib]: https://central.sonatype.com/artifact/de.bottlecaps.ebnf-convert/ebnf-convert-lib

build.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ build.dependsOn 'distZip'
1515

1616
version = '0.71-SNAPSHOT'
1717
group = 'de.bottlecaps.ebnf-convert'
18+
19+
def project_name = "$project.name"
1820
def buildTime = new Date()
19-
def rrVersion = '2.3'
21+
def rrVersion = '2.5'
2022

2123
def generatedSrc = "$buildDir/generated-src/main"
2224

@@ -48,10 +50,10 @@ dependencies {
4850
compileOnly 'org.apache.tomcat:tomcat-servlet-api:8.5.100'
4951
compileOnly "de.bottlecaps.rr:rr-lib:$rrVersion"
5052

51-
implementation 'net.sf.saxon:Saxon-HE:12.5'
52-
implementation 'org.xmlresolver:xmlresolver:5.2.2'
53+
implementation 'net.sf.saxon:Saxon-HE:12.7'
54+
implementation 'org.xmlresolver:xmlresolver:5.3.3'
5355
implementation 'commons-fileupload:commons-fileupload:1.5'
54-
implementation 'commons-io:commons-io:2.18.0'
56+
implementation 'commons-io:commons-io:2.19.0'
5557
}
5658

5759
configurations.rrLib {
@@ -100,7 +102,7 @@ task generateSrc {
100102

101103
public class ConvertVersion
102104
{
103-
public static final String PROJECT_NAME = "$project.name";
105+
public static final String PROJECT_NAME = "$project_name";
104106
public static final String VERSION = "$version";
105107
public static final String DATE = "${new java.text.SimpleDateFormat("MMM dd, yyyy", Locale.US).format(buildTime)}";
106108
}
@@ -128,7 +130,7 @@ task generateLicense {
128130
def licenseTxt = new File("$buildDir", 'LICENSE.TXT')
129131
licenseTxt.parentFile.exists() || licenseTxt.parentFile.mkdirs()
130132
licenseTxt.withWriter {
131-
it << $/${project.name} - Grammar Converter
133+
it << $/${project_name} - Grammar Converter
132134

133135
Copyright 2011-$year Gunther Rademacher <grd@gmx.net>
134136

@@ -146,7 +148,7 @@ permissions and limitations under the License.
146148

147149
For third-party license information see THIRD-PARTY-NOTICES.txt.
148150

149-
Thank you for choosing ${project.name} - Grammar Converter.
151+
Thank you for choosing ${project_name} - Grammar Converter.
150152
/$
151153
}
152154
}

src/main/java/de/bottlecaps/convert/Convert.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public enum ParserImplementation
5252

5353
public static void main(String args[]) throws Exception
5454
{
55+
String maxElementDepth = "jdk.xml.maxElementDepth";
56+
if (System.getProperty(maxElementDepth) == null) {
57+
System.setProperty(maxElementDepth, "10000");
58+
}
59+
5560
int exitCode = 0;
5661

5762
try

0 commit comments

Comments
 (0)