From 1b3f5eb617863b4d4c2e1c29b48a1efba2bdf5ff Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Sat, 3 Oct 2009 14:53:01 +0200 Subject: Added test 3 --- src/it/it0002-executable-static/pom.xml | 71 ++++++++++++++++++++++ .../src/main/c/HelloWorldExe.c | 8 +++ 2 files changed, 79 insertions(+) create mode 100644 src/it/it0002-executable-static/pom.xml create mode 100644 src/it/it0002-executable-static/src/main/c/HelloWorldExe.c (limited to 'src/it/it0002-executable-static') diff --git a/src/it/it0002-executable-static/pom.xml b/src/it/it0002-executable-static/pom.xml new file mode 100644 index 0000000..42d4e8b --- /dev/null +++ b/src/it/it0002-executable-static/pom.xml @@ -0,0 +1,71 @@ + + + + + + 4.0.0 + + + org.apache.maven.its.nar + it-parent + 1.0-SNAPSHOT + ../it-parent/pom.xml + + + it0002-executable-static + nar + + Maven NAR Static Executable Test + 1.0-SNAPSHOT + + Simple executable statically linked with the c runtime + + + + + + integration-test + + + maven-nar-plugin + true + + static + + + executable + true + + + + + + maven-surefire-plugin + + true + + + + + diff --git a/src/it/it0002-executable-static/src/main/c/HelloWorldExe.c b/src/it/it0002-executable-static/src/main/c/HelloWorldExe.c new file mode 100644 index 0000000..d640602 --- /dev/null +++ b/src/it/it0002-executable-static/src/main/c/HelloWorldExe.c @@ -0,0 +1,8 @@ +#include + +int main(int argc, char *argv[]) { + printf("Helloworld\n"); + return 0; +} + + -- cgit v1.2.3