diff options
author | Sven Gothel <[email protected]> | 2012-11-06 20:57:33 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-11-06 21:16:30 +0100 |
commit | bb3bb1247fb1fab05a85302dd9e5d57b769fcdbf (patch) | |
tree | 370c3efa0d2e4229feaa4ed8fdf8ad64d8660838 /maven/jogl-all-noawt-main.pom.sh | |
parent | 4fd161240a1616382c1b1f744bf31d2a9489437e (diff) |
Prepare repo merge
Diffstat (limited to 'maven/jogl-all-noawt-main.pom.sh')
-rwxr-xr-x | maven/jogl-all-noawt-main.pom.sh | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/maven/jogl-all-noawt-main.pom.sh b/maven/jogl-all-noawt-main.pom.sh new file mode 100755 index 0000000..f812807 --- /dev/null +++ b/maven/jogl-all-noawt-main.pom.sh @@ -0,0 +1,68 @@ + +#!/bin/sh + +if [ $# -ne 1 ] +then + echo "usage: version" 1>&2 + exit 1 +fi + +VERSION="$1" +shift +PLATFORMS=`cat make-platforms.txt | awk -F: '{print $1}'` || exit 1 + +cat <<EOF +<?xml version="1.0" encoding="UTF-8"?> +<project + xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <!-- --> + <!-- Auto generated by jogl-all-noawt-main.pom.sh, do not edit directly! --> + <!-- --> + + <modelVersion>4.0.0</modelVersion> + <groupId>org.jogamp.jogl</groupId> + <artifactId>jogl-all-noawt-main</artifactId> + <version>${VERSION}</version> + <packaging>jar</packaging> + <name>JOGL</name> + <description>Java™ Binding for the OpenGL® API (Without AWT)</description> + <url>http://jogamp.org/jogl/www/</url> + + <!-- --> + <!-- Explicitly depend on jogl-all-noawt, and all of the native binary jars --> + <!-- in jogl-all. --> + <!-- --> + + <dependencies> + <dependency> + <groupId>\${project.groupId}</groupId> + <artifactId>jogl-all-noawt</artifactId> + <version>\${project.version}</version> + </dependency> + +EOF + +for PLATFORM in ${PLATFORMS} +do + cat <<EOF + <dependency> + <groupId>\${project.groupId}</groupId> + <artifactId>jogl-all</artifactId> + <version>\${project.version}</version> + <classifier>natives-${PLATFORM}</classifier> + </dependency> +EOF +done + +cat <<EOF + </dependencies> + +EOF + +cat jogl.pom.in || exit 1 +cat <<EOF +</project> +EOF |