Skip to content

Commit

Permalink
Merge pull request #21 from EXIficient/after-jdk8
Browse files Browse the repository at this point in the history
Make it work for JDKs that no longer contain JAXB
  • Loading branch information
danielpeintner committed Mar 9, 2023
2 parents 77413b7 + 223fbca commit bcdc223
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2,179 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Currently we support the following mechanisms

1. Grammars serialized to JavaSourceCode (`class com.siemens.ct.exi.grammars.persistency.Grammars2JavaSourceCode` *explorative*)

2. Grammars serialized in XML (`class com.siemens.ct.exi.grammars.persistency.Grammars2X` *explorative*)
2. ~~Grammars serialized in XML (`class com.siemens.ct.exi.grammars.persistency.Grammars2X` *explorative*)~~ not supported anymore after v1.0.4 since JAXB dependencies are no longer available in recent JDKs

3. Grammars serialized in JSON (`class com.siemens.ct.exi.grammars.persistency.Grammars2JSON` *explorative*). See its use in https://github.com/EXIficient/exificient-for-json.

Expand Down
31 changes: 2 additions & 29 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@

<properties>
<!-- maven-compiler-plugin configuration -->
<maven.compiler.source>1.5</maven.compiler.source>
<maven.compiler.target>1.5</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand All @@ -92,10 +92,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -156,29 +152,6 @@
<tagNameFormat>v@{project.version}</tagNameFormat>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>exiGrammars</id>
<goals>
<goal>xjc</goal>
</goals>
<configuration>
<sources>
<source>src/main/resources/SchemaForGrammars.xsd</source>
</sources>
<packageName>com.siemens.ct.exi.grammars._2017.schemaforgrammars</packageName>
</configuration>
</execution>
</executions>
<configuration>
<addGeneratedAnnotation>false</addGeneratedAnnotation>
<locale>en</locale>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
Expand Down
Loading

0 comments on commit bcdc223

Please sign in to comment.