Skip to content

Commit

Permalink
Merge branch 'release/4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Jul 18, 2020
2 parents 9ad2634 + dd12853 commit 1d8d453
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 12 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,27 @@
<!-- Changelog for bsorrentino maven-annotation-plugin. -->

## Next release
### [#81](https://github.com/bsorrentino/maven-annotation-plugin/issues/81) Compilation errors ignored during processing *under investigation*

**issue #81 add compilation result**


[85ba56d3b87e40a](https://github.com/bsorrentino/maven-annotation-plugin/commit/85ba56d3b87e40a) bartolomeo sorrentino *2020-07-17 13:19:03*


## v4.0-rc1
### Generic changes

**update readme**


[2262a4d28954925](https://github.com/bsorrentino/maven-annotation-plugin/commit/2262a4d28954925) bsorrentino *2020-04-17 16:16:12*

**update chagelog**


[d444f63f9c4bed9](https://github.com/bsorrentino/maven-annotation-plugin/commit/d444f63f9c4bed9) bartolomeo sorrentino *2020-04-17 15:40:13*

**move to next release version**


Expand Down Expand Up @@ -51,7 +70,7 @@
[785c31b31785d2f](https://github.com/bsorrentino/maven-annotation-plugin/commit/785c31b31785d2f) bsorrentino *2020-03-02 19:59:10*


### [#80](https://github.com/bsorrentino/maven-annotation-plugin/issues/80) How to exclude module-info.java file? *work in progress*
### [#80](https://github.com/bsorrentino/maven-annotation-plugin/issues/80) How to exclude module-info.java file?

**issue #80**

Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,15 @@ This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.

* [ANNOTATION PROCESSING 101](http://hannesdorfmann.com/annotation-processing/annotationprocessing101)


## Snapshot

Date | Info
--- | ---
Currently | **[Release 4.0-SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/bsc/maven/maven-processor-plugin/4.0-SNAPSHOT/)** | available from **[MAVEN CENTRAL REPO]** |

## Releases

Date | Info
--- | ---

**Jul 18, 2020** | [Release 4.0](https://github.com/bsorrentino/maven-annotation-plugin/releases/tag/v4.0)
**Apr 17, 2020** | [Release 4.0-rc1](https://github.com/bsorrentino/maven-annotation-plugin/releases/tag/v4.0-rc1)
**Mar 02, 2020** | [Release 4.0-beta1](https://github.com/bsorrentino/maven-annotation-plugin/releases/tag/v4.0-beta1)


## History


Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin-parent</artifactId>
<packaging>pom</packaging>
<<<<<<< HEAD
<version>4.0-SNAPSHOT</version>
=======
<version>4.0</version>
>>>>>>> release/4.0
<name>MAVEN PROCESSOR PLUGIN PARENT</name>
<description>A maven plugin to process annotation for jdk6 at compile time

Expand Down
4 changes: 4 additions & 0 deletions processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ This plugin could be considered the 'alter ego' of maven apt plugin http://mojo.
<parent>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin-parent</artifactId>
<<<<<<< HEAD
<version>4.0-SNAPSHOT</version>
=======
<version>4.0</version>
>>>>>>> release/4.0
</parent>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private AnnotationProcessorCompiler( Toolchain toolchain,
}


private void execute( final Iterable<String> options,
private boolean execute( final Iterable<String> options,
final Iterable<? extends JavaFileObject> compilationUnits,
final Writer w ) throws Exception
{
Expand Down Expand Up @@ -389,6 +389,8 @@ else if( "--release".equals(option) ) {
result = PlexusJavaCompilerWithOutput.INSTANCE.performCompile(javacConf);

out.println( result.toString() ); out.flush();

return result.isSuccess();
}

@Override
Expand Down Expand Up @@ -420,8 +422,7 @@ public void addModules(Iterable<String> moduleNames) {
@Override
public Boolean call() {
try {
execute(options, compilationUnits, out);
return true;
return execute(options, compilationUnits, out);
} catch (final Exception ex) {
diagnosticListener.report( new Diagnostic<JavaFileObject>() {
@Override
Expand Down
4 changes: 4 additions & 0 deletions utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@
<parent>
<groupId>org.bsc.maven</groupId>
<artifactId>maven-processor-plugin-parent</artifactId>
<<<<<<< HEAD
<version>4.0-SNAPSHOT</version>
=======
<version>4.0</version>
>>>>>>> release/4.0
</parent>

<properties>
Expand Down

0 comments on commit 1d8d453

Please sign in to comment.