67868e9231e6bb45f0c6f6a37bf338e574109d1f
[meviz.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>meviz</artifactId>
6     <version>1.0-SNAPSHOT</version>
7     <packaging>jar</packaging>
8     <name>meviz</name>
9     <description>media wizard</description>
10
11     <organization>
12         <name>svjatoslav.eu</name>
13         <url>http://svjatoslav.eu</url>
14     </organization>
15
16     <dependencies>
17         <dependency>
18             <groupId>eu.svjatoslav</groupId>
19             <artifactId>svjatoslavcommons</artifactId>
20             <version>1.5</version>
21         </dependency>
22
23         <dependency>
24             <groupId>log4j</groupId>
25             <artifactId>log4j</artifactId>
26             <version>1.2.16</version>
27         </dependency>
28
29     </dependencies>
30
31     <build>
32         <plugins>
33             <plugin>
34                 <artifactId>maven-assembly-plugin</artifactId>
35                 <configuration>
36                     <archive>
37                         <manifest>
38                             <mainClass>eu.svjatoslav.meviz.Main</mainClass>
39                         </manifest>
40                     </archive>
41                     <descriptorRefs>
42                         <descriptorRef>jar-with-dependencies</descriptorRef>
43                     </descriptorRefs>
44                 </configuration>
45
46                 <executions>
47
48                     <execution>
49                         <id>package-jar-with-dependencies</id>
50                         <phase>package</phase>
51                         <goals>
52                             <goal>single</goal>
53                         </goals>
54                         <configuration>
55                             <descriptorRefs>
56                                 <descriptorRef>jar-with-dependencies</descriptorRef>
57                             </descriptorRefs>
58                             <archive>
59                                 <manifest>
60                                     <mainClass>eu.svjatoslav.meviz.Main</mainClass>
61                                 </manifest>
62                             </archive>
63                         </configuration>
64                     </execution>
65
66                 </executions>
67             </plugin>
68
69             <plugin>
70                 <groupId>org.apache.maven.plugins</groupId>
71                 <artifactId>maven-compiler-plugin</artifactId>
72                 <version>2.3.2</version>
73                 <configuration>
74                     <source>1.8</source>
75                     <target>1.8</target>
76                     <encoding>UTF-8</encoding>
77                 </configuration>
78             </plugin>
79
80             <plugin>
81                 <groupId>org.apache.maven.plugins</groupId>
82                 <artifactId>maven-source-plugin</artifactId>
83                 <version>2.2.1</version>
84                 <executions>
85                     <execution>
86                         <id>attach-sources</id>
87                         <goals>
88                             <goal>jar</goal>
89                         </goals>
90                     </execution>
91                 </executions>
92             </plugin>
93
94             <plugin>
95                 <groupId>org.apache.maven.plugins</groupId>
96                 <artifactId>maven-javadoc-plugin</artifactId>
97                 <version>2.9</version>
98                 <executions>
99                     <execution>
100                         <id>attach-javadocs</id>
101                         <goals>
102                             <goal>jar</goal>
103                         </goals>
104                     </execution>
105                 </executions>
106             </plugin>
107         </plugins>
108
109         <extensions>
110             <extension>
111                 <groupId>org.apache.maven.wagon</groupId>
112                 <artifactId>wagon-ssh-external</artifactId>
113                 <version>2.6</version>
114             </extension>
115         </extensions>
116     </build>
117
118     <distributionManagement>
119         <snapshotRepository>
120             <id>svjatoslav.eu</id>
121             <name>svjatoslav.eu</name>
122             <url>scpexe://svjatoslav.eu/var/www/svjatoslav.eu/maven</url>
123         </snapshotRepository>
124         <repository>
125             <id>svjatoslav.eu</id>
126             <name>svjatoslav.eu</name>
127             <url>scpexe://svjatoslav.eu/var/www/svjatoslav.eu/maven</url>
128         </repository>
129     </distributionManagement>
130
131     <repositories>
132         <repository>
133             <id>svjatoslav.eu</id>
134             <name>Svjatoslav repository</name>
135             <url>http://www2.svjatoslav.eu/maven/</url>
136
137             <releases>
138                 <enabled>true</enabled>
139             </releases>
140             <snapshots>
141                 <enabled>true</enabled>
142             </snapshots>
143         </repository>
144     </repositories>
145
146 </project>