[
https://issues.apache.org/jira/browse/SUREFIRE-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17484327#comment-17484327
]
Tibor Digana commented on SUREFIRE-1994:
----------------------------------------
[~spannjp]
In pased we removed the M2Eclipse plugin from a profile because it was obsolete
and it does not exist now, see https://www.eclipse.org/m2e/
Today the installation instructions of M2E are different, see
https://github.com/eclipse-m2e/m2e-core/blob/master/README.md#-installation
The following plugin was the history:
{noformat}
<profile>
<id>m2e</id>
<properties>
<m2BuildDirectory>target</m2BuildDirectory>
</properties>
<activation>
<property>
<name>m2e.version</name>
</property>
</activation>
<build>
<directory>${m2BuildDirectory}</directory>
<plugins>
<plugin>
<groupId>org.maven.ide.eclipse</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>0.10.0</version>
<configuration>
<mappingId>customizable</mappingId>
<configurators>
<configurator id="org.maven.ide.eclipse.jdt.javaConfigurator" />
<configurator
id="org.maven.ide.eclipse.modello.modelloConfigurator" />
<configurator
id="org.maven.ide.eclipse.plexus.annotations.plexusConfigurator" />
</configurators>
<mojoExecutions>
<mojoExecution>org.apache.maven.plugins:maven-resources-plugin::</mojoExecution>
</mojoExecutions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
{noformat}
> 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)