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