File tree 2 files changed +20
-23
lines changed
2 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 59
59
<source >8</source >
60
60
<target >8</target >
61
61
</configuration >
62
- </plugin >
62
+ <executions >
63
+ <execution >
64
+ <id >header-generation</id >
65
+ <phase >process-sources</phase >
66
+ <goals >
67
+ <goal >compile</goal >
68
+ </goals >
69
+ <configuration >
70
+ <compilerArgs >
71
+ <arg >-h</arg >
72
+ <arg >${project.build.directory} /native/javah</arg >
73
+ </compilerArgs >
74
+ <includes >
75
+ <include >org/checkpoint/CheckpointRestore.java</include >
76
+ </includes >
77
+ </configuration >
78
+ </execution >
79
+ </executions >
80
+ </plugin >
63
81
<plugin >
64
82
<artifactId >maven-surefire-plugin</artifactId >
65
83
<version >3.0.0-M5</version >
68
86
<forkNode implementation =" org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory" />
69
87
</configuration >
70
88
</plugin >
71
- <plugin >
72
- <groupId >org.codehaus.mojo</groupId >
73
- <artifactId >native-maven-plugin</artifactId >
74
- <version >1.0-alpha-11</version >
75
- <executions >
76
- <execution >
77
- <phase >process-classes</phase >
78
- <goals >
79
- <goal >javah</goal >
80
- </goals >
81
- <configuration >
82
- <javahIncludes >
83
- <javahInclude >
84
- <className >org.checkpoint.CheckpointRestore</className >
85
- <headerName >org_checkpoint_CheckpointRestore.hpp</headerName >
86
- </javahInclude >
87
- </javahIncludes >
88
- </configuration >
89
- </execution >
90
- </executions >
91
- </plugin >
92
89
<plugin >
93
90
<groupId >org.codehaus.mojo</groupId >
94
91
<artifactId >exec-maven-plugin</artifactId >
Original file line number Diff line number Diff line change 21
21
*/
22
22
23
23
24
- #include " org_checkpoint_CheckpointRestore.hpp "
24
+ #include " org_checkpoint_CheckpointRestore.h "
25
25
#include < criu.h>
26
26
#include < dirent.h>
27
27
#include < errno.h>
You can’t perform that action at this time.
0 commit comments