diff options
-rw-r--r-- | bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml b/bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml index 0c44835a3..25369f8fd 100644 --- a/bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml +++ b/bundles/org.eclipse.equinox.security.linux.x86_64/pom.xml @@ -41,4 +41,37 @@ </plugin> </plugins> </build> + <profiles> + <profile> + <id>build-natives</id> + <activation> + <property> + <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( --> + <name>native</name> + <value>gtk.linux.x86_64</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>natives</id> + <phase>process-resources</phase> + <configuration> + <target> + <exec executable="make" newenvironment="false" dir="keystorelinuxnative/"/> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |