diff options
Diffstat (limited to 'maven/projects/newt/pom.sh')
-rwxr-xr-x | maven/projects/newt/pom.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/maven/projects/newt/pom.sh b/maven/projects/newt/pom.sh new file mode 100755 index 0000000..da45efc --- /dev/null +++ b/maven/projects/newt/pom.sh @@ -0,0 +1,37 @@ +#!/bin/sh + +if [ $# -lt 1 ] +then + echo "usage: version" 1>&2 + exit 1 +fi + +VERSION="$1" +shift + +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 newt.pom.sh, do not edit directly! --> + <!-- --> + + <modelVersion>4.0.0</modelVersion> + <groupId>org.jogamp.jogl</groupId> + <artifactId>newt</artifactId> + <version>${VERSION}</version> + <packaging>jar</packaging> + <name>JOGL</name> + <description>Java™ Binding for the OpenGL® API (NEWT atomic jar files)</description> + <url>http://jogamp.org/jogl/www/</url> + +EOF + +cat pom.in || exit 1 +cat <<EOF +</project> +EOF |