Skip to content

Commit

Permalink
Preparing the release #120.
Browse files Browse the repository at this point in the history
  • Loading branch information
highsource committed May 31, 2018
1 parent c17e4e4 commit b05de13
Show file tree
Hide file tree
Showing 28 changed files with 60 additions and 154 deletions.
30 changes: 19 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# :boom: JAVA 9 ALERT :boom:

This branch builds a 0.13.3-SNAPSHOT version ([in `plugin`](plugin)) that requires the Java 9 compiler because the updated dependency `org.glassfish.jaxb:jaxb-xjc-jdk9` contains Java 9 bytecode.
The easiest way to use the new version's compiler is to set `JAVA_HOME`, e.g. in `~/.mavenrc`.
Even that build does not pass [the Java 9 test](tests/java-9), though, because it fails to process schema bindings.

***

# JAXB2 Maven Plugin #

Welcome to the `org.jvnet.jaxb2.maven2:maven-jaxb2-plugin`, the most advanced and feature-full Maven plugin for XML Schema compilation.
Expand All @@ -30,7 +22,7 @@ compiling XML Schemas (as well as WSDL, DTDs, RELAX NG) into Java classes in Mav
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.13.1</version>
<version>0.14.0</version>
<executions>
<execution>
<goals>
Expand All @@ -46,6 +38,22 @@ compiling XML Schemas (as well as WSDL, DTDs, RELAX NG) into Java classes in Mav
</project>
```

### JAXB Versions

If you need a specific JAXB version, you can explicitly use one of the following variants:

* `org.jvnet.jaxb2.maven2:maven-jaxb20-plugin` - JAXB 2.0.
* `org.jvnet.jaxb2.maven2:maven-jaxb21-plugin` - JAXB 2.1.
* `org.jvnet.jaxb2.maven2:maven-jaxb22-plugin` - JAXB 2.2.
* `org.jvnet.jaxb2.maven2:maven-jaxb23-plugin` - JAXB 2.3.
* `org.jvnet.jaxb2.maven2:maven-jaxb2-plugin` - "most actual version", at the moment same as `org.jvnet.jaxb2.maven2:maven-jaxb23-plugin`.

### Java versions

Supported Java versions are `1.7`, `1.8`, `9` (only `maven-jaxb2-plugin` and `maven-jaxb23-plugin`).

Java version `1.6` is no longer supported (since version `0.14.0`).

## [Documentation](https://github.com/highsource/maven-jaxb2-plugin/wiki) ##

Please refer to the [wiki](https://github.com/highsource/maven-jaxb2-plugin/wiki) for the full documentation.
Expand All @@ -68,6 +76,6 @@ This project is not developed, supported or in any other way affiliated with Apa

This project is also *not* developed by or affiliated with Oracle or Sun. Even if it is featured on [https://jaxb.java.net/](https://jaxb.java.net) pages,

**This plugin is in no way _official_ JAXB2 Maven plugin by Oracle.**
**This plugin is in no way _official_ JAXB2 Maven plugin by Sun or Oracle.**

This is a completely indepentent development. [I](https://github.com/highsource) am *not* an Oracle employee.
This is a completely indepentent development. [I](https://github.com/highsource) am *not* an Oracle employee.
Empty file removed TODO.md
Empty file.
4 changes: 0 additions & 4 deletions build-1.5.bat

This file was deleted.

4 changes: 0 additions & 4 deletions build-1.6.bat

This file was deleted.

4 changes: 0 additions & 4 deletions deploy-1.5.bat

This file was deleted.

4 changes: 0 additions & 4 deletions deploy-1.6.bat

This file was deleted.

5 changes: 0 additions & 5 deletions deploy.bat

This file was deleted.

5 changes: 0 additions & 5 deletions full-build-1.6.bat

This file was deleted.

4 changes: 0 additions & 4 deletions install-1.5.bat

This file was deleted.

4 changes: 0 additions & 4 deletions install-1.6.bat

This file was deleted.

4 changes: 0 additions & 4 deletions install-9.bat

This file was deleted.

4 changes: 2 additions & 2 deletions plugin-2.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions plugin-2.1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions plugin-2.2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions plugin-2.3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>9</source>
<target>9</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
Expand Down
4 changes: 2 additions & 2 deletions plugin-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>9</source>
<target>9</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions plugin/src/test/resources/test-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
Expand Down
79 changes: 0 additions & 79 deletions release.bat

This file was deleted.

4 changes: 2 additions & 2 deletions samples/catalog/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions samples/dtd/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions samples/episode/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions samples/jaxbplugins/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions samples/po/project-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
Expand Down
5 changes: 5 additions & 0 deletions tests/full-build-1.7.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
setlocal
echo Setting JAVA_HOME to %JAVA7_HOME%.
set JAVA_HOME=%JAVA7_HOME%
call mvn clean install -Pall -DperformRelease --fail-at-end
endlocal
5 changes: 5 additions & 0 deletions tests/full-build-1.8.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
setlocal
echo Setting JAVA_HOME to %JAVA8_HOME%.
set JAVA_HOME=%JAVA8_HOME%
call mvn clean install -Pall -DperformRelease --fail-at-end
endlocal
5 changes: 5 additions & 0 deletions tests/full-build-9.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
setlocal
echo Setting JAVA_HOME to %JAVA9_HOME%.
set JAVA_HOME=%JAVA9_HOME%
call mvn clean install -Pall -DperformRelease --fail-at-end
endlocal

0 comments on commit b05de13

Please sign in to comment.