summaryrefslogtreecommitdiffstats
path: root/maven/projects/gluegen-rt-main/pom.sh
blob: 92c2867a4b12f15a51482348c26a449016d3c0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#!/bin/sh

if [ $# -lt 2 ]
then
  echo "usage: version projects+" 1>&2
  exit 1
fi

VERSION="$1"
shift
PLATFORMS="$@"

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 gluegen-rt-main.pom.sh, do not edit directly! -->
  <!--                                                                 -->

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.jogamp.gluegen</groupId>
  <artifactId>gluegen-rt-main</artifactId>
  <version>${VERSION}</version>
  <packaging>jar</packaging>
  <name>GlueGen Runtime</name>
  <description>JNI binding generator (runtime)</description>
  <url>http://jogamp.org/gluegen/www/</url>

  <!--                                                                     -->
  <!-- Explicitly depend on gluegen-rt, and all of its native binary jars. -->
  <!--                                                                     -->

  <dependencies>
    <dependency>
      <groupId>\${project.groupId}</groupId>
      <artifactId>gluegen-rt</artifactId>
      <version>\${project.version}</version>
    </dependency>

EOF

for PLATFORM in ${PLATFORMS}
do
  cat <<EOF
    <dependency>
      <groupId>\${project.groupId}</groupId>
      <artifactId>gluegen-rt</artifactId>
      <version>\${project.version}</version>
      <classifier>natives-${PLATFORM}</classifier>
    </dependency>
EOF
done

cat <<EOF
    <dependency>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>
      <version>2.7.7</version>
    </dependency>
  </dependencies>

  <scm>
    <url>http://jogamp.org/git/?p=gluegen.git/</url>
    <connection>scm:git:http://jogamp.org/git/gluegen.git/</connection>
    <developerConnection>scm:git:http://jogamp.org/git/gluegen.git/</developerConnection>
  </scm>

  <licenses>
    <license>
      <name>BSD-2 License</name>
      <url>http://www.opensource.org/licenses/BSD-2-Clause</url>
    </license>
    <license>
      <name>BSD-3 License</name>
      <url>http://www.opensource.org/licenses/BSD-3-Clause</url>
    </license>
    <license>
      <name>BSD-4 License</name>
      <url>http://www.spdx.org/licenses/BSD-4-Clause</url>
    </license>
  </licenses>

  <developers>
    <developer>
      <id>sgothel</id>
      <name>Sven Gothel</name>
      <email>sgothel@jausoft.com</email>
      <url>http://blog.jausoft.com</url>
    </developer>
  </developers>

  <issueManagement>
    <url>http://jogamp.org/bugzilla/</url>
    <system>Bugzilla</system>
  </issueManagement>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>1.4</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ssh</artifactId>
        <version>2.4</version>
      </extension>
    </extensions>
  </build>
EOF

# cat ../gluegen/pom.in || exit 1
cat <<EOF
</project>
EOF