Releases: bsorrentino/maven-annotation-plugin
5.1
Generic changes
docs: update readme
5003422e7a1a45d bsorrentino 2024-04-12 15:46:06
build: update git ignore
859ae83b97aca4d bsorrentino 2024-04-12 15:45:54
Merge branch 'AndreaBaroncelli-unchanged_sources_check_fix' into develop
0b470ed27e50177 bsorrentino 2024-04-12 15:39:12
build: move to next developer version
51d6eba6a7edb21 bsorrentino 2024-04-12 15:24:24
Fixed unchanged sources check
- File .maven-processor-source-files.txt must be skipped in lastModified check (being just an extra file added for control purposes), especially because it is rewritten in method areSourceFilesSameAsPreviousRun, so its lastModified date is necessarily the most recent one, which causes method to always return true.
cda172bc544d4a7 Andrea Baroncelli 2024-04-11 14:31:25
5.0
build: change 'maven-plugin-annotations' dependency scope to provided
- resolve #102
07264bb831a3505 bsorrentino 2023-09-20 08:41:46
build: change maven artifact scope to provided
- resolve #102
946ef7b6838a614 bsorrentino 2023-09-19 07:15:55
refactor: add addMdules method allowing to compile version jdk8 on JVM9 runtime
465bc9a22656a90 bsorrentino 2023-09-15 09:36:57
refactor: remove unseless method
ff94eeb32398eda bsorrentino 2023-09-15 09:34:30
build: enable logging on maven execution
63c0d369ecc82ca bsorrentino 2023-09-15 09:25:48
build: add action manual trigger
07dd7fee8f6f086 bsorrentino 2023-09-15 09:22:35
Update deploy-snapshot.yaml
- build: add manual trigger
33f3687dc7790d7 bsorrentino 2023-09-15 09:20:57
fix: add addModules() to CompilationTask
- working on #102
6365c8608cf6760 bsorrentino 2023-09-15 09:08:55
feat: upgrade maven version
- maven.version from 3.5.4 to 3.6.0
- plexus.compiler.version from 2.8.3 to 2.13.0
- maven-compiler-plugin from 3.8.1 to 3.11.0
- maven-site-plugin from 3.8.2 to 3.12.1
- resolve #102
01d56255af7debf bsorrentino 2023-09-15 09:08:17
5.0-rc3
5.0-rc3
#96 Fix -processorpath joining char.
pr #96 apply fix
490d1cd4a8582bd bsorrentino 2021-07-11 18:18:26
5.0-rc2
v5.0-rc2
Generic changes
Adds support to -processorpath
- Ported from maven-compiler-plugin
7caf6b75ad90f0b Ulysses Rangel Ribeiro 2021-06-23 02:09:46
test multiple processSourceArtifacts
32f1daef7840113 bsorrentino 2021-03-06 11:07:43
set target directory for processSourceArtifacts to target/extracted-sources
46fd8bc6916a130 bsorrentino 2021-03-06 11:07:18
fix security issue
fca883f983ee8d2 bsorrentino 2021-03-06 10:28:29
#93 Error [URI scheme is not "file"] if some processSourceArtifacts are specified under verification
update test for issue #93
5f1a8b86e258d46 bsorrentino 2021-03-06 19:11:15
#95 Adds support to -processorpath work in progress
PR #95 - update javadoc
cb66d970a084eae bsorrentino 2021-06-28 16:26:26
PR #95 - replace DependencyCoordinate with org.apache.maven.model.Dependency
e7818daeed96576 bsorrentino 2021-06-28 16:25:06
PR #95 - update unit test
4b1261c644806d7 bsorrentino 2021-06-28 16:24:42
PR #95 - update unit test
c870d4168584665 Build Pipeline 2021-06-28 16:24:32
PR #95 - add unit test
3ab12884ca37d76 Build Pipeline 2021-06-28 16:24:23
PR #95 - add unit test
997cb599b8331aa Build Pipeline 2021-06-28 16:24:06
5.0-rc1
Next release
#91 Add Support of JEP 238: Multi-Release JAR Files enhancement
issue #91 - created ad-hoc pom for jdk8 asset deployment
5ca85b02a74abe3 bsorrentino 2021-01-31 17:09:17
issue #91 - created new DTS to separate JDK8 modules from JDK9+
74837a5fc077eb3 bsorrentino 2021-01-31 16:40:16
#92 Compiling Generated .java Into .class Files question under investigation
issue #92 - tests refinements
ed08c34b657b566 bsorrentino 2021-01-29 09:37:33
#93 Error [URI scheme is not "file"] if some processSourceArtifacts are specified under verification
issue #93
- added UnzipService to extract Source Artifacts to the file system
c3651eb678b6383 bsorrentino 2021-03-01 17:03:33
issue #93 - test for issue verification
dd57b08f851bec3 bsorrentino 2021-02-14 16:20:57
4.5
Generic changes
Bump junit from 4.13 to 4.13.1
- Bumps junit from 4.13 to 4.13.1.
- Signed-off-by: dependabot[bot] <[email protected]>
216fdcb2670c962 dependabot[bot] 2020-10-12 17:46:11
#88 Bump junit from 4.13 to 4.13.1 dependencies
merge PR #88
09f5891b057c736 bsorrentino 2020-11-11 13:54:22
#90 Encoding not applied when the compiler is forked bug
issue #90 pass encoding parameter to java compiler
8db490605285224 bsorrentino 2020-12-18 17:56:31
4.4
v4.4
Generic changes
refine integration test
692074de91c1440 bartolomeo sorrentino 2020-10-01 14:30:14
update debug message
9646e901989224d bartolomeo sorrentino 2020-10-01 14:29:27
Start work on 4.4-SNAPSHOT
cb7191dfff79390 Martijn Dashorst 2020-09-27 12:51:35
#86 File change detection doesn't detect removals
Detects file additions/deletions for skipping
- When you remove a file from the source tree, the modification checker
- doesn't take into account the removed file as an update. Because the
- file no longer exists, it doesn't have a modification date, and it will
- not count in determining whether the last generation was older than the
- modification in the sources.
- This commit detects source file modifications of the nature of
- additions and deletions by using a tracking file in the output folder
- (
.maven-processor-source-files.txt
). - This file contains a list of all the files in the source folders, which
- is checked against the current list of source files. When the file
- doesn't exist or if the sets of files don't match, it is treated as a
- change. When they match exactly, the modification time check is still
- run.
- A sample run without additions/removals in the source files:
-
- [DEBUG] (f) skipSourcesUnchanged = true
- [DEBUG] (f) sourceDirectory = /Users/dashorst/IdeaProjects/iridium/common/entities/src/main/java
- [DEBUG] -- end configuration --
- [DEBUG] Source directory: /Users/dashorst/IdeaProjects/iridium/common/entities/target/generated-sources/apt added
- [DEBUG] processing source directory [/Users/dashorst/IdeaProjects/iridium/common/entities/src/main/java]
- [DEBUG] removed source files: []
- [DEBUG] new source files: []
- [DEBUG] max source file date: 1601210991895, max output date: 1601211873845
- [INFO] no source file(s) change(s) detected! Processor task will be skipped
-
- When a file was removed:
-
- [DEBUG] (f) skipSourcesUnchanged = true
- [DEBUG] (f) sourceDirectory = /Users/dashorst/IdeaProjects/iridium/common/entities/src/main/java
- [DEBUG] -- end configuration --
- [DEBUG] Source directory: /Users/dashorst/IdeaProjects/iridium/common/entities/target/generated-sources/apt added
- [DEBUG] processing source directory [/Users/dashorst/IdeaProjects/iridium/common/entities/src/main/java]
- [DEBUG] removed source files: [/Users/dashorst/IdeaProjects/iridium/common/entities/src/main/java/nl/topicus/platinum/entities/Afdeling.java]
- [DEBUG] new source files: []
- [WARNING] No processors specified. Using default discovery mechanism.
- [DEBUG] javac option: -cp
-
- When the file is re-added:
-
- [DEBUG] (f) skipSourcesUnchanged = true
- [DEBUG] (f) sourceDirectory = /Users/dashorst/IdeaProjects/iridium/common/entities/src/main/java
- [DEBUG] -- end configuration --
- [DEBUG] Source directory: /Users/dashorst/IdeaProjects/iridium/common/entities/target/generated-sources/apt added
- [DEBUG] processing source directory [/Users/dashorst/IdeaProjects/iridium/common/entities/src/main/java]
- [DEBUG] removed source files: []
- [DEBUG] new source files: [/Users/dashorst/IdeaProjects/iridium/common/entities/src/main/java/nl/topicus/platinum/entities/Afdeling.java]
- [WARNING] No processors specified. Using default discovery mechanism.
- [DEBUG] javac option: -cp
-
- Fixes #86
1f6c708506ea959 Martijn Dashorst 2020-09-27 13:10:57
4.3
Maven Annotation Plugin - Changelog
v4.3
Generic changes
update site-maven-plugin version
c6dbeb9bb1e5709 bsorrentino 2020-08-05 16:15:28
#85 Utilize lastModified times of source and output to skip annotation processing work in progress
Implement lastModified check for sources
- The annotation processor should be able to skip the annotation
- processing if the sources haven't changed since the last processing.
- This will speed up project builds considerably since for example the
- JPA metamodel generator will not run if the entities haven't been
- modified, which will save the compiler of having to recompile your
- whole module.
- Using the option
skipWithoutSourceChanges
you can enable this - behavior. By default it is turned off to maintain the current behavior.
- This change doesn't track individual files, as there need not be a 1-1
- mapping between the origin of the annotation processor and the
- generated sources. The plugin rather determines from all source
- locations what the most recent last modified time is, and does the same
- for all the files in the output folder.
- This cuts down rebuild times on my current project by a half or so
- (going from over 2 minutes to just 1 minute).
30861dbad2fef67 Martijn Dashorst 2020-09-23 09:37:39
merged PR #85
- renamed property from 'skipWithoutSourceChanges' to 'skipSourcesUnchanged'
- put PR code in a new method 'isSourcesUnchanged( List<> allSources )'
2bf7bedb068e64d bsorrentino 2020-09-24 10:03:51
4.1
Generic changes
update for JAVA9 compliance
0fe1087cd76a421 bartolomeo sorrentino 2020-07-22 09:19:50
add test module
3db821f8c8e7225 bartolomeo sorrentino 2020-07-22 08:45:24
#82 New v4.0 does not support Java 8 bug under investigation
issue #82 - fix 'UnsupportedOperationException' on isSupportedOption invocation
e0adf9a03b61347 bartolomeo sorrentino 2020-07-28 13:09:24
4.1-jdk8
#82 New v4.0 does not support Java 8 bug under investigation
issue #82 - fix 'UnsupportedOperationException' on isSupportedOption invocation
3a072bfb140ae3c bartolomeo sorrentino 2020-07-28 13:31:23