[Git][java-team/jboss-logging-tools][master] 3 commits: Disabled the @Generated annotations by default

Emmanuel Bourg gitlab at salsa.debian.org
Tue Jun 23 10:27:51 BST 2020



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / jboss-logging-tools


Commits:
432d264f by Emmanuel Bourg at 2020-06-23T11:23:51+02:00
Disabled the @Generated annotations by default

- - - - -
53235170 by Emmanuel Bourg at 2020-06-23T11:24:07+02:00
Standards-Version updated to 4.5.0

- - - - -
e66f99f0 by Emmanuel Bourg at 2020-06-23T11:24:49+02:00
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/03-disable-generated-annotation.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+jboss-logging-tools (2.2.1-2) unstable; urgency=medium
+
+  * Team upload.
+  * Disabled the @Generated annotations by default
+  * Standards-Version updated to 4.5.0
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 23 Jun 2020 11:24:42 +0200
+
 jboss-logging-tools (2.2.1-1) unstable; urgency=medium
 
   * New upstream version 2.2.1.


=====================================
debian/control
=====================================
@@ -15,7 +15,7 @@ Build-Depends:
  libmaven-javadoc-plugin-java,
  maven-debian-helper (>= 1.5),
  testng
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Vcs-Git: https://salsa.debian.org/java-team/jboss-logging-tools.git
 Vcs-Browser: https://salsa.debian.org/java-team/jboss-logging-tools
 Homepage: https://github.com/jboss-logging/jboss-logging-tools


=====================================
debian/patches/03-disable-generated-annotation.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Disables the @Generated annotations by default (do not compile with Java 9+)
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/processor/src/main/java/org/jboss/logging/processor/apt/LoggingToolsProcessor.java
++++ b/processor/src/main/java/org/jboss/logging/processor/apt/LoggingToolsProcessor.java
+@@ -186,7 +186,7 @@
+                 }
+             }
+         }
+-        final boolean addGeneratedAnnotation = Boolean.parseBoolean(processingEnv.getOptions().getOrDefault(ADD_GENERATED_ANNOTATION, "true"));
++        final boolean addGeneratedAnnotation = Boolean.parseBoolean(processingEnv.getOptions().getOrDefault(ADD_GENERATED_ANNOTATION, "false"));
+         boolean generate = true;
+         final Validator validator = new Validator(processingEnv);
+ 


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 java9.patch
 02-reproducible-generated-date.patch
+03-disable-generated-annotation.patch



View it on GitLab: https://salsa.debian.org/java-team/jboss-logging-tools/-/compare/196515bcdd8465aa0e3bada1a4ba029ece94343a...e66f99f0e86ff98d3582eaf231034d615e8bc192

-- 
View it on GitLab: https://salsa.debian.org/java-team/jboss-logging-tools/-/compare/196515bcdd8465aa0e3bada1a4ba029ece94343a...e66f99f0e86ff98d3582eaf231034d615e8bc192
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20200623/f3b22cd8/attachment.html>


More information about the pkg-java-commits mailing list