55ab765631b7ff0131592e098015974139937420
[sixth-3d-demos.git] / pom.xml
1 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
2          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <groupId>eu.svjatoslav</groupId>
5     <artifactId>sixth-3d-demos</artifactId>
6     <version>1.0-SNAPSHOT</version>
7     <name>Sixth 3D demos</name>
8     <description>3D engine demos</description>
9
10     <properties>
11         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
13     </properties>
14
15     <organization>
16         <name>svjatoslav.eu</name>
17         <url>http://svjatoslav.eu</url>
18     </organization>
19
20     <dependencies>
21         <dependency>
22             <groupId>junit</groupId>
23             <artifactId>junit</artifactId>
24             <version>4.8.1</version>
25             <scope>test</scope>
26         </dependency>
27
28         <dependency>
29             <groupId>eu.svjatoslav</groupId>
30             <artifactId>sixth-3d</artifactId>
31             <version>1.2-SNAPSHOT</version>
32         </dependency>
33
34         <dependency>
35             <groupId>eu.svjatoslav</groupId>
36             <artifactId>javainspect</artifactId>
37             <version>1.5</version>
38             <scope>test</scope>
39         </dependency>
40     </dependencies>
41
42     <build>
43         <plugins>
44             <plugin>
45                 <groupId>org.apache.maven.plugins</groupId>
46                 <artifactId>maven-compiler-plugin</artifactId>
47                 <version>3.8.1</version>
48                 <configuration>
49                     <source>1.8</source>
50                     <target>1.8</target>
51                     <optimize>true</optimize>
52                     <encoding>UTF-8</encoding>
53                 </configuration>
54             </plugin>
55
56             <plugin>
57                 <groupId>org.apache.maven.plugins</groupId>
58                 <artifactId>maven-source-plugin</artifactId>
59                 <version>2.2.1</version>
60                 <executions>
61                     <execution>
62                         <id>attach-sources</id>
63                         <goals>
64                             <goal>jar</goal>
65                         </goals>
66                     </execution>
67                 </executions>
68             </plugin>
69
70             <plugin>
71                 <groupId>org.apache.maven.plugins</groupId>
72                 <artifactId>maven-javadoc-plugin</artifactId>
73                 <version>2.10.4</version>
74                 <executions>
75                     <execution>
76                         <id>attach-javadocs</id>
77                         <goals>
78                             <goal>jar</goal>
79                         </goals>
80                     </execution>
81                 </executions>
82                 <configuration>
83                     <!-- workaround for https://bugs.openjdk.java.net/browse/JDK-8212233 -->
84                     <javaApiLinks>
85                         <property>
86                             <name>foo</name>
87                             <value>bar</value>
88                         </property>
89                     </javaApiLinks>
90                     <!-- Workaround for https://stackoverflow.com/questions/49472783/maven-is-unable-to-find-javadoc-command -->
91                     <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
92                 </configuration>
93             </plugin>
94
95             <plugin>
96                 <groupId>org.apache.maven.plugins</groupId>
97                 <artifactId>maven-resources-plugin</artifactId>
98                 <version>2.4.3</version>
99                 <configuration>
100                     <encoding>UTF-8</encoding>
101                 </configuration>
102             </plugin>
103
104             <plugin>
105                 <artifactId>maven-assembly-plugin</artifactId>
106
107                 <configuration>
108                     <archive>
109                         <manifest>
110                             <mainClass>eu.svjatoslav.sixth.e3d.examples.launcher.Main</mainClass>
111                         </manifest>
112                     </archive>
113                     <descriptorRefs>
114                         <descriptorRef>jar-with-dependencies</descriptorRef>
115                     </descriptorRefs>
116                     <finalName>sixth-3d-demos</finalName>
117                     <appendAssemblyId>false</appendAssemblyId>
118                 </configuration>
119
120                 <executions>
121                     <execution>
122                         <id>package-jar-with-dependencies</id>
123                         <phase>package</phase>
124                         <goals>
125                             <goal>single</goal>
126                         </goals>
127                         <configuration>
128                             <descriptorRefs>
129                                 <descriptorRef>jar-with-dependencies</descriptorRef>
130                             </descriptorRefs>
131                             <archive>
132                                 <manifest>
133                                     <mainClass>eu.svjatoslav.sixth.e3d.examples.launcher.Main</mainClass>
134                                 </manifest>
135                             </archive>
136                         </configuration>
137                     </execution>
138                 </executions>
139             </plugin>
140         </plugins>
141
142         <extensions>
143             <extension>
144                 <groupId>org.apache.maven.wagon</groupId>
145                 <artifactId>wagon-ssh-external</artifactId>
146                 <version>2.6</version>
147             </extension>
148         </extensions>
149     </build>
150
151
152     <distributionManagement>
153         <snapshotRepository>
154             <id>svjatoslav.eu</id>
155             <name>svjatoslav.eu</name>
156             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
157         </snapshotRepository>
158         <repository>
159             <id>svjatoslav.eu</id>
160             <name>svjatoslav.eu</name>
161             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
162         </repository>
163     </distributionManagement>
164
165     <repositories>
166         <repository>
167             <id>svjatoslav.eu</id>
168             <name>Svjatoslav repository</name>
169             <url>https://www2.svjatoslav.eu/maven/</url>
170         </repository>
171     </repositories>
172
173     <scm>
174         <connection>scm:git:ssh://git@svjatoslav.eu/home/git/repositories/sixth-3d-demos.git</connection>
175         <developerConnection>scm:git:ssh://git@svjatoslav.eu/home/git/repositories/sixth-3d-demos.git
176         </developerConnection>
177     </scm>
178
179
180 </project>