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