From 66e677ea889d6f2441322670a199f05c9ae582f8 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Wed, 2 Dec 2009 15:30:06 +0100 Subject: Added it0021, disabled for now --- pom.xml | 26 +------- src/it/it0021-executable-dep-lib-3rdparty/pom.xml | 69 ++++++++++++++++++++++ .../src/main/c/HelloWorldExe.c | 9 +++ 3 files changed, 80 insertions(+), 24 deletions(-) create mode 100644 src/it/it0021-executable-dep-lib-3rdparty/pom.xml create mode 100644 src/it/it0021-executable-dep-lib-3rdparty/src/main/c/HelloWorldExe.c diff --git a/pom.xml b/pom.xml index c55d48b..2ee919c 100644 --- a/pom.xml +++ b/pom.xml @@ -162,30 +162,6 @@ install - - - @@ -243,12 +219,14 @@ it0003-jni/pom.xml it0007-lib-shared/pom.xml it0010-lib-static/pom.xml + it0020-lib-3rdparty/pom.xml */pom.xml it-parent/** + it0021-*/** ${project.build.directory}/it-repo src/it/settings.xml diff --git a/src/it/it0021-executable-dep-lib-3rdparty/pom.xml b/src/it/it0021-executable-dep-lib-3rdparty/pom.xml new file mode 100644 index 0000000..b39096b --- /dev/null +++ b/src/it/it0021-executable-dep-lib-3rdparty/pom.xml @@ -0,0 +1,69 @@ + + + + + + 4.0.0 + + + org.apache.maven.its.nar + it-parent + 1.0-SNAPSHOT + ../it-parent/pom.xml + + + it0021-executable-dep-lib-3rdparty + nar + + Maven NAR Executable dependent on 3rdParty Library + 1.0-SNAPSHOT + + Executable depending on a shared 3rd party library. + + + + true + + + + integration-test + + + maven-nar-plugin + true + + + + executable + true + + + + + + + + + org.apache.maven.its.nar + it0020-lib-3rdparty + 1.0-SNAPSHOT + + + diff --git a/src/it/it0021-executable-dep-lib-3rdparty/src/main/c/HelloWorldExe.c b/src/it/it0021-executable-dep-lib-3rdparty/src/main/c/HelloWorldExe.c new file mode 100644 index 0000000..4aa35d8 --- /dev/null +++ b/src/it/it0021-executable-dep-lib-3rdparty/src/main/c/HelloWorldExe.c @@ -0,0 +1,9 @@ +#include +#include "HelloWorldLib.h" + +int main(int argc, char *argv[]) { + printf("%s\n", HelloWorldLib_sayHello()); + return 0; +} + + -- cgit v1.2.3