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