diff options
author | Mark Donszelmann <duns@ubuntu.(none)> | 2009-11-08 12:53:21 -0800 |
---|---|---|
committer | Mark Donszelmann <duns@ubuntu.(none)> | 2009-11-08 12:53:21 -0800 |
commit | 863a61657398cf3e3d34295c757276e09c6a0f74 (patch) | |
tree | b8b73b20be0844faede315fd931ab915db4bc2ca /src | |
parent | 61a6c410ce1aa476628dfcf4b0ec1fdf40306b4a (diff) | |
download | maven-nar-plugin-863a61657398cf3e3d34295c757276e09c6a0f74.tar.gz maven-nar-plugin-863a61657398cf3e3d34295c757276e09c6a0f74.tar.bz2 maven-nar-plugin-863a61657398cf3e3d34295c757276e09c6a0f74.tar.xz maven-nar-plugin-863a61657398cf3e3d34295c757276e09c6a0f74.zip |
Disable it0005 on unix-amd64, as it does not run
Diffstat (limited to 'src')
-rw-r--r-- | src/it/it0005-jni-static/pom.xml | 78 |
1 files changed, 59 insertions, 19 deletions
diff --git a/src/it/it0005-jni-static/pom.xml b/src/it/it0005-jni-static/pom.xml index ca72ed0..04fbe4e 100644 --- a/src/it/it0005-jni-static/pom.xml +++ b/src/it/it0005-jni-static/pom.xml @@ -43,23 +43,63 @@ under the License. <skipTests>true</skipTests> </properties> - <build> - <defaultGoal>install</defaultGoal> - <plugins> - <plugin> - <artifactId>maven-nar-plugin</artifactId> - <extensions>true</extensions> - <configuration> - <runtime>static</runtime> - <libraries> - <library> - <type>jni</type> - <narSystemPackage>it0005</narSystemPackage> - <linkCPP>false</linkCPP> - </library> - </libraries> - </configuration> - </plugin> - </plugins> - </build> + <profiles> + <profile> + <id>default</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <build> + <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <artifactId>maven-nar-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <runtime>static</runtime> + <libraries> + <library> + <type>jni</type> + <narSystemPackage>it0005</narSystemPackage> + <linkCPP>false</linkCPP> + </library> + </libraries> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + <!-- does not build on AMD64 as this platforms needs all static (libc included) libraries to be compiled with -fPIC + so, for now we build the shared version. --> + <profile> + <id>amd64</id> + <activation> + <os> + <family>unix</family> + <arch>amd64</arch> + </os> + </activation> + + <build> + <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <artifactId>maven-nar-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <libraries> + <library> + <type>jni</type> + <narSystemPackage>it0005</narSystemPackage> + <linkCPP>false</linkCPP> + </library> + </libraries> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> + </project> |