Skip to content

Commit da856b6

Browse files
🐛 Normally should allow us to install graph-core without having to clean first, to have aspectJ working.
Based on https://stackoverflow.com/questions/50238226/using-aspectj-annotations-in-maven-project-weaving-is-not-working
1 parent 317d140 commit da856b6

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
<name>Graph Core Next Generation</name>
1616

1717
<description>
18-
The Reactome Graph Project aims to model the Reactome knowledgebase into a interconnected graph. For more information visit the reactome github repository.
18+
The Reactome Graph Project aims to model the Reactome knowledgebase into a interconnected graph. For more
19+
information visit the reactome github repository.
1920
</description>
2021

2122
<url>https://github.com/reactome/graph-core</url>
@@ -39,7 +40,6 @@
3940
</developers>
4041

4142

42-
4343
<properties>
4444
<!--build-->
4545
<dependency.locations.enabled>false</dependency.locations.enabled>
@@ -171,6 +171,7 @@
171171
<configuration>
172172
<source>${java.version}</source>
173173
<target>${java.version}</target>
174+
<useIncrementalCompilation>false</useIncrementalCompilation>
174175
</configuration>
175176
</plugin>
176177

@@ -217,6 +218,17 @@
217218
<goal>test-compile</goal> <!-- use this goal to weave all your test classes -->
218219
</goals>
219220
</execution>
221+
<execution>
222+
<!-- IMPORTANT -->
223+
<phase>process-sources</phase>
224+
<configuration>
225+
<weaveMainSourceFolder>true</weaveMainSourceFolder>
226+
</configuration>
227+
<goals>
228+
<goal>compile</goal>
229+
<goal>test-compile</goal>
230+
</goals>
231+
</execution>
220232
</executions>
221233
<dependencies>
222234
<dependency>

0 commit comments

Comments
 (0)