Jogamp
pom clean target.
[users/sgothel/jake2.git] / pom.xml
CommitLineData
d9f287d7
PW
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>
7f53d762
PW
114 <artifactId>maven-clean-plugin</artifactId>
115 <version>2.5</version>
116 <configuration>
117 <filesets>
118 <fileset>
119 <directory>${project.basedir}</directory>
120 <followSymlinks>false</followSymlinks>
121 <includes>
122 <include>build/**</include>
123 <include>dist/**</include>
124 <include>Jake2-cvs-install.jar</include>
125 </includes>
126 </fileset>
127 </filesets>
128 </configuration>
129 </plugin>
130 <plugin>
d9f287d7
PW
131 <artifactId>maven-dependency-plugin</artifactId>
132 <version>2.6</version>
133 <executions>
134 <execution>
135 <id>copy-dependencies</id>
136 <phase>package</phase>
137 <goals>
138 <goal>copy-dependencies</goal>
139 </goals>
140 <configuration>
141 <includeScope>runtime</includeScope>
142 <outputDirectory>${project.build.directory}</outputDirectory>
143 <overWriteReleases>false</overWriteReleases>
144 <overWriteSnapshots>false</overWriteSnapshots>
145 <overWriteIfNewer>true</overWriteIfNewer>
146 </configuration>
147 </execution>
148 </executions>
149 </plugin>
150 <plugin>
151 <artifactId>maven-surefire-plugin</artifactId>
152 <version>2.12.4</version>
153 <configuration>
154 <redirectTestOutputToFile>true</redirectTestOutputToFile>
155 </configuration>
156 </plugin>
157 </plugins>
158 <finalName>${project.artifactId}</finalName>
159 </build>
160
161 <profiles>
162 <profile>
163 <id>linux</id>
164 <activation>
165 <os>
166 <family>linux</family>
167 </os>
168 </activation>
169 <properties>
170 <jogamp.natives.os>linux</jogamp.natives.os>
171 </properties>
172 </profile>
173 <profile>
174 <id>windows</id>
175 <activation>
176 <os>
177 <family>windows</family>
178 </os>
179 </activation>
180 <properties>
181 <jogamp.natives.os>windows</jogamp.natives.os>
182 </properties>
183 </profile>
184 <profile>
185 <id>i586</id>
186 <activation>
187 <os>
188 <arch>i586</arch>
189 </os>
190 </activation>
191 <properties>
192 <jogamp.natives.arch>i586</jogamp.natives.arch>
193 </properties>
194 </profile>
195 <profile>
196 <id>amd64</id>
197 <activation>
198 <os>
199 <arch>amd64</arch>
200 </os>
201 </activation>
202 <properties>
203 <jogamp.natives.arch>amd64</jogamp.natives.arch>
204 </properties>
205 </profile>
206 <profile>
207 <id>macosx</id>
208 <activation>
209 <os>
210 <family>mac</family>
211 </os>
212 </activation>
213 <properties>
214 <jogamp.natives.os>macosx</jogamp.natives.os>
215 <jogamp.natives.arch>universal</jogamp.natives.arch>
216 </properties>
217 </profile>
218 </profiles>
219
220</project>
http://JogAmp.org git info: FAQ, tutorial and man pages.