Single clean install to run the build with tests

This commit is contained in:
aboyko
2023-12-21 11:39:19 -05:00
committed by Alex Boyko
parent 14cf19551a
commit e9215183cf
4 changed files with 5 additions and 3 deletions

View File

@@ -8,9 +8,7 @@
**Parser** Parses Gradle project sources with a help of `GradleProjectData` fetched from Gradle Build process via Gradle Tooling API
## Building
Execute first `mvn clean install -DskipTests` to install **plugin** based on the latest sources into local Maven repository
Then execute `mvn clean install` - now tests would be able to find the **plugin** module for their execution.
Execute `mvn clean install` - **plugin** artifact should go in local maven repo
## Usage
See `ProjectParserTest` class under the tests of **parser** module

View File

@@ -25,6 +25,10 @@ import java.util.Objects;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Test requires spring rewrite gradle plugin available maven. Hence once model and plugin
* are built and installed parser is built and its tests are ran
*/
public class GradleProjectDataTest {
@Test