diff options
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -50,6 +50,8 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>21</maven.compiler.source> <maven.compiler.target>21</maven.compiler.target> + <!-- Also works at the root of a linearized chapter checkout. --> + <simple.graph.directory>${project.basedir}/graph</simple.graph.directory> </properties> <dependencies> @@ -64,6 +66,21 @@ <build> <plugins> <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.4.0</version> + <executions> + <execution> + <id>shared-graph-sources</id> + <phase>generate-sources</phase> + <goals><goal>add-source</goal></goals> + <configuration> + <sources><source>${simple.graph.directory}/src/main/java</source></sources> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.1.2</version> |
