Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUREFIRE-1994] Upgrade javacc-maven-plugin, add setup instructions for Eclipse #453

Merged
merged 1 commit into from Feb 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 19 additions & 1 deletion README.md
Expand Up @@ -63,7 +63,25 @@ Build the Surefire project using **Maven 3.2.5+** and **JDK 1.8+**.
```
mvn install site site:stage -P reporting,run-its
```


* To set up the project in [Eclipse IDE](https://www.eclipse.org/), please follow these steps:

* Build module `surefire-shared-utils` with profile `ide-development` and install it into the local maven repository using this Maven command:
```
mvn install -P ide-development -f surefire-shared-utils/pom.xml
```
* Build module `surefire-grouper` in order to generate and compile sources into `target/generated-sources/javacc` using this Maven command:
```
mvn compile -f surefire-grouper/pom.xml
```
* In Eclipse, select _File > Import ... > Maven Project_

* Select all projects (poms) except `surefire-shared-utils`,
enter profile `ide-development` in _Advanced -> Profiles_
* Check module `surefire-grouper` has source folder `target/generated-sources/javacc`.
If not, add it manually in the module's project properties

* Setup for development in [IntelliJ IDEA](https://www.jetbrains.com/idea/) should work out of the box.

### Deploying web site

Expand Down
11 changes: 9 additions & 2 deletions surefire-grouper/pom.xml
Expand Up @@ -35,9 +35,9 @@
<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>
Expand All @@ -46,6 +46,13 @@
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.java.dev.javacc</groupId>
<artifactId>javacc</artifactId>
<version>7.0.10</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
Expand Down