]> git.somenet.org - irc/pjirc-ng.git/blob - pom.xml
GITOLITE.txt
[irc/pjirc-ng.git] / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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
5         <groupId>somenet.org</groupId>
6         <artifactId>pjirc-ng</artifactId>
7         <version>2.3</version>
8         <packaging>jar</packaging>
9         <name>pjirc-ng</name>
10
11         <developers>
12                 <developer>
13                         <id>Someone</id>
14                         <name>Someone</name>
15                         <email>someone@somenet.org</email>
16                 </developer>
17         </developers>
18
19         <prerequisites>
20                 <maven>3.0.4</maven>
21         </prerequisites>
22
23         <properties>
24                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25         </properties>
26
27         <!-- <repositories> -->
28         <!-- <repository> -->
29         <!-- <id>codehausSnapshots</id> -->
30         <!-- <url>http://repo1.maven.org/maven2/</url> -->
31         <!-- </repository> -->
32         <!-- <repository> -->
33         <!-- <id>jspresso-repository</id> -->
34         <!-- <url>http://repository.jspresso.org/maven2</url> -->
35         <!-- </repository> -->
36         <!-- <repository> -->
37         <!-- <id>jspresso-snapshots-repository</id> -->
38         <!-- <url>http://repository.jspresso.org/maven2-snapshots</url> -->
39         <!-- </repository> -->
40         <!-- </repositories> -->
41
42         <dependencies>
43                 <dependency>
44                         <groupId>junit</groupId>
45                         <artifactId>junit</artifactId>
46                         <version>4.11</version>
47                         <scope>test</scope>
48                 </dependency>
49                 <dependency>
50                         <groupId>log4j</groupId>
51                         <artifactId>log4j</artifactId>
52                         <version>1.2.17</version>
53                 </dependency>
54                 <dependency>
55                         <groupId>javax.media</groupId>
56                         <artifactId>jmf</artifactId>
57                         <version>2.1.1e</version>
58                 </dependency>
59         </dependencies>
60
61         <build>
62                 <plugins>
63                         <plugin>
64                                 <groupId>org.apache.maven.plugins</groupId>
65                                 <artifactId>maven-compiler-plugin</artifactId>
66                                 <version>3.0</version>
67                                 <configuration>
68                                         <source>1.7</source>
69                                         <target>1.7</target>
70                                         <encoding>UTF-8</encoding>
71                                 </configuration>
72                         </plugin>
73                         <plugin>
74                                 <groupId>org.apache.maven.plugins</groupId>
75                                 <artifactId>maven-surefire-plugin</artifactId>
76                                 <version>2.13</version>
77                                 <configuration>
78                                         <testFailureIgnore>true</testFailureIgnore>
79                                 </configuration>
80                         </plugin>
81                         <plugin>
82                                 <groupId>org.apache.maven.plugins</groupId>
83                                 <artifactId>maven-jar-plugin</artifactId>
84                                 <version>2.4</version>
85                                 <configuration>
86                                         <signedjar>pjirc-ng-signed</signedjar>
87                                         <archive>
88                                                 <manifest>
89                                                         <mainClass>irc.IRCApplication</mainClass>
90                                                         <addClasspath>true</addClasspath>
91                                                         <classpathPrefix>lib/</classpathPrefix>
92                                                 </manifest>
93                                         </archive>
94                                 </configuration>
95                         </plugin>
96                         <plugin>
97                                 <groupId>org.apache.maven.plugins</groupId>
98                                 <artifactId>maven-jarsigner-plugin</artifactId>
99                                 <version>1.2</version>
100                                 <executions>
101                                         <execution>
102                                                 <id>sign</id>
103                                                 <goals>
104                                                         <goal>sign</goal>
105                                                 </goals>
106                                         </execution>
107                                 </executions>
108                                 <configuration>
109                                         <keystore>~/jd.keystore</keystore>
110                                         <alias>release</alias>
111                                         <storepass>${keystore.store.password}</storepass>
112                                         <keypass>${keystore.key.password}</keypass>
113                                 </configuration>
114                         </plugin>
115                         <plugin>
116                                 <groupId>org.apache.maven.plugins</groupId>
117                                 <artifactId>maven-dependency-plugin</artifactId>
118                                 <version>2.6</version>
119                                 <executions>
120                                         <execution>
121                                                 <id>copy-dependencies</id>
122                                                 <phase>package</phase>
123                                                 <goals>
124                                                         <goal>copy-dependencies</goal>
125                                                 </goals>
126                                                 <configuration>
127                                                         <outputDirectory>${project.build.directory}/lib</outputDirectory>
128                                                         <overWriteReleases>true</overWriteReleases>
129                                                         <overWriteSnapshots>true</overWriteSnapshots>
130                                                 </configuration>
131                                         </execution>
132                                 </executions>
133                         </plugin>
134                         <plugin>
135                                 <artifactId>maven-assembly-plugin</artifactId>
136                                 <version>2.4</version>
137                                 <executions>
138                                         <execution>
139                                                 <id>zip-Dependencies</id>
140                                                 <phase>package</phase>
141                                                 <configuration>
142                                                         <descriptors>
143                                                                 <descriptor>zipDeps.xml</descriptor>
144                                                                 <descriptor>zipRelease.xml</descriptor>
145                                                         </descriptors>
146                                                 </configuration>
147                                                 <goals>
148                                                         <goal>single</goal>
149                                                 </goals>
150                                         </execution>
151                                         <execution>
152                                                 <id>zip-Dependencies-and-Site</id>
153                                                 <phase>post-site</phase>
154                                                 <configuration>
155                                                         <descriptors>
156                                                                 <descriptor>zipDepsSite.xml</descriptor>
157                                                         </descriptors>
158                                                 </configuration>
159                                                 <goals>
160                                                         <goal>single</goal>
161                                                 </goals>
162                                         </execution>
163                                 </executions>
164                         </plugin>
165
166                         <!-- Report generation -->
167                         <plugin>
168                                 <groupId>org.apache.maven.plugins</groupId>
169                                 <artifactId>maven-jxr-plugin</artifactId>
170                                 <version>2.3</version>
171                                 <executions>
172                                         <execution>
173                                                 <phase>pre-site</phase>
174                                                 <goals>
175                                                         <goal>jxr</goal>
176                                                 </goals>
177                                         </execution>
178                                 </executions>
179                         </plugin>
180                         <plugin>
181                                 <groupId>org.codehaus.mojo</groupId>
182                                 <artifactId>cobertura-maven-plugin</artifactId>
183                                 <version>2.5.2</version>
184                                 <configuration>
185                                         <format>xml</format>
186                                 </configuration>
187                                 <executions>
188                                         <execution>
189                                                 <phase>pre-site</phase>
190                                                 <goals>
191                                                         <goal>cobertura</goal>
192                                                 </goals>
193                                         </execution>
194                                 </executions>
195                         </plugin>
196                         <plugin>
197                                 <groupId>org.apache.maven.plugins</groupId>
198                                 <artifactId>maven-checkstyle-plugin</artifactId>
199                                 <version>2.9.1</version>
200                                 <executions>
201                                         <execution>
202                                                 <phase>pre-site</phase>
203                                                 <goals>
204                                                         <goal>checkstyle</goal>
205                                                 </goals>
206                                                 <configuration>
207                                                         <configLocation>checkstyle.xml</configLocation>
208                                                 </configuration>
209                                         </execution>
210                                 </executions>
211                         </plugin>
212                         <plugin>
213                                 <groupId>org.codehaus.mojo</groupId>
214                                 <artifactId>javancss-maven-plugin</artifactId>
215                                 <version>2.0</version>
216                                 <executions>
217                                         <execution>
218                                                 <phase>pre-site</phase>
219                                                 <goals>
220                                                         <goal>report</goal>
221                                                 </goals>
222                                         </execution>
223                                 </executions>
224                         </plugin>
225                         <plugin>
226                                 <groupId>org.apache.maven.plugins</groupId>
227                                 <artifactId>maven-javadoc-plugin</artifactId>
228                                 <version>2.9</version>
229                                 <configuration>
230                                         <show>private</show>
231                                 </configuration>
232                                 <executions>
233                                         <execution>
234                                                 <phase>pre-site</phase>
235                                                 <goals>
236                                                         <goal>javadoc</goal>
237                                                 </goals>
238                                         </execution>
239                                 </executions>
240                         </plugin>
241                         <plugin>
242                                 <groupId>org.apache.maven.plugins</groupId>
243                                 <artifactId>maven-pmd-plugin</artifactId>
244                                 <version>2.7.1</version>
245                                 <configuration>
246                                         <targetJdk>1.6</targetJdk>
247                                 </configuration>
248                                 <executions>
249                                         <execution>
250                                                 <phase>pre-site</phase>
251                                                 <goals>
252                                                         <goal>pmd</goal>
253                                                         <goal>cpd</goal>
254                                                 </goals>
255                                         </execution>
256                                 </executions>
257                         </plugin>
258                         <plugin>
259                                 <groupId>org.codehaus.mojo</groupId>
260                                 <artifactId>findbugs-maven-plugin</artifactId>
261                                 <version>2.5.2</version>
262                                 <executions>
263                                         <execution>
264                                                 <phase>pre-site</phase>
265                                                 <goals>
266                                                         <goal>findbugs</goal>
267                                                 </goals>
268                                                 <configuration>
269                                                         <findbugsXmlOutput>true</findbugsXmlOutput>
270                                                         <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
271                                                         <xmlOutput>true</xmlOutput>
272                                                 </configuration>
273                                         </execution>
274                                 </executions>
275                         </plugin>
276                 </plugins>
277         </build>
278 </project>