added upnpmonitor profile.d file
[upnpmonitor] / pom.xml
1 <?xml version="1.0"?>
2 <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/maven-v4_0_0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <groupId>org.wamblee.upnpmonitor</groupId>
5         <artifactId>root</artifactId>
6         <packaging>pom</packaging>
7         <version>0.1-SNAPSHOT</version>
8         <name>/</name>
9         <description>wamblee.org upnp monitor</description>
10         <url>http://wamblee.org</url>
11         <licenses>
12                 <license>
13                         <name>The Apache Software License, Version 2.0</name>
14                         <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
15                         <distribution>repo</distribution>
16                 </license>
17         </licenses>
18         <scm>
19                 <url>http://wamblee.org/gitweb/upnpmonitor</url>
20                 <connection>scm:git:https://wamblee.org/git/public/upnpmonitor</connection>
21                 <developerConnection>scm:git:https://wamblee.org/git/public/upnpmonitor</developerConnection>
22         </scm>
23         <developers>
24                 <developer>
25                         <email>erik@wamblee.org</email>
26                         <name>Erik Brakkee</name>
27                         <url>http://brakkee.org</url>
28                 </developer>
29         </developers>
30
31         <modules>
32                 <module>monitor</module>
33                 <module>rpm</module>
34                 <module>site</module>
35         </modules>
36         
37         <dependencies>
38                 <dependency>
39                         <groupId>junit</groupId>
40                         <artifactId>junit</artifactId>
41                         <scope>test</scope>
42                 </dependency>
43
44                 <dependency>
45                         <groupId>org.mockito</groupId>
46                         <artifactId>mockito-all</artifactId>
47                         <version>1.8.5</version>
48                         <scope>test</scope>
49                 </dependency>
50
51         </dependencies>
52
53         <dependencyManagement>
54                 <dependencies>
55                         <dependency>
56                                 <groupId>javax.faces</groupId>
57                                 <artifactId>jsf-api</artifactId>
58                                 <version>1.2_02</version>
59                                 <scope>provided</scope>
60                         </dependency>
61                         <dependency>
62                                 <groupId>org.apache.wicket</groupId>
63                                 <artifactId>wicket</artifactId>
64                                 <version>1.4.9</version>
65                         </dependency>
66
67                         <dependency>
68                                 <groupId>org.jboss.weld</groupId>
69                                 <artifactId>weld-se</artifactId>
70                                 <version>1.0.1-Final</version>
71                         </dependency>
72
73                         <dependency>
74                                 <groupId>oro</groupId>
75                                 <artifactId>oro</artifactId>
76                                 <version>2.0.6</version>
77                         </dependency>
78
79
80                         <dependency>
81                                 <groupId>javax.transaction</groupId>
82                                 <artifactId>transaction-api</artifactId>
83                                 <version>1.1</version>
84                                 <scope>provided</scope>
85                         </dependency>
86
87                         <dependency>
88                                 <groupId>junit</groupId>
89                                 <artifactId>junit</artifactId>
90                                 <version>4.4</version>
91                         </dependency>
92                         <dependency>
93                                 <groupId>org.dbunit</groupId>
94                                 <artifactId>dbunit</artifactId>
95                                 <version>2.4.7</version>
96                         </dependency>
97                         <dependency>
98                                 <groupId>org.slf4j</groupId>
99                                 <artifactId>slf4j-api</artifactId>
100                                 <version>1.5.11</version>
101                         </dependency>
102                         <dependency>
103                                 <groupId>org.slf4j</groupId>
104                                 <artifactId>slf4j-jdk14</artifactId>
105                                 <version>1.5.11</version>
106                         </dependency>
107
108                         <dependency>
109                                 <groupId>javax.persistence</groupId>
110                                 <artifactId>persistence-api</artifactId>
111                                 <version>1.0</version>
112                                 <scope>provided</scope>
113                         </dependency>
114                         <dependency>
115                                 <groupId>javax.activation</groupId>
116                                 <artifactId>activation</artifactId>
117                                 <version>1.1</version>
118                         </dependency>
119                         <dependency>
120                                 <groupId>javax.mail</groupId>
121                                 <artifactId>mail</artifactId>
122                                 <version>1.4.1</version>
123                         </dependency>
124                         <dependency>
125                                 <groupId>javax.servlet</groupId>
126                                 <artifactId>servlet-api</artifactId>
127                                 <version>2.3</version>
128                                 <type>jar</type>
129                                 <scope>provided</scope>
130                         </dependency>
131                         <dependency>
132                                 <groupId>mysql</groupId>
133                                 <artifactId>mysql-connector-java</artifactId>
134                                 <version>5.1.12</version>
135                         </dependency>
136                         <dependency>
137                                 <groupId>org.apache.derby</groupId>
138                                 <artifactId>derby</artifactId>
139                                 <version>10.5.3.0_1</version>
140                         </dependency>
141                         <dependency>
142                                 <groupId>org.apache.derby</groupId>
143                                 <artifactId>derbyclient</artifactId>
144                                 <version>10.5.3.0_1</version>
145                         </dependency>
146                         <dependency>
147                                 <groupId>org.apache.derby</groupId>
148                                 <artifactId>derbynet</artifactId>
149                                 <version>10.5.3.0_1</version>
150                         </dependency>
151                         <dependency>
152                                 <groupId>quartz</groupId>
153                                 <artifactId>quartz</artifactId>
154                                 <version>1.5.1</version>
155                         </dependency>
156                         <dependency>
157                                 <groupId>jtidy</groupId>
158                                 <artifactId>jtidy</artifactId>
159                                 <version>4aug2000r7-dev</version>
160                         </dependency>
161
162
163                         <dependency>
164                                 <groupId>commons-logging</groupId>
165                                 <artifactId>commons-logging</artifactId>
166                                 <version>1.0.2</version>
167                         </dependency>
168                         <dependency>
169                                 <groupId>commons-httpclient</groupId>
170                                 <artifactId>commons-httpclient</artifactId>
171                                 <version>3.0</version>
172                         </dependency>
173                         <dependency>
174                                 <groupId>commons-beanutils</groupId>
175                                 <artifactId>commons-beanutils</artifactId>
176                                 <version>1.7.0</version>
177                         </dependency>
178                         <dependency>
179                                 <groupId>org.springframework</groupId>
180                                 <artifactId>spring-beans</artifactId>
181                                 <version>${spring.version}</version>
182                         </dependency>
183                         <dependency>
184                                 <groupId>org.springframework</groupId>
185                                 <artifactId>spring-web</artifactId>
186                                 <version>${spring.version}</version>
187                         </dependency>
188                         <dependency>
189                                 <groupId>org.springframework</groupId>
190                                 <artifactId>spring-jms</artifactId>
191                                 <version>${spring.version}</version>
192                         </dependency>
193                         <dependency>
194                                 <groupId>org.springframework</groupId>
195                                 <artifactId>spring-context</artifactId>
196                                 <version>${spring.version}</version>
197                         </dependency>
198                         <dependency>
199                                 <groupId>org.springframework</groupId>
200                                 <artifactId>spring-hibernate3</artifactId>
201                                 <version>${spring.version}</version>
202                         </dependency>
203                         <dependency>
204                                 <groupId>org.springframework</groupId>
205                                 <artifactId>spring-jpa</artifactId>
206                                 <version>${spring.version}</version>
207                         </dependency>
208                         <dependency>
209                                 <groupId>org.springframework</groupId>
210                                 <artifactId>spring-aop</artifactId>
211                                 <version>${spring.version}</version>
212                         </dependency>
213
214                         <dependency>
215                                 <groupId>net.sf.ehcache</groupId>
216                                 <artifactId>ehcache-core</artifactId>
217                                 <version>2.2.0</version>
218                         </dependency>
219
220                         <dependency>
221                                 <groupId>commons-email</groupId>
222                                 <artifactId>commons-email</artifactId>
223                                 <version>1.0</version>
224                         </dependency>
225                         <dependency>
226                                 <groupId>jstl</groupId>
227                                 <artifactId>jstl</artifactId>
228                                 <version>1.1.2</version>
229                         </dependency>
230                         <dependency>
231                                 <groupId>taglibs</groupId>
232                                 <artifactId>standard</artifactId>
233                                 <version>1.1.2</version>
234                         </dependency>
235                         <dependency>
236                                 <groupId>jfree</groupId>
237                                 <artifactId>jfreechart</artifactId>
238                                 <version>1.0.1</version>
239                         </dependency>
240                         <dependency>
241                                 <groupId>jfree</groupId>
242                                 <artifactId>jcommon</artifactId>
243                                 <version>1.0.2</version>
244                         </dependency>
245
246                         <dependency>
247                                 <groupId>javax</groupId>
248                                 <artifactId>javaee-api</artifactId>
249                                 <version>6.0</version>
250                                 <scope>provided</scope>
251                         </dependency>
252
253                         <dependency>
254                                 <groupId>commons-codec</groupId>
255                                 <artifactId>commons-codec</artifactId>
256                                 <version>1.3</version>
257                         </dependency>
258
259                         <dependency>
260                                 <groupId>commons-dbcp</groupId>
261                                 <artifactId>commons-dbcp</artifactId>
262                                 <version>1.4</version>
263                         </dependency>
264                         <!-- dependency>
265                                 <groupId>toplink.essentials</groupId>
266                                 <artifactId>toplink-essentials</artifactId>
267                                 <version>2.1-60f</version>
268                         </dependency -->
269                         
270
271                 </dependencies>
272         </dependencyManagement>
273
274         <build>
275                 <plugins>
276                         <plugin>
277                                 <groupId>org.apache.maven.plugins</groupId>
278                                 <artifactId>maven-release-plugin</artifactId>
279                                 <version>2.2.1</version>
280                                 <configuration>
281                                         <autoVersionSubmodules>true</autoVersionSubmodules>
282                                         <localCheckout>true</localCheckout>
283                                         <pushChanges>false</pushChanges>
284                                         <goals>javadoc:jar deploy</goals>
285                                 </configuration>
286                         </plugin>
287                         <plugin>
288                                 <groupId>org.apache.maven.plugins</groupId>
289                                 <artifactId>maven-checkstyle-plugin</artifactId>
290                                 <version>2.5</version>
291                                 <dependencies>
292                                         <dependency>
293                                                 <groupId>org.wamblee</groupId>
294                                                 <artifactId>wamblee-code-style</artifactId>
295                                                 <version>1.1</version>
296                                         </dependency>
297                                 </dependencies>
298                         </plugin>
299
300                         <plugin>
301                                 <groupId>org.codehaus.mojo</groupId>
302                                 <artifactId>jalopy-maven-plugin</artifactId>
303                                 <version>1.0-alpha-1</version>
304                                 <configuration>
305                                         <fileFormat>UNIX</fileFormat>
306                                         <convention>org.wamblee.jalopy.xml</convention>
307                                 </configuration>
308                                 <dependencies>
309                                         <dependency>
310                                                 <groupId>org.wamblee</groupId>
311                                                 <artifactId>wamblee-code-style</artifactId>
312                                                 <version>1.1</version>
313                                         </dependency>
314                                 </dependencies>
315                         </plugin>
316                         <plugin>
317                                 <groupId>org.apache.maven.plugins</groupId>
318                                 <artifactId>maven-compiler-plugin</artifactId>
319                                 <version>2.3.2</version>
320                                 <configuration>
321                                         <source>1.6</source>
322                                         <target>1.6</target>
323                                 </configuration>
324                         </plugin>
325
326                         <plugin>
327                                 <groupId>org.apache.maven.plugins</groupId>
328                                 <artifactId>maven-surefire-plugin</artifactId>
329                                 <version>2.5</version>
330                                 <configuration>
331                                         <!--
332                                                 enable forkMode to check if some tests do not setup their test
333                                                 fixture correctly
334                                         -->
335                                         <!-- forkMode>always</forkMode -->
336                                         <includes>
337                                                 <include>**/*Test.java</include>
338                                         </includes>
339                                         <redirectTestOutputToFile>true</redirectTestOutputToFile>
340                                 </configuration>
341                         </plugin>
342
343                         <!--
344                                 Make sure other projects can use (or the test support and test
345                                 classes from the projects it uses. To use a dependence on a test
346                                 library of a project, an additinoal dependence must be added with
347                                 <type>test-jar</type>
348                         -->
349
350                         <plugin>
351                                 <groupId>org.apache.maven.plugins</groupId>
352                                 <artifactId>maven-jar-plugin</artifactId>
353                                 <version>2.3.1</version>
354                                 <executions>
355                                         <execution>
356                                                 <goals>
357                                                         <goal>test-jar</goal>
358                                                 </goals>
359                                         </execution>
360                                 </executions>
361                         </plugin>
362
363                         <plugin>
364                                 <groupId>org.codehaus.mojo</groupId>
365                                 <artifactId>cobertura-maven-plugin</artifactId>
366                                 <version>2.3</version>
367                                 <executions>
368                                         <execution>
369                                                 <goals>
370                                                         <goal>clean</goal>
371                                                 </goals>
372                                         </execution>
373                                 </executions>
374                                 <configuration>
375                                         <instrumentation>
376                                                 <excludes>
377                                                 </excludes>
378                                         </instrumentation>
379                                 </configuration>
380                         </plugin>
381                         <plugin>
382                                 <artifactId>maven-site-plugin</artifactId>
383                                 <configuration>
384                                         <locales>en</locales>
385                                 </configuration>
386                         </plugin>
387
388
389                 </plugins>
390
391                 <pluginManagement>
392                         <plugins>
393                                 <plugin>
394                                         <artifactId>maven-site-plugin</artifactId>
395                                         <version>3.0-beta-3</version>
396                                         <configuration>
397                                                 <reportPlugins>
398                                                         <plugin>
399                                                                 <groupId>org.apache.maven.plugins</groupId>
400                                                                 <artifactId>maven-project-info-reports-plugin</artifactId>
401                                                                 <version>2.3.1</version>
402                                                                 <configuration>
403                                                                         <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
404                                                                         <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
405                                                                 </configuration>
406                                                         </plugin>
407                                                         <plugin>
408                                                                 <groupId>org.apache.maven.plugins</groupId>
409                                                                 <artifactId>maven-javadoc-plugin</artifactId>
410                                                                 <version>2.7</version>
411                                                         </plugin>
412                                                         <plugin>
413                                                                 <groupId>org.codehaus.mojo</groupId>
414                                                                 <artifactId>cobertura-maven-plugin</artifactId>
415                                                                 <version>2.3</version>
416                                                                 <configuration>
417                                                                         <formats>
418                                                                                 <format>xml</format>
419                                                                                 <format>html</format>
420                                                                         </formats>
421                                                                 </configuration>
422                                                         </plugin>               
423                                                 </reportPlugins>
424                                         </configuration>
425                                 </plugin>
426                         </plugins>
427                 </pluginManagement>
428
429         </build>
430
431
432         <reporting>
433                 <plugins>
434                         <plugin>
435                                 <groupId>org.codehaus.mojo</groupId>
436                                 <artifactId>findbugs-maven-plugin</artifactId>
437                                 <version>2.3.1</version>
438                                 <configuration>
439                                         <xmlOutput>true</xmlOutput>
440                                         <!-- Optional derectory to put findbugs xdoc xml report -->
441                                         <xmlOutputDirectory>target/site</xmlOutputDirectory>
442                                         <findbugsXmlOutput>true</findbugsXmlOutput>
443                                         <!-- Optional directory to put findbugs xml report -->
444                                         <findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
445                                 </configuration>
446
447                         </plugin>
448
449                         <plugin>
450                                 <groupId>org.codehaus.mojo</groupId>
451                                 <artifactId>changes-maven-plugin</artifactId>
452                                 <version>2.0-beta-1</version>
453                                 <reportSets>
454                                         <reportSet>
455                                                 <reports>
456                                                         <report>changes-report</report>
457                                                 </reports>
458                                         </reportSet>
459                                 </reportSets>
460                         </plugin>
461                         <plugin>
462                                 <groupId>org.apache.maven.plugins</groupId>
463                                 <artifactId>maven-javadoc-plugin</artifactId>
464                                 <version>2.6.1</version>
465                         </plugin>
466                         <plugin>
467                                 <groupId>org.codehaus.mojo</groupId>
468                                 <artifactId>surefire-report-maven-plugin</artifactId>
469                                 <version>2.0-beta-1</version>
470                         </plugin>
471                         <!-- checkstyle -->
472                         <plugin>
473                                 <groupId>org.apache.maven.plugins</groupId>
474                                 <artifactId>maven-checkstyle-plugin</artifactId>
475                                 <version>2.5</version>
476                                 <configuration>
477                                         <configLocation>org.wamblee.checkstyle.xml</configLocation>
478                                 </configuration>
479                         </plugin>
480
481                 </plugins>
482         </reporting>
483
484         <profiles>
485                 <profile>
486                         <id>release</id>
487                         <activation>
488                                 <property>
489                                         <name>performRelease</name>
490                                         <value>true</value>
491                                 </property>
492                         </activation>
493                         <build>
494                                 <plugins>
495                                         <plugin>
496                                                 <groupId>org.apache.maven.plugins</groupId>
497                                                 <artifactId>maven-gpg-plugin</artifactId>
498                                                 <executions>
499                                                         <execution>
500                                                                 <id>sign-artifacts</id>
501                                                                 <phase>verify</phase>
502                                                                 <goals>
503                                                                         <goal>sign</goal>
504                                                                 </goals>
505                                                         </execution>
506                                                 </executions>
507                                         </plugin>
508                                 </plugins>
509                         </build>
510                         <distributionManagement>
511                                 <repository>
512                                         <id>sonatype-nexus-staging</id>
513                                         <name>Nexus Release Repository</name>
514                                         <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
515                                 </repository>
516                         </distributionManagement>
517
518                 </profile>
519                 <profile>
520                         <id>all</id>
521                         <activation>
522                                 <property>
523                                         <name>!performRelease</name>
524                                 </property>
525                         </activation>
526                         <distributionManagement>
527                                 <repository>
528                                         <id>localdir</id>
529                                         <name>Local directory</name>
530                                         <url>file:${user.home}/java/workspace/deploy</url>
531                                 </repository>
532                         </distributionManagement>
533                 </profile>
534         </profiles>
535
536         <distributionManagement>
537                 <site>
538                         <id>test-enterprise-site</id>
539                         <url>file:${distrib}/main</url>
540                 </site>
541         </distributionManagement>
542
543         <properties>
544                 <spring.version>2.0.8</spring.version>
545                 <jmock.version>2.4.0</jmock.version>
546         </properties>
547
548 </project>