Jogamp
pom.xml: Use JogAmp 2.0.2-rc20130404 from test repository.
[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.build.outputDirectory>${project.build.directory}/classes</jake.build.outputDirectory>
16     <jake.dist.lib.directory>${project.build.directory}</jake.dist.lib.directory>
17     <jake.dist.dep.prefix/>
18     <jake.test.skip>false</jake.test.skip>
19     <jake.javac.source>1.6</jake.javac.source>
20     <jake.javac.target>${jake.javac.source}</jake.javac.target>
21     <jogamp.version>2.0.2-rc20130404</jogamp.version>
22   </properties>
23
24   <dependencies>
25     <dependency>
26       <groupId>org.jogamp.jogl</groupId>
27       <artifactId>jogl-all-main</artifactId>
28       <version>${jogamp.version}</version>
29     </dependency>
30     <dependency>
31       <groupId>org.jogamp.gluegen</groupId>
32       <artifactId>gluegen-rt-main</artifactId>
33       <version>${jogamp.version}</version>
34     </dependency>
35     <dependency>
36       <groupId>org.jogamp.joal</groupId>
37       <artifactId>joal-main</artifactId>
38       <version>${jogamp.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>org.testng</groupId>
42       <artifactId>testng</artifactId>
43       <version>6.3.1</version>
44       <scope>test</scope>
45     </dependency>
46   </dependencies>
47
48   <build>
49     <outputDirectory>${jake.build.outputDirectory}</outputDirectory>
50     <sourceDirectory>src</sourceDirectory>
51     <resources>
52       <resource>
53         <directory>src</directory>
54         <excludes>
55           <exclude>**/*.java</exclude>
56         </excludes>
57       </resource>
58       <resource>
59         <directory>resources</directory>
60       </resource>
61     </resources>
62     <testSourceDirectory>test</testSourceDirectory>
63     <testResources>
64       <testResource>
65         <directory>test</directory>
66         <excludes>
67           <exclude>**/*.java</exclude>
68         </excludes>
69       </testResource>
70     </testResources>
71     <plugins>
72       <plugin>
73         <artifactId>maven-compiler-plugin</artifactId>
74         <version>3.0</version>
75         <configuration>
76           <source>${jake.javac.source}</source>
77           <target>${jake.javac.target}</target>
78           <fork>true</fork>
79           <maxmem>512</maxmem>
80           <compilerArgument>-Xlint:all</compilerArgument>
81           <skip>${jake.test.skip}</skip>
82         </configuration>
83       </plugin>
84       <plugin>
85         <artifactId>maven-jar-plugin</artifactId>
86         <version>2.4</version>
87         <configuration>
88           <outputDirectory>${jake.dist.lib.directory}</outputDirectory>
89           <archive>
90             <manifest>
91               <mainClass>jake2.Jake2</mainClass>
92               <addClasspath>true</addClasspath>
93               <classpathPrefix>${jake.dist.dep.prefix}</classpathPrefix>
94             </manifest>
95           </archive>
96         </configuration>
97       </plugin>
98       <plugin>
99         <artifactId>maven-clean-plugin</artifactId>
100         <version>2.5</version>
101         <configuration>
102           <filesets>
103             <fileset>
104               <directory>${project.basedir}</directory>
105               <followSymlinks>false</followSymlinks>
106               <includes>
107                 <include>build/**</include>
108                 <include>dist/**</include>
109                 <include>Jake2-cvs-install.jar</include>
110                 <include>jake2-cvs.*</include>
111                 <include>jake2src-cvs.*</include>
112               </includes>
113             </fileset>
114           </filesets>
115         </configuration>
116       </plugin>
117       <plugin>
118         <artifactId>maven-dependency-plugin</artifactId>
119         <version>2.6</version>
120         <executions>
121           <execution>
122             <id>copy-dependencies</id>
123             <phase>package</phase>
124             <goals>
125               <goal>copy-dependencies</goal>
126             </goals>
127             <configuration>
128               <includeScope>runtime</includeScope>
129               <outputDirectory>${jake.dist.lib.directory}/${jake.dist.dep.prefix}</outputDirectory>
130               <overWriteReleases>false</overWriteReleases>
131               <overWriteSnapshots>false</overWriteSnapshots>
132               <overWriteIfNewer>true</overWriteIfNewer>
133             </configuration>
134           </execution>
135         </executions>
136       </plugin>
137       <plugin>
138         <artifactId>maven-surefire-plugin</artifactId>
139         <version>2.12.4</version>
140         <configuration>
141           <redirectTestOutputToFile>true</redirectTestOutputToFile>
142         </configuration>
143       </plugin>
144     </plugins>
145     <finalName>${project.artifactId}</finalName>
146   </build>
147
148   <profiles>
149     <profile>
150       <id>antcompat</id>
151       <activation>
152         <property>
153           <name>jake.antcompat</name>
154           <value>true</value>
155         </property>
156       </activation>
157       <properties>
158         <jake.build.outputDirectory>build</jake.build.outputDirectory>
159         <jake.dist.lib.directory>dist/lib</jake.dist.lib.directory>
160         <jake.dist.dep.prefix>jogamp/</jake.dist.dep.prefix>
161       </properties>
162     </profile>
163
164     <profile>
165        <id>jogamp-test</id>
166        <activation>
167          <activeByDefault>true</activeByDefault>
168        </activation>
169        <repositories>
170          <repository>
171            <id>jogamp-remote</id>
172            <name>jogamp test mirror</name>
173            <url>http://www.jogamp.org/deployment/maven/</url>
174            <layout>default</layout>
175          </repository>
176        </repositories>
177      </profile>
178
179   </profiles>
180
181 </project>
http://JogAmp.org git info: FAQ, tutorial and man pages.