|
@@ -174,53 +174,4 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
-
|
|
|
- <profiles>
|
|
|
- <profile>
|
|
|
- <id>native</id>
|
|
|
- <activation>
|
|
|
- <activeByDefault>false</activeByDefault>
|
|
|
- </activation>
|
|
|
- <properties>
|
|
|
- <runningWithNative>true</runningWithNative>
|
|
|
- </properties>
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-antrun-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>make</id>
|
|
|
- <phase>compile</phase>
|
|
|
- <goals><goal>run</goal></goals>
|
|
|
- <configuration>
|
|
|
- <target>
|
|
|
- <mkdir dir="${project.build.directory}/native"/>
|
|
|
- <exec executable="cmake" dir="${project.build.directory}/native" failonerror="true">
|
|
|
- <arg line="${basedir}/src/main/native"/>
|
|
|
- </exec>
|
|
|
- <exec executable="make" dir="${project.build.directory}/native" failonerror="true"></exec>
|
|
|
- </target>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- <execution>
|
|
|
- <id>native_tests</id>
|
|
|
- <phase>test</phase>
|
|
|
- <goals><goal>run</goal></goals>
|
|
|
- <configuration>
|
|
|
- <skip>${skipTests}</skip>
|
|
|
- <target>
|
|
|
- <exec executable="make" dir="${project.build.directory}/native" failonerror="true">
|
|
|
- <arg line="test"/>
|
|
|
- </exec>
|
|
|
- </target>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- </profile>
|
|
|
- </profiles>
|
|
|
</project>
|