Jogamp
f688278f0fa4429a48fb7dd537ee4fe551249c4f
[users/sgothel/jake2.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
6   <modelVersion>4.0.0</modelVersion>
7
8   <groupId>org.emergent.jake2</groupId>
9   <artifactId>jake2</artifactId>
10   <version>1.0-SNAPSHOT</version>
11
12   <properties>
13     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15     <jake.test.skip>true</jake.test.skip>
16     <jake.javac.source>1.6</jake.javac.source>
17     <jake.javac.target>${jake.javac.source}</jake.javac.target>
18     <jogamp.version>2.0-rc11</jogamp.version>
19     <jogamp.natives.os>foo</jogamp.natives.os>
20     <jogamp.natives.arch>bar</jogamp.natives.arch>
21     <jogamp.natives.classifier>natives-${jogamp.natives.os}-${jogamp.natives.arch}</jogamp.natives.classifier>
22   </properties>
23
24   <dependencies>
25     <dependency>
26       <groupId>org.jogamp.jogl</groupId>
27       <artifactId>jogl-all</artifactId>
28       <version>${jogamp.version}</version>
29     </dependency>
30     <dependency>
31       <groupId>org.jogamp.jogl</groupId>
32       <artifactId>jogl-all</artifactId>
33       <version>${jogamp.version}</version>
34       <classifier>${jogamp.natives.classifier}</classifier>
35     </dependency>
36     <dependency>
37       <groupId>org.jogamp.gluegen</groupId>
38       <artifactId>gluegen-rt</artifactId>
39       <version>${jogamp.version}</version>
40     </dependency>
41     <dependency>
42       <groupId>org.jogamp.gluegen</groupId>
43       <artifactId>gluegen-rt</artifactId>
44       <version>${jogamp.version}</version>
45       <classifier>${jogamp.natives.classifier}</classifier>
46     </dependency>
47     <dependency>
48       <groupId>org.jogamp.joal</groupId>
49       <artifactId>joal</artifactId>
50       <version>${jogamp.version}</version>
51     </dependency>
52     <dependency>
53       <groupId>org.jogamp.joal</groupId>
54       <artifactId>joal</artifactId>
55       <version>${jogamp.version}</version>
56       <classifier>${jogamp.natives.classifier}</classifier>
57     </dependency>
58     <dependency>
59       <groupId>org.testng</groupId>
60       <artifactId>testng</artifactId>
61       <version>6.3.1</version>
62       <scope>test</scope>
63     </dependency>
64   </dependencies>
65
66   <build>
67     <sourceDirectory>src</sourceDirectory>
68     <resources>
69       <resource>
70         <directory>src</directory>
71         <excludes>
72           <exclude>**/*.java</exclude>
73         </excludes>
74       </resource>
75       <resource>
76         <directory>resources</directory>
77       </resource>
78     </resources>
79     <testSourceDirectory>test</testSourceDirectory>
80     <testResources>
81       <testResource>
82         <directory>test</directory>
83         <excludes>
84           <exclude>**/*.java</exclude>
85         </excludes>
86       </testResource>
87     </testResources>
88     <plugins>
89       <plugin>
90         <artifactId>maven-compiler-plugin</artifactId>
91         <version>3.0</version>
92         <configuration>
93           <source>${jake.javac.source}</source>
94           <target>${jake.javac.target}</target>
95           <fork>true</fork>
96           <maxmem>512</maxmem>
97           <compilerArgument>-Xlint:all</compilerArgument>
98           <skip>${jake.test.skip}</skip>
99         </configuration>
100       </plugin>
101       <plugin>
102         <artifactId>maven-jar-plugin</artifactId>
103         <version>2.4</version>
104         <configuration>
105           <archive>
106             <manifest>
107               <mainClass>jake2.Jake2</mainClass>
108               <addClasspath>true</addClasspath>
109             </manifest>
110           </archive>
111         </configuration>
112       </plugin>
113       <plugin>
114         <artifactId>maven-dependency-plugin</artifactId>
115         <version>2.6</version>
116         <executions>
117           <execution>
118             <id>copy-dependencies</id>
119             <phase>package</phase>
120             <goals>
121               <goal>copy-dependencies</goal>
122             </goals>
123             <configuration>
124               <includeScope>runtime</includeScope>
125               <outputDirectory>${project.build.directory}</outputDirectory>
126               <overWriteReleases>false</overWriteReleases>
127               <overWriteSnapshots>false</overWriteSnapshots>
128               <overWriteIfNewer>true</overWriteIfNewer>
129             </configuration>
130           </execution>
131         </executions>
132       </plugin>
133       <plugin>
134         <artifactId>maven-surefire-plugin</artifactId>
135         <version>2.12.4</version>
136         <configuration>
137           <redirectTestOutputToFile>true</redirectTestOutputToFile>
138         </configuration>
139       </plugin>
140     </plugins>
141     <finalName>${project.artifactId}</finalName>
142   </build>
143
144   <profiles>
145     <profile>
146       <id>linux</id>
147       <activation>
148         <os>
149           <family>linux</family>
150         </os>
151       </activation>
152       <properties>
153         <jogamp.natives.os>linux</jogamp.natives.os>
154       </properties>
155     </profile>
156     <profile>
157       <id>windows</id>
158       <activation>
159         <os>
160           <family>windows</family>
161         </os>
162       </activation>
163       <properties>
164         <jogamp.natives.os>windows</jogamp.natives.os>
165       </properties>
166     </profile>
167     <profile>
168       <id>i586</id>
169       <activation>
170         <os>
171           <arch>i586</arch>
172         </os>
173       </activation>
174       <properties>
175         <jogamp.natives.arch>i586</jogamp.natives.arch>
176       </properties>
177     </profile>
178     <profile>
179       <id>amd64</id>
180       <activation>
181         <os>
182           <arch>amd64</arch>
183         </os>
184       </activation>
185       <properties>
186         <jogamp.natives.arch>amd64</jogamp.natives.arch>
187       </properties>
188     </profile>
189     <profile>
190       <id>macosx</id>
191       <activation>
192         <os>
193           <family>mac</family>
194         </os>
195       </activation>
196       <properties>
197         <jogamp.natives.os>macosx</jogamp.natives.os>
198         <jogamp.natives.arch>universal</jogamp.natives.arch>
199       </properties>
200     </profile>
201   </profiles>
202
203 </project>
http://JogAmp.org git info: FAQ, tutorial and man pages.