You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (Jira)" <ji...@apache.org> on 2022/01/30 02:07:00 UTC

[jira] [Comment Edited] (SUREFIRE-1994) Upgrade and configure javacc-maven-plugin in module surefire-grouper

    [ https://issues.apache.org/jira/browse/SUREFIRE-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484287#comment-17484287 ] 

Tibor Digana edited comment on SUREFIRE-1994 at 1/30/22, 2:06 AM:
------------------------------------------------------------------

[~spannjp]
You are really the first person. Everybody knows that we are Maven project, so first pls build the project with Maven (mvn instal -DskipTests).
Then the developers use Eclipse/IDEA whatever.
The point of this issue is to upgrade the version of a plugin.
In my IDEA I do not have red lines, nothing is missing and I am using the IDEA. If you have a problem with Eclipse, sorry I cannot help but everything should work.
The steps I do with Maven project:
1. I install the project without tests in IDEA.
2. I refresh the project and the IDEA creates internal project files.
The generated sources are located at {{target/generated-sources}} and IDEA can find them automatically. This folder exists in Maven for over one decade, so it is quite long time.
Regading javacc, not sure if any annotation prcessor exists, did not find any. The annotation processors are automatically recognized by IDEA. Maybe this would help, but building the module is normal case and if you consider that the Grouper module does not need to have much changes, it is minor issue to compile it once.



was (Author: tibor17):
[~spannjp]
You are really the first person. Everybody knows that we are Maven project, so first pls build the project with Maven (mvn instal -DskipTests).
Then the developers use Eclipse/IDEA whatever.
The point of this issue is to upgrade the version of a plugin.
In my IDEA I do not have red lines, nothing is missing and I am using the IDEA. If you have a problem with Eclipse, sorry I cannot help but everything should work.
The steps I do with Maven project:
1. I install the project without tests in IDEA.
2. I refresh the project and the IDEA creates internal project file.
The generated sources have are located at {{arget/generated-sources}} and IDEA can find them automatically. This folder exists in Maven for some decade, so it is quite long time and well known path.
Regading javacc, not sure if any annotation prcessor exists, did not find any. The annotation processors are automatically recognized by IDEA. Maybe this would help, but building the module is normal case and if you consider that the Grouper module does not need to have much changes, it is minor issue to compile it once.


> Upgrade and configure javacc-maven-plugin in module surefire-grouper
> --------------------------------------------------------------------
>
>                 Key: SUREFIRE-1994
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1994
>             Project: Maven Surefire
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-M5
>            Reporter: Markus Spann
>            Priority: Minor
>
> Maven module surefire-grouper uses *javacc-maven-plugin* to generate {{GroupMatcherParser}} and other Java sources.
> Upgrade the plugin to the new groupId (org.codehaus.mojo -> org.javacc.plugin) and latest version (2.6 -> 3.0.3).
> The plugin by default generates sources into {{{}target/generated-sources/javacc/{}}}. This location is inconvenient for the Eclipse IDE.
> Configure the plugin to write generated sources to {{src/generated/java}} (an often-used location for generated Java sources) and add this location as a source folder using {{{}build-helper-maven-plugin{}}}.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)