kriegaex commented on PR #255:
URL: 
https://github.com/apache/maven-javadoc-plugin/pull/255#issuecomment-1855273892

   > > I do think we need an integration test for this, or perhaps expanded 
unit test coverage. Without that we don't know that taglet paths now work.
   > 
   > You did not know before either. Like I said, feel free to write an IT. Do 
not abuse contributors to catch up with work that was not done when it was due 
for existing code.
   
   @elharo, I forgot to mention a detail: When you start writing ITs and want 
to keep the build running on both JDK 8 and JDK 9+ (CI builds currently run on 
8 and 17), enjoy implementing all sample taglets twice, once for the old Doclet 
API and again for the Doclet APi from JDK 9+, see [JEP 
221](https://openjdk.org/jeps/221). You can have the same fun I had when 
helping out a bit at Xalan-Java, creating [JDK-dependent Java 
profiles](https://github.com/apache/xalan-java/blob/9d0fd070e88474a96713b1c74bdfefcf89e04674/pom.xml#L46-L74)
 adding a [JDK 8 taglet 
module](https://github.com/apache/xalan-java/tree/xalan-java-mvn-refactored/xalan2jtaglet)
 for the old API and a [JDK 9+ 
one](https://github.com/apache/xalan-java/tree/xalan-java-mvn-refactored/xalan2jtaglet_jdk9)
 for the new API. All of this only to have sample code for ITs.
   
   Of course, this makes sense, but it is way off limits for this bugfix PR. 
Before anyone creates such ITs, the Maven Javadoc team should maybe first 
decide, if the small benefit of being able to still build (not run, only 
build!) the plugin on JDK 8 is worth the more than duplicate (because of extra 
profiles and distinction of cases) effort of creating and maintaining such ITs. 
After that decision, work on ITs can start in a separate PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to