52806ffde2930a28fa24782e3dfd09a5d85c6693
[javainspect.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>javainspect</artifactId>
5     <version>1.7</version>
6     <packaging>jar</packaging>
7     <name>JavaInspect</name>
8     <description>Utility to visualize Java code</description>
9
10     <properties>
11         <java.version>1.8</java.version>
12         <maven.compiler.source>1.8</maven.compiler.source>
13         <maven.compiler.target>1.8</maven.compiler.target>
14         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
16     </properties>
17
18     <organization>
19         <name>svjatoslav.eu</name>
20         <url>http://svjatoslav.eu</url>
21     </organization>
22
23     <build>
24         <finalName>javainspect</finalName>
25         <plugins>
26             <plugin>
27                 <groupId>org.apache.maven.plugins</groupId>
28                 <artifactId>maven-compiler-plugin</artifactId>
29                 <version>3.8.1</version>
30                 <configuration>
31                     <source>1.8</source>
32                     <target>1.8</target>
33                     <optimize>true</optimize>
34                     <encoding>UTF-8</encoding>
35                 </configuration>
36             </plugin>
37
38             <plugin>
39                 <groupId>org.apache.maven.plugins</groupId>
40                 <artifactId>maven-source-plugin</artifactId>
41                 <version>2.2.1</version>
42                 <executions>
43                     <execution>
44                         <id>attach-sources</id>
45                         <goals>
46                             <goal>jar</goal>
47                         </goals>
48                     </execution>
49                 </executions>
50             </plugin>
51
52             <plugin>
53                 <groupId>org.apache.maven.plugins</groupId>
54                 <artifactId>maven-javadoc-plugin</artifactId>
55                 <version>2.10.4</version>
56                 <executions>
57                     <execution>
58                         <id>attach-javadocs</id>
59                         <goals>
60                             <goal>jar</goal>
61                         </goals>
62                     </execution>
63                 </executions>
64                 <configuration>
65                     <!-- workaround for https://bugs.openjdk.java.net/browse/JDK-8212233 -->
66                     <javaApiLinks>
67                         <property>
68                             <name>foo</name>
69                             <value>bar</value>
70                         </property>
71                     </javaApiLinks>
72                 </configuration>
73             </plugin>
74
75             <plugin>
76                 <groupId>org.apache.maven.plugins</groupId>
77                 <artifactId>maven-release-plugin</artifactId>
78                 <version>2.5.2</version>
79                 <dependencies>
80                     <dependency>
81                         <groupId>org.apache.maven.scm</groupId>
82                         <artifactId>maven-scm-provider-gitexe</artifactId>
83                         <version>1.9.4</version>
84                     </dependency>
85                 </dependencies>
86             </plugin>
87
88             <plugin>
89                 <groupId>org.apache.maven.plugins</groupId>
90                 <artifactId>maven-shade-plugin</artifactId>
91                 <version>2.4.3</version>
92                 <executions>
93                     <execution>
94                         <phase>package</phase>
95                         <goals>
96                             <goal>shade</goal>
97                         </goals>
98                         <configuration>
99                             <transformers>
100                                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
101                                     <mainClass>eu.svjatoslav.inspector.java.commandline.Main</mainClass>
102                                 </transformer>
103                             </transformers>
104                         </configuration>
105                     </execution>
106                 </executions>
107             </plugin>
108         </plugins>
109
110         <extensions>
111             <extension>
112                 <groupId>org.apache.maven.wagon</groupId>
113                 <artifactId>wagon-ssh-external</artifactId>
114                 <version>2.6</version>
115             </extension>
116         </extensions>
117     </build>
118
119     <dependencies>
120         <dependency>
121             <groupId>eu.svjatoslav</groupId>
122             <artifactId>svjatoslavcommons</artifactId>
123             <version>1.8</version>
124         </dependency>
125     </dependencies>
126
127     <distributionManagement>
128         <snapshotRepository>
129             <id>svjatoslav.eu</id>
130             <name>svjatoslav.eu</name>
131             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
132         </snapshotRepository>
133         <repository>
134             <id>svjatoslav.eu</id>
135             <name>svjatoslav.eu</name>
136             <url>scpexe://svjatoslav.eu:10006/srv/maven</url>
137         </repository>
138     </distributionManagement>
139
140     <repositories>
141         <repository>
142             <id>svjatoslav.eu</id>
143             <name>Svjatoslav repository</name>
144             <url>https://www2.svjatoslav.eu/maven/</url>
145         </repository>
146     </repositories>
147
148
149     <scm>
150         <connection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/javainspect.git</connection>
151         <developerConnection>scm:git:ssh://n0@svjatoslav.eu:10006/home/n0/git/javainspect.git</developerConnection>
152       <tag>javainspect-1.7</tag>
153   </scm>
154
155 </project>