aboutsummaryrefslogtreecommitdiffstats
path: root/make/pom.xml
blob: 21c37a5b72986b1d4d45b7a98300be7f3067b882 (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
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.jogamp.jogl</groupId>
    <artifactId>jogl</artifactId>
    <packaging>jar</packaging>
    <name>JOGL</name>
    <version>this pom is a stub, just to resolve dependencies</version>
    <description>Java™ Binding for the OpenGL® API</description>

    <repositories>
        <repository>
            <id>sonatype-nexus-snapshots</id>
            <snapshots/>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <artifactId>gluegen-rt-natives</artifactId>
            <groupId>org.jogamp.gluegen</groupId>
            <version>[1.0-beta07-SNAPSHOT,)</version> <!--TODO:exclude snapshot versions from this range-->
            <classifier>${envClassifier}-${os.arch}</classifier> <!--Can't use ${os.name} - it's uppercase-->
        </dependency>
        <dependency>
            <artifactId>gluegen-cpptasks</artifactId>
            <groupId>org.jogamp.gluegen</groupId>
            <version>[1.0-beta07-SNAPSHOT,)</version> <!--TODO:exclude snapshot versions from this range-->
        </dependency>
    </dependencies>

    <!--TODO: detect more OS types or inject encClassifier from ant-->
    <profiles>
        <profile>
            <id>windows</id>
            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>
            <properties>
                <envClassifier>windows</envClassifier>
            </properties>
        </profile>
        <profile>
            <id>linux</id>
            <activation>
                <os>
                    <family>unix</family>
                </os>
            </activation>
            <properties>
                <envClassifier>linux</envClassifier>
            </properties>
        </profile>
    </profiles>
</project>