Skip to content

Commit

Permalink
#200: introduces 'app-tests' profile for optional execution of end2en…
Browse files Browse the repository at this point in the history
…dtests for win and linux
  • Loading branch information
rladstaetter committed May 1, 2024
1 parent a68a3c3 commit 515d2d7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 12 deletions.
19 changes: 13 additions & 6 deletions dist/dist-linux/installer-linux/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
<groupId>app.logorrr.dist.repackaged</groupId>
<artifactId>dist-repackaged</artifactId>
</dependency>
<!-- adds dependency to force app-tests to be run before proceeding with this module -->
<dependency>
<groupId>app.logorrr</groupId>
<artifactId>app-tests</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -97,4 +91,17 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>app-tests</id>
<dependencies>
<!-- adds dependency to force app-tests to be run before proceeding with this module -->
<dependency>
<groupId>app.logorrr</groupId>
<artifactId>app-tests</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
19 changes: 14 additions & 5 deletions dist/dist-win/installer-win-jre/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
<groupId>app.logorrr</groupId>
<artifactId>build</artifactId>
</dependency>
<dependency>
<groupId>app.logorrr</groupId>
<artifactId>app-tests</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
Expand Down Expand Up @@ -124,4 +119,18 @@
</plugins>
</build>

<profiles>
<profile>
<id>app-tests</id>
<dependencies>
<!-- adds dependency to force app-tests to be run before proceeding with this module -->
<dependency>
<groupId>app.logorrr</groupId>
<artifactId>app-tests</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
</profiles>

</project>
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,17 @@
<module>benchmarks</module>
</modules>
</profile>
<profile>
<id>app-tests</id>
<modules>
<module>app-tests</module>
</modules>
</profile>
</profiles>
<modules>
<module>core</module>
<module>build</module>
<module>app</module>
<module>app-tests</module>
<module>dist</module>
<module>docs</module>
</modules>
Expand Down

0 comments on commit 515d2d7

Please sign in to comment.