You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/01/29 19:25:47 UTC

[GitHub] [maven-surefire] Tibor17 commented on a change in pull request #453: [SUREFIRE-1994] Upgrade and configure javacc-maven-plugin, add src/generated/java to .gitignore

Tibor17 commented on a change in pull request #453:
URL: https://github.com/apache/maven-surefire/pull/453#discussion_r795085714



##########
File path: surefire-grouper/pom.xml
##########
@@ -32,18 +32,53 @@
   <name>Maven Surefire Test-Grouping Support</name>
   <description>Maven Surefire Test-Grouping Support</description>
 
+  <properties>
+    <javacc.version>7.0.10</javacc.version>
+    <generated.sources.dir>${project.basedir}/src/generated/java</generated.sources.dir>
+  </properties>
+
   <build>
     <plugins>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
+        <groupId>org.javacc.plugin</groupId>
         <artifactId>javacc-maven-plugin</artifactId>
-        <version>2.6</version>
+        <version>3.0.3</version>
         <executions>
           <execution>
             <id>javacc</id>
             <goals>
               <goal>javacc</goal>
             </goals>
+            <configuration>
+              <sourceDirectory>${project.basedir}/src/main/javacc</sourceDirectory>
+              <outputDirectory>${generated.sources.dir}</outputDirectory>

Review comment:
       @sman-81 
   Don;t modify default settings unless it is absolutely necessary.
   The old plugin is compliant with IDEs, the default layout, where generates sources appear in `target/generated-sources/javacc`.




-- 
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-unsubscribe@maven.apache.org

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