SHINDIG-1056 by lipeng, BasicRemoteContentTest doesn't depend on static private key...
[shindig.git] / pom.xml
blobd02908bcb70d0b4cd2088d5cfb2b7f8a7c5d7244
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19 -->
20 <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">
21   <modelVersion>4.0.0</modelVersion>
23   <parent>
24     <groupId>org.apache</groupId>
25     <artifactId>apache</artifactId>
26     <version>5</version>
27   </parent>
29   <groupId>org.apache.shindig</groupId>
30   <artifactId>shindig-project</artifactId>
31   <version>1.1-SNAPSHOT</version>
32   <packaging>pom</packaging>
34   <name>Apache Shindig Project</name>
35   <description>
36     Shindig is a JavaScript container and implementations of the
37     backend APIs and proxy required for hosting OpenSocial
38     applications.
39   </description>
40   <url>http://incubator.apache.org/shindig</url>
41   <inceptionYear>2007</inceptionYear>
43   <prerequisites>
44     <maven>2.0.8</maven>
45   </prerequisites>
47   <!-- ====================================================================== -->
48   <!-- S C M                                                                  -->
49   <!-- ====================================================================== -->
50   <scm>
51     <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/shindig/trunk</connection>
52     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/shindig/trunk</developerConnection>
53     <url>http://svn.apache.org/viewvc/incubator/shindig/trunk</url>
54   </scm>
56   <!-- ====================================================================== -->
57   <!-- I S S U E  M A N A G E M E N T                                         -->
58   <!-- ====================================================================== -->
59   <issueManagement>
60     <system>jira</system>
61     <url>http://issues.apache.org/jira/browse/SHINDIG</url>
62   </issueManagement>
64   <!-- ====================================================================== -->
65   <!-- C I  M A N A G E M E N T                                               -->
66   <!-- ====================================================================== -->
67   <ciManagement>
68     <system>Hudson</system>
69     <url>http://hudson.zones.apache.org/hudson/job/Shindig/</url>
70   </ciManagement>
72   <!-- ====================================================================== -->
73   <!-- D I S T R I B U T I O N  M A N A G E M E N T                           -->
74   <!-- ====================================================================== -->
75   <distributionManagement>
76     <repository>
77       <id>apache.incubating</id>
78       <name>Apache Incubating Repository</name>
79       <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url>
80     </repository>
81     <snapshotRepository>
82       <id>apache.snapshots</id>
83       <name>Apache Development Snapshot Repository</name>
84       <url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
85     </snapshotRepository>
86     <!-- This is the technical website for Shindig 1.1.x -->
87     <site>
88       <id>apache.website</id>
89       <url>scp://people.apache.org/www/incubator.apache.org/shindig/shindig-1.1.x</url>
90     </site>
91   </distributionManagement>
93   <!-- ====================================================================== -->
94   <!-- M A I L I N G   L I S T S                                              -->
95   <!-- ====================================================================== -->
96   <mailingLists>
97     <mailingList>
98       <name>Shindig Dev List</name>
99       <subscribe>shindig-dev-subscribe@incubator.apache.org</subscribe>
100       <unsubscribe>shindig-dev-unsubscribe@incubator.apache.org</unsubscribe>
101       <post>shindig-dev@incubator.apache.org</post>
102       <archive>http://mail-archives.apache.org/mod_mbox/incubator-shindig-dev/</archive>
103       <otherArchives>
104         <otherArchive>http://shindig-dev.markmail.org/</otherArchive>
105       </otherArchives>
106     </mailingList>
107     <mailingList>
108       <name>Shindig Commit List</name>
109       <subscribe>shindig-commits-subscribe@incubator.apache.org</subscribe>
110       <unsubscribe>shindig-commits-unsubscribe@incubator.apache.org</unsubscribe>
111       <archive>http://mail-archives.apache.org/mod_mbox/incubator-shindig-commits/</archive>
112     </mailingList>
113     <mailingList>
114       <name>Shindig Issues List</name>
115       <subscribe>shindig-issues-subscribe@incubator.apache.org</subscribe>
116       <unsubscribe>shindig-issues-unsubscribe@incubator.apache.org</unsubscribe>
117       <archive>http://mail-archives.apache.org/mod_mbox/incubator-shindig-issues/</archive>
118     </mailingList>
119   </mailingLists>
121   <!-- ====================================================================== -->
122   <!-- P E O P L E                                                            -->
123   <!-- ====================================================================== -->
124   <!-- Developers listed by PMC Chair, PMC, Mentors, Committers, Contributers, all alphabetical-->
125   <developers>
126     <!-- PMC Chair -->
127     <!-- PMC -->
128     <developer>
129       <id>brianm</id>
130       <name>Brian McCallister</name>
131       <email>brianm@apache.org</email>
132       <organization>ASF</organization>
133       <roles>
134         <role>PMC Member</role>
135         <role>Mentor</role>
136       </roles>
137     </developer>
138     <developer>
139       <id>chabotc</id>
140       <name>Chris Chabot</name>
141       <email>chabotc@apache.org</email>
142       <organization>ASF</organization>
143       <roles>
144         <role>PMC Member</role>
145       </roles>
146     </developer>
147     <developer>
148       <id>dbentley</id>
149       <name>Daniel Bentley</name>
150       <email>dbentley@apache.org</email>
151       <organization>ASF</organization>
152       <roles>
153         <role>PMC Member</role>
154       </roles>
155     </developer>
156     <developer>
157       <id>doll</id>
158       <name>Cassie Doll</name>
159       <email>doll@apache.org</email>
160       <organization>ASF</organization>
161       <roles>
162         <role>PMC Member</role>
163       </roles>
164     </developer>
165     <developer>
166       <id>etnu</id>
167       <name>Kevin Brown</name>
168       <email>etnu@apache.org</email>
169       <organization>ASF</organization>
170       <roles>
171         <role>PMC Member</role>
172       </roles>
173     </developer>
174     <developer>
175       <id>ieb</id>
176       <name>Ian Boston</name>
177       <email>ieb@apache.org</email>
178       <organization>ASF</organization>
179       <roles>
180         <role>PMC Member</role>
181       </roles>
182     </developer>
183     <developer>
184       <id>evan</id>
185       <name>Evan Gilbert</name>
186       <email>evan@apache.org</email>
187       <organization>ASF</organization>
188       <roles>
189         <role>PMC Member</role>
190       </roles>
191     </developer>
192     <developer>
193       <id>johnh</id>
194       <name>John Hjelmstad</name>
195       <email>johnh@apache.org</email>
196       <organization>ASF</organization>
197       <roles>
198         <role>PMC Member</role>
199       </roles>
200     </developer>
201     <developer>
202       <id>jyang</id>
203       <name>Jun Yang</name>
204       <email>jyang@apache.org</email>
205       <organization>ASF</organization>
206       <roles>
207         <role>PMC Member</role>
208       </roles>
209     </developer>
210     <developer>
211       <id>lindner</id>
212       <name>Paul Lindner</name>
213       <email>lindner@apache.org</email>
214       <organization>ASF</organization>
215       <roles>
216         <role>PMC Member</role>
217       </roles>
218     </developer>
219     <developer>
220       <id>sgala</id>
221       <name>Santiago Gala</name>
222       <email>sgala@hisitech.com</email>
223       <organization>ASF</organization>
224       <roles>
225        <role>PMC Member</role>
226        <role>Mentor</role>
227       </roles>
228     </developer>
229     <developer>
230       <id>lryan</id>
231       <name>Louis Ryan</name>
232       <email>lryan@apache.org</email>
233       <organization>ASF</organization>
234       <roles>
235         <role>PMC Member</role>
236       </roles>
237     </developer>
238     <developer>
239       <id>martint</id>
240       <name>Martin Traverso</name>
241       <email>martint@apache.org</email>
242       <organization>ASF</organization>
243       <roles>
244         <role>PMC Member</role>
245       </roles>
246     </developer>
247     <developer>
248       <id>vsiveton</id>
249       <name>Vincent Siveton</name>
250       <email>vsiveton@apache.org</email>
251       <organization>ASF</organization>
252       <roles>
253         <role>PMC Member</role>
254       </roles>
255     </developer>
256     <developer>
257       <id>zhen</id>
258       <name>Zhen Wang</name>
259       <email>zhen@apache.org</email>
260       <organization>ASF</organization>
261       <roles>
262         <role>PMC Member</role>
263       </roles>
264     </developer>
265     <developer>
266       <id>awiner</id>
267       <name>Adam Winer</name>
268       <email>awiner@apache.org</email>
269       <organization>ASF</organization>
270       <roles>
271         <role>PMC Member</role>
272       </roles>
273     </developer>
274         <developer>
275       <id>chico</id>
276       <name>Chico Charlesworth</name>
277       <email>chico@apache.org</email>
278       <organization>ASF</organization>
279       <roles>
280         <role>PMC Member</role>
281       </roles>
282     </developer>
283     <!-- Mentors -->
284     <developer>
285       <id>fitz</id>
286       <name>Brian Fitzpatrick</name>
287       <email>fitz@apache.org</email>
288       <organization>ASF</organization>
289       <roles>
290         <role>Mentor</role>
291       </roles>
292     </developer>
293     <developer>
294       <id>gstein</id>
295       <name>Greg Stein</name>
296       <email>gstein@apache.org</email>
297       <organization>ASF</organization>
298       <roles>
299         <role>Mentor</role>
300       </roles>
301     </developer>
302     <developer>
303       <id>sylvain</id>
304       <name>Sylvain Wallez</name>
305       <email>sylvain@apache.org</email>
306       <organization>ASF</organization>
307       <roles>
308         <role>Mentor</role>
309       </roles>
310     </developer>
311     <developer>
312       <id>tomdz</id>
313       <name>Thomas Dudziak</name>
314       <email>tomdz@apache.org</email>
315       <organization>ASF</organization>
316       <roles>
317         <role>Mentor</role>
318       </roles>
319     </developer>
320     <developer>
321       <id>upayavira</id>
322       <name>Upayavira</name>
323       <email>upayavira@apache.org</email>
324       <organization>ASF</organization>
325       <roles>
326         <role>Mentor</role>
327       </roles>
328     </developer>
329     <developer>
330       <id>dharkness</id>
331       <name>David Harkness</name>
332       <email>dharkness@apache.org</email>
333       <organization>ASF</organization>
334       <roles>
335         <role>Emeritus</role>
336       </roles>
337     </developer>
338     <!--Committers-->
339   </developers>
341   <!-- ====================================================================== -->
342   <!-- P R O F I L E S                                                        -->
343   <!-- ====================================================================== -->
344   <profiles>
345     <!-- default profile that builds everything -->
346     <profile>
347       <id>all</id>
348       <activation>
349         <activeByDefault>true</activeByDefault>
350       </activation>
351       <modules>
352         <module>java</module>
353       </modules>
354     </profile>
356     <!-- profile to build features jar -->
357     <profile>
358       <id>features</id>
359       <modules>
360         <module>features</module>
361       </modules>
362     </profile>
364     <!-- profile to build java/gadgets -->
365     <profile>
366       <id>gadgets</id>
367       <modules>
368         <module>java/gadgets</module>
369       </modules>
370     </profile>
372     <!-- profile to build java/rest-api -->
373     <profile>
374       <id>social-api</id>
375       <modules>
376         <module>java/social-api</module>
377       </modules>
378     </profile>
379     <profile>
380       <id>common</id>
381       <modules>
382         <module>java/common</module>
383       </modules>
384     </profile>
386     <!-- profile to build java/samples -->
387     <profile>
388       <id>samples</id>
389       <modules>
390         <module>java/samples</module>
391       </modules>
392     </profile>
394     <profile>
395       <id>run</id>
396       <properties>
397         <runType>full</runType>
398       </properties>
399       <dependencies>
400         <!-- project dependencies -->
401         <dependency>
402           <groupId>org.apache.shindig</groupId>
403           <artifactId>shindig-gadgets</artifactId>
404           <version>${project.version}</version>
405         </dependency>
407         <dependency>
408           <groupId>org.apache.shindig</groupId>
409           <artifactId>shindig-social-api</artifactId>
410           <version>${project.version}</version>
411         </dependency>
413         <!-- external dependencies -->
414       </dependencies>
416       <build>
417         <defaultGoal>jetty:run-war</defaultGoal>
418         <plugins>
419           <plugin>
420             <groupId>org.apache.maven.plugins</groupId>
421             <artifactId>maven-antrun-plugin</artifactId>
422             <executions>
423               <execution>
424                 <id>create-work</id>
425                 <phase>compile</phase>
426                 <configuration>
427                   <tasks>
428                     <mkdir dir="target" />
429                   </tasks>
430                 </configuration>
431                 <goals>
432                   <goal>run</goal>
433                 </goals>
434               </execution>
435             </executions>
436           </plugin>
437           <plugin>
438             <groupId>org.mortbay.jetty</groupId>
439             <artifactId>maven-jetty-plugin</artifactId>
440             <configuration>
441               <tempDirectory>${basedir}/java/server/target/work</tempDirectory>
442               <webApp>${basedir}/java/server/target/shindig-server-${pom.version}.war</webApp>
443               <contextPath>/</contextPath>
444               <webXml>${basedir}/java/server/target/shindig-server-${pom.version}/WEB-INF/web.${runType}.xml</webXml>
445             </configuration>
446           </plugin>
447         </plugins>
448       </build>
449     </profile>
451     <profile>
452       <id>reporting</id>
453       <modules>
454         <module>java</module>
455       </modules>
456       <build>
457         <plugins>
458           <plugin>
459             <groupId>org.codehaus.mojo</groupId>
460             <artifactId>cobertura-maven-plugin</artifactId>
461             <configuration>
462               <check>
463                 <haltOnFailure>false</haltOnFailure>
464                 <regexes>
465                   <regex>
466                     <pattern>org.apache.shindig.*</pattern>
467                     <branchRate>90</branchRate>
468                     <lineRate>90</lineRate>
469                   </regex>
470                 </regexes>
471               </check>
472               <instrumentation>
473                 <includes>
474                   <include>org/apache/shindig/**/*.class</include>
475                 </includes>
476               </instrumentation>
477             </configuration>
478             <executions>
479               <execution>
480                 <id>clean</id>
481                 <phase>pre-site</phase>
482                 <goals>
483                   <goal>clean</goal>
484                 </goals>
485               </execution>
486               <execution>
487                 <id>instrument</id>
488                 <phase>site</phase>
489                 <goals>
490                   <goal>instrument</goal>
491                   <goal>cobertura</goal>
492                   <goal>check</goal>
493                 </goals>
494               </execution>
495             </executions>
496           </plugin>
497         </plugins>
498       </build>
499       <reporting>
500         <!-- ordered alphabetically by owner -->
501         <plugins>
502           <plugin>
503             <groupId>org.apache.maven.plugins</groupId>
504             <artifactId>maven-checkstyle-plugin</artifactId>
505             <version>2.2</version>
506             <configuration>
507               <configLocation>http://svn.apache.org/repos/asf/incubator/shindig/trunk/etc/checkstyle/checkstyle.xml</configLocation>
508               <headerLocation>http://svn.apache.org/repos/asf/incubator/shindig/trunk/etc/checkstyle/java.header</headerLocation>
509               <encoding>${project.build.sourceEncoding}</encoding>
510             </configuration>
511           </plugin>
512           <plugin>
513             <groupId>org.apache.maven.plugins</groupId>
514             <artifactId>maven-javadoc-plugin</artifactId>
515             <version>2.5</version>
516             <configuration>
517               <source>1.5</source>
518               <target>1.5</target>
519               <encoding>${project.build.sourceEncoding}</encoding>
520               <links>
521                 <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
522                 <link>http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/</link>
523                 <link>http://www.json.org/javadoc/</link>
524                 <link>http://junit.sourceforge.net/javadoc/</link>
525               </links>
526             </configuration>
527             <reportSets>
528               <reportSet>
529                 <id>non-aggregate</id>
530                 <configuration>
531                   <aggregate>false</aggregate>
532                 </configuration>
533                 <reports>
534                   <report>javadoc</report>
535                   <report>test-javadoc</report>
536                 </reports>
537               </reportSet>
538               <reportSet>
539                 <id>aggregate</id>
540                 <configuration>
541                   <aggregate>true</aggregate>
542                 </configuration>
543                 <reports>
544                   <report>aggregate</report>
545                   <report>test-aggregate</report>
546                 </reports>
547               </reportSet>
548             </reportSets>
549           </plugin>
550           <plugin>
551             <groupId>org.apache.maven.plugins</groupId>
552             <artifactId>maven-jxr-plugin</artifactId>
553             <version>2.1</version>
554             <configuration>
555               <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
556               <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
557             </configuration>
558             <reportSets>
559               <reportSet>
560                 <id>non-aggregate</id>
561                 <configuration>
562                   <aggregate>false</aggregate>
563                 </configuration>
564                 <reports>
565                   <report>jxr</report>
566                   <report>test-jxr</report>
567                 </reports>
568               </reportSet>
569               <reportSet>
570                 <id>aggregate</id>
571                 <configuration>
572                   <aggregate>true</aggregate>
573                 </configuration>
574                 <reports>
575                   <report>jxr</report>
576                   <report>test-jxr</report>
577                 </reports>
578               </reportSet>
579             </reportSets>
580           </plugin>
581           <plugin>
582             <groupId>org.apache.maven.plugins</groupId>
583             <artifactId>maven-pmd-plugin</artifactId>
584             <version>2.1</version>
585             <configuration>
586               <targetJdk>1.5</targetJdk>
587               <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
588             </configuration>
589             <reportSets>
590               <reportSet>
591                 <id>non-aggregate</id>
592                 <configuration>
593                   <aggregate>false</aggregate>
594                 </configuration>
595                 <reports>
596                   <report>cpd</report>
597                   <report>pmd</report>
598                 </reports>
599               </reportSet>
600               <reportSet>
601                 <id>aggregate</id>
602                 <configuration>
603                   <aggregate>true</aggregate>
604                 </configuration>
605                 <reports>
606                   <report>cpd</report>
607                   <report>pmd</report>
608                 </reports>
609               </reportSet>
610             </reportSets>
611           </plugin>
613           <!-- Mojo -->
614           <!--plugin>
615             <groupId>org.codehaus.mojo</groupId>
616             <artifactId>clirr-maven-plugin</artifactId>
617             <version>2.2.2</version>
618           </plugin-->
619           <plugin>
620             <groupId>org.codehaus.mojo</groupId>
621             <artifactId>cobertura-maven-plugin</artifactId>
622             <version>2.2</version>
623           </plugin>
624           <plugin>
625             <groupId>org.codehaus.mojo</groupId>
626             <artifactId>findbugs-maven-plugin</artifactId>
627             <version>1.2</version>
628           </plugin>
629           <plugin>
630             <groupId>org.codehaus.mojo</groupId>
631             <artifactId>jdepend-maven-plugin</artifactId>
632             <version>2.0-beta-2</version>
633           </plugin>
634           <plugin>
635             <groupId>org.codehaus.mojo</groupId>
636             <artifactId>rat-maven-plugin</artifactId>
637             <version>1.0-alpha-3</version>
638             <configuration>
639               <includes>
640                 <include>**/*.java</include>
641               </includes>
642               <excludes>
643                 <exclude>**/jsunit/**/*</exclude>
644               </excludes>
645             </configuration>
646           </plugin>
647           <plugin>
648             <groupId>org.apache.maven.plugins</groupId>
649             <artifactId>maven-surefire-report-plugin</artifactId>
650             <version>2.4.3</version>
651           </plugin>
652           <plugin>
653             <groupId>org.codehaus.mojo</groupId>
654             <artifactId>taglist-maven-plugin</artifactId>
655             <version>2.3</version>
656             <configuration>
657               <tags>
658                 <tag>TODO</tag>
659                 <tag>FIXME</tag>
660                 <tag>@todo</tag>
661                 <tag>@deprecated</tag>
662               </tags>
663               <encoding>${project.build.sourceEncoding}</encoding>
664             </configuration>
665             <reportSets>
666               <reportSet>
667                 <id>non-aggregate</id>
668                 <configuration>
669                   <aggregate>false</aggregate>
670                 </configuration>
671                 <reports>
672                   <report>taglist</report>
673                 </reports>
674               </reportSet>
675               <reportSet>
676                 <id>aggregate</id>
677                 <configuration>
678                   <aggregate>true</aggregate>
679                 </configuration>
680                 <reports>
681                   <report>taglist</report>
682                 </reports>
683               </reportSet>
684             </reportSets>
685           </plugin>
686         </plugins>
687       </reporting>
688     </profile>
690     <profile>
691       <id>release</id>
692       <build>
693         <plugins>
694           <!-- We want to sign the artifact, the POM, and all attached artifacts -->
695           <plugin>
696             <groupId>org.apache.maven.plugins</groupId>
697             <artifactId>maven-gpg-plugin</artifactId>
698             <configuration>
699               <passphrase>${gpg.passphrase}</passphrase>
700             </configuration>
701             <executions>
702               <execution>
703                 <goals>
704                   <goal>sign</goal>
705                 </goals>
706               </execution>
707             </executions>
708           </plugin>
709           <!-- We want to deploy the artifact to a staging location for perusal -->
710           <plugin>
711             <inherited>true</inherited>
712             <groupId>org.apache.maven.plugins</groupId>
713             <artifactId>maven-deploy-plugin</artifactId>
714             <configuration>
715               <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
716               <updateReleaseInfo>true</updateReleaseInfo>
717             </configuration>
718           </plugin>
719           <plugin>
720             <groupId>org.apache.maven.plugins</groupId>
721             <artifactId>maven-source-plugin</artifactId>
722             <executions>
723               <execution>
724                 <id>attach-sources</id>
725                 <goals>
726                   <goal>jar</goal>
727                   <goal>test-jar</goal>
728                 </goals>
729               </execution>
730             </executions>
731           </plugin>
732           <plugin>
733             <groupId>org.apache.maven.plugins</groupId>
734             <artifactId>maven-javadoc-plugin</artifactId>
735             <executions>
736               <execution>
737                 <id>attach-javadocs</id>
738                 <goals>
739                   <goal>jar</goal>
740                 </goals>
741               </execution>
742             </executions>
743           </plugin>
744         </plugins>
745       </build>
746       <modules>
747         <module>java</module>
748         <module>java/samples</module>
749         <module>assembly</module>
750       </modules>
751     </profile>
753     <profile>
754       <id>assemble</id>
755       <build>
756         <plugins>
757           <plugin>
758             <groupId>org.apache.maven.plugins</groupId>
759             <artifactId>maven-source-plugin</artifactId>
760             <executions>
761               <execution>
762                 <id>attach-sources</id>
763                 <goals>
764                   <goal>jar</goal>
765                   <goal>test-jar</goal>
766                 </goals>
767               </execution>
768             </executions>
769           </plugin>
770           <plugin>
771             <groupId>org.apache.maven.plugins</groupId>
772             <artifactId>maven-javadoc-plugin</artifactId>
773             <version>2.4</version> <!-- override for hudson -->
774             <executions>
775               <execution>
776                 <id>attach-javadocs</id>
777                 <goals>
778                   <goal>jar</goal>
779                 </goals>
780               </execution>
781             </executions>
782           </plugin>
783         </plugins>
784       </build>
785       <modules>
786         <module>java</module>
787         <module>assembly</module>
788       </modules>
789     </profile>
791     <profile>
792       <id>to-committers</id>
793       <build>
794         <defaultGoal>xslt:transform</defaultGoal>
795         <plugins>
796           <plugin>
797             <groupId>org.codehaus.mojo</groupId>
798             <artifactId>xslt-maven-plugin</artifactId>
799             <configuration>
800               <xslFile>${basedir}/etc/to-committers.xsl</xslFile>
801               <srcIncludes>pom.xml</srcIncludes>
802               <srcDir>${basedir}</srcDir>
803               <destDir>${build.directory}</destDir>
804               <fileNameRegex>pom.xml</fileNameRegex>
805               <fileNameReplacement>COMMITTERS</fileNameReplacement>
806             </configuration>
807             <executions>
808               <execution>
809                 <goals>
810                   <goal>transform</goal>
811                 </goals>
812               </execution>
813             </executions>
814           </plugin>
815         </plugins>
816       </build>
817     </profile>
818   </profiles>
820   <!-- ====================================================================== -->
821   <!-- B U I L D                                                              -->
822   <!-- ====================================================================== -->
824   <properties>
825     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
826   </properties>
828   <build>
829     <defaultGoal>install</defaultGoal>
831     <pluginManagement>
832       <!-- set versions/conf of common plugins for reproducibility, ordered alphabetically by owner -->
833       <plugins>
834         <!-- Maven -->
835         <plugin>
836           <groupId>org.apache.maven.plugins</groupId>
837           <artifactId>maven-antrun-plugin</artifactId>
838           <version>1.3</version>
839         </plugin>
840         <plugin>
841           <groupId>org.apache.maven.plugins</groupId>
842           <artifactId>maven-clean-plugin</artifactId>
843           <version>2.3</version>
844         </plugin>
845         <plugin>
846           <groupId>org.apache.maven.plugins</groupId>
847           <artifactId>maven-compiler-plugin</artifactId>
848           <version>2.0.2</version>
849           <configuration>
850             <source>1.5</source>
851             <target>1.5</target>
852             <showDeprecation>true</showDeprecation>
853             <compilerArgument>-Xlint:unchecked,deprecation,fallthrough,finally</compilerArgument>
854             <fork>true</fork>
855             <encoding>${project.build.sourceEncoding}</encoding>
856           </configuration>
857         </plugin>
858         <plugin>
859           <groupId>org.apache.maven.plugins</groupId>
860           <artifactId>maven-dependency-plugin</artifactId>
861           <version>2.1</version>
862         </plugin>
863         <plugin>
864           <groupId>org.apache.maven.plugins</groupId>
865           <artifactId>maven-deploy-plugin</artifactId>
866           <version>2.4</version>
867         </plugin>
868         <plugin>
869           <groupId>org.apache.maven.plugins </groupId>
870           <artifactId>maven-eclipse-plugin</artifactId>
871           <version>2.5.1</version>
872 <!--          <configuration>-->
873 <!--            <projectNameTemplate>${project.groupId}-${project.artifactId}</projectNameTemplate>-->
874 <!--          </configuration>-->
875         </plugin>
876         <plugin>
877           <groupId>org.apache.maven.plugins</groupId>
878           <artifactId>maven-enforcer-plugin</artifactId>
879           <version>1.0-beta-1</version>
880             <configuration>
881               <rules>
882                 <requireJavaVersion>
883                   <version>[1.5,)</version>
884                 </requireJavaVersion>
885               </rules>    
886             </configuration>
887         </plugin>
888         <plugin>
889           <groupId>org.apache.maven.plugins</groupId>
890           <artifactId>maven-gpg-plugin</artifactId>
891           <version>1.0-alpha-4</version>
892         </plugin>
893         <plugin>
894           <groupId>org.apache.maven.plugins</groupId>
895           <artifactId>maven-install-plugin</artifactId>
896           <version>     2.3</version>
897         </plugin>
898         <plugin>
899           <groupId>org.apache.maven.plugins</groupId>
900           <artifactId>maven-jar-plugin</artifactId>
901           <version>2.2</version>
902           <executions>
903            <execution>
904              <goals>
905                <goal>test-jar</goal>
906              </goals>
907            </execution>
908           </executions>
909           <configuration>
910             <archive>
911               <manifest>
912                 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
913                 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
914               </manifest>
915             </archive>
916           </configuration>
917         </plugin>
918         <plugin>
919           <groupId>org.apache.maven.plugins</groupId>
920           <artifactId>maven-javadoc-plugin</artifactId>
921           <version>2.5</version>
922           <configuration>
923             <source>1.5</source>
924             <target>1.5</target>
925             <encoding>${project.build.sourceEncoding}</encoding>
926             <links>
927               <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
928               <link>http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/</link>
929               <link>http://www.json.org/javadoc/</link>
930               <link>http://junit.sourceforge.net/javadoc/</link>
931             </links>
932           </configuration>
933         </plugin>
934         <plugin>
935           <groupId>org.apache.maven.plugins</groupId>
936           <artifactId>maven-jxr-plugin</artifactId>
937           <version>2.1</version>
938           <configuration>
939             <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
940           </configuration>
941         </plugin>
942         <!-- We want to package up license resources in the JARs produced -->
943         <plugin>
944           <groupId>org.apache.maven.plugins</groupId>
945           <artifactId>maven-remote-resources-plugin</artifactId>
946           <version>1.0</version>
947           <executions>
948             <execution>
949               <goals>
950                 <goal>process</goal>
951               </goals>
952               <configuration>
953                 <resourceBundles>
954                   <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
955                   <resourceBundle>org.apache:apache-incubator-disclaimer-resource-bundle:1.1</resourceBundle>
956                 </resourceBundles>
957               </configuration>
958             </execution>
959           </executions>
960         </plugin>
961         <plugin>
962           <groupId>org.apache.maven.plugins</groupId>
963           <artifactId>maven-resources-plugin</artifactId>
964           <version>2.3</version>
965           <configuration>
966             <encoding>${project.build.sourceEncoding}</encoding>
967           </configuration>
968         </plugin>
969         <plugin>
970           <groupId>org.apache.maven.plugins</groupId>
971           <artifactId>maven-site-plugin</artifactId>
972           <version>2.0</version>
973           <configuration>
974             <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
975             <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
976           </configuration>
977         </plugin>
978         <plugin>
979           <groupId>org.apache.maven.plugins</groupId>
980           <artifactId>maven-source-plugin</artifactId>
981           <version>2.0.4</version>
982           <executions>
983             <execution>
984               <id>attach-sources</id>
985               <goals>
986                 <goal>jar</goal>
987                 <goal>test-jar</goal>
988               </goals>
989             </execution>
990           </executions>
991           <configuration>
992             <excludeResources>false</excludeResources>
993             <attach>true</attach>
994           </configuration>
995         </plugin>
996         <plugin>
997           <groupId>org.apache.maven.plugins</groupId>
998           <artifactId>maven-surefire-plugin</artifactId>
999           <version>2.4.3</version>
1000         </plugin>
1001         <plugin>
1002           <groupId>org.apache.maven.plugins</groupId>
1003           <artifactId>maven-war-plugin</artifactId>
1004           <version>2.1-beta-1</version>
1005         </plugin>
1007         <!-- Mojo -->
1008         <plugin>
1009           <groupId>org.codehaus.mojo</groupId>
1010           <artifactId>cobertura-maven-plugin</artifactId>
1011           <version>2.2</version>
1012         </plugin>
1013         <plugin>
1014           <groupId>org.codehaus.mojo</groupId>
1015           <artifactId>findbugs-maven-plugin</artifactId>
1016           <version>1.2</version>
1017         </plugin>
1018         <plugin>
1019           <groupId>org.codehaus.mojo</groupId>
1020           <artifactId>jdepend-maven-plugin</artifactId>
1021           <version>2.0-beta-2</version>
1022         </plugin>
1023         <plugin>
1024           <groupId>org.codehaus.mojo</groupId>
1025           <artifactId>rat-maven-plugin</artifactId>
1026           <version>1.0-alpha-3</version>
1027           <executions>
1028             <execution>
1029               <phase>verify</phase>
1030               <goals>
1031                 <goal>check</goal>
1032               </goals>
1033             </execution>
1034           </executions>
1035           <configuration>
1036             <includes>
1037               <include>**/*.java</include>
1038             </includes>
1039             <excludes>
1040               <exclude>**/jsunit/**/*</exclude>
1041             </excludes>
1042           </configuration>
1043         </plugin>
1044         <plugin>
1045           <groupId>org.codehaus.mojo</groupId>
1046           <artifactId>taglist-maven-plugin</artifactId>
1047           <version>2.3</version>
1048         </plugin>
1049         <plugin>
1050           <groupId>org.codehaus.mojo</groupId>
1051           <artifactId>xslt-maven-plugin</artifactId>
1052           <version>1.0</version>
1053         </plugin>
1055         <!-- Misc -->
1056         <plugin>
1057           <groupId>org.mortbay.jetty</groupId>
1058           <artifactId>maven-jetty-plugin</artifactId>
1059           <version>6.1.15</version>
1060         </plugin>
1061         <plugin>
1062           <groupId>org.apache.geronimo.genesis.plugins</groupId>
1063           <artifactId>tools-maven-plugin</artifactId>
1064           <version>1.4</version>
1065           <executions>
1066             <execution>
1067               <id>verify-legal-files</id>
1068               <phase>verify</phase>
1069               <goals>
1070                 <goal>verify-legal-files</goal>
1071               </goals>
1072               <configuration>
1073                 <strict>true</strict>
1074               </configuration>
1075             </execution>
1076           </executions>
1077         </plugin>
1078       </plugins>
1079     </pluginManagement>
1081     <!-- ordered alphabetically by owner -->
1082     <plugins>
1083       <!-- Maven -->
1084       <plugin>
1085         <groupId>org.apache.maven.plugins</groupId>
1086         <artifactId>maven-eclipse-plugin</artifactId>
1087       </plugin>
1088       <plugin>
1089         <groupId>org.apache.maven.plugins</groupId>
1090         <artifactId>maven-enforcer-plugin</artifactId>
1091         <executions>
1092           <execution>
1093             <id>enforce-java</id>
1094             <goals>
1095               <goal>enforce</goal>
1096             </goals>
1097           </execution>
1098         </executions>
1099       </plugin>
1100       <!-- We want to package up license resources in the JARs produced -->
1101       <plugin>
1102         <groupId>org.apache.maven.plugins</groupId>
1103         <artifactId>maven-remote-resources-plugin</artifactId>
1104       </plugin>
1105       <plugin>
1106         <groupId>org.apache.maven.plugins</groupId>
1107         <artifactId>maven-resources-plugin</artifactId>
1108       </plugin>
1109       <plugin>
1110         <groupId>org.apache.maven.plugins</groupId>
1111         <artifactId>maven-source-plugin</artifactId>
1112       </plugin>
1113       <plugin>
1114         <groupId>org.apache.maven.plugins</groupId>
1115         <artifactId>maven-site-plugin</artifactId>
1116       </plugin>
1118       <!-- Mojo -->
1119       <plugin>
1120         <groupId>org.codehaus.mojo</groupId>
1121         <artifactId>rat-maven-plugin</artifactId>
1122       </plugin>
1124       <!-- Misc -->
1125       <plugin>
1126         <groupId>org.apache.geronimo.genesis.plugins</groupId>
1127         <artifactId>tools-maven-plugin</artifactId>
1128       </plugin>
1129     </plugins>
1130   </build>
1132   <!-- ====================================================================== -->
1133   <!-- R E P O R T I N G                                                      -->
1134   <!-- ====================================================================== -->
1135   <reporting>
1136     <!-- ordered alphabetically by owner -->
1137     <plugins>
1138       <!-- Maven -->
1139       <plugin>
1140         <groupId>org.apache.maven.plugins</groupId>
1141         <artifactId>maven-project-info-reports-plugin</artifactId>
1142         <version>2.1.1</version>
1143       </plugin>
1144     </plugins>
1145   </reporting>
1147   <!-- ====================================================================== -->
1148   <!-- R E P O S I T O R I E S                                                -->
1149   <!-- ====================================================================== -->
1150   <repositories>
1151     <repository>
1152       <id>central</id>
1153       <name>Maven Repository Switchboard</name>
1154       <layout>default</layout>
1155       <url>http://repo1.maven.org/maven2</url>
1156       <snapshots>
1157         <enabled>false</enabled>
1158       </snapshots>
1159     </repository>
1160     <repository>
1161       <id>caja</id>
1162       <url>http://google-caja.googlecode.com/svn/maven</url>
1163     </repository>
1164     <repository>
1165       <id>oauth</id>
1166       <url>http://oauth.googlecode.com/svn/code/maven</url>
1167     </repository>
1168     <repository>
1169       <id>apache-incubator</id>
1170       <url>http://people.apache.org/repo/m2-incubating-repository</url>
1171     </repository>
1172     <!-- for jstl-1.2 for now.. -->
1173     <repository>
1174       <id>java.net</id>
1175       <url>http://download.java.net/maven/1</url>
1176       <layout>legacy</layout>
1177     </repository>
1178     <repository>
1179       <id>jboss</id>
1180       <url>http://repository.jboss.com/maven2</url>
1181     </repository>
1182   </repositories>
1184   <!-- ====================================================================== -->
1185   <!-- D E P E N D E N C I E S                                                -->
1186   <!-- ====================================================================== -->
1187   <dependencies>
1188     <dependency>
1189       <groupId>javax.servlet</groupId>
1190       <artifactId>servlet-api</artifactId>
1191       <version>2.5</version>
1192       <scope>provided</scope>
1193     </dependency>
1194     <dependency>
1195       <groupId>junit</groupId>
1196       <artifactId>junit</artifactId>
1197       <version>4.5</version>
1198       <scope>test</scope>
1199     </dependency>
1200     <dependency>
1201       <groupId>junit-addons</groupId>
1202       <artifactId>junit-addons</artifactId>
1203       <version>1.4</version>
1204       <scope>test</scope>
1205     </dependency>
1206     <dependency>
1207       <groupId>org.easymock</groupId>
1208       <artifactId>easymock</artifactId>
1209       <version>2.4</version>
1210       <scope>test</scope>
1211     </dependency>
1212     <dependency>
1213       <groupId>org.easymock</groupId>
1214       <artifactId>easymockclassextension</artifactId>
1215       <version>2.4</version>
1216       <scope>test</scope>
1217     </dependency>
1218     <dependency>
1219       <groupId>xmlunit</groupId>
1220       <artifactId>xmlunit</artifactId>
1221       <version>1.2</version>
1222       <scope>test</scope>
1223     </dependency>
1224   </dependencies>
1226   <dependencyManagement>
1227     <dependencies>
1228       <!-- project dependencies -->
1229       <dependency>
1230         <groupId>org.apache.shindig</groupId>
1231         <artifactId>shindig-features</artifactId>
1232         <version>${project.version}</version>
1233       </dependency>
1234       <dependency>
1235         <groupId>org.apache.shindig</groupId>
1236         <artifactId>shindig-common</artifactId>
1237         <version>${project.version}</version>
1238       </dependency>
1239       <dependency>
1240         <groupId>org.apache.shindig</groupId>
1241         <artifactId>shindig-gadgets</artifactId>
1242         <version>${project.version}</version>
1243       </dependency>
1244       <dependency>
1245         <groupId>org.apache.shindig</groupId>
1246         <artifactId>shindig-server</artifactId>
1247         <version>${project.version}</version>
1248       </dependency>
1249       <dependency>
1250         <groupId>org.apache.shindig</groupId>
1251         <artifactId>shindig-social-api</artifactId>
1252         <version>${project.version}</version>
1253       </dependency>
1254       <dependency>
1255         <groupId>org.apache.shindig</groupId>
1256         <artifactId>shindig-common</artifactId>
1257         <version>${project.version}</version>
1258         <type>test-jar</type>
1259       </dependency>
1261       <!-- external dependencies -->
1262       <dependency>
1263         <groupId>com.google.code.guice</groupId>
1264         <artifactId>guice</artifactId>
1265         <version>1.0</version>
1266       </dependency>
1267       <!-- dependency not declared in guice pom -->
1268       <dependency>
1269         <groupId>aopalliance</groupId>
1270         <artifactId>aopalliance</artifactId>
1271         <version>1.0</version>
1272       </dependency>
1273       <dependency>
1274         <groupId>com.google.collections</groupId>
1275         <artifactId>google-collections</artifactId>
1276         <version>0.9</version>
1277       </dependency>
1278       <dependency>
1279         <groupId>commons-codec</groupId>
1280         <artifactId>commons-codec</artifactId>
1281         <version>1.3</version>
1282       </dependency>
1283       <dependency>
1284         <groupId>commons-fileupload</groupId>
1285         <artifactId>commons-fileupload</artifactId>
1286         <version>1.2</version>
1287       </dependency>
1288       <dependency>
1289         <groupId>org.json</groupId>
1290         <artifactId>json</artifactId>
1291         <version>20070829</version>
1292       </dependency>
1293       <dependency>
1294         <groupId>caja</groupId>
1295         <artifactId>caja</artifactId>
1296         <version>r3375</version>
1297         <scope>compile</scope>
1298       </dependency>
1299       <dependency>
1300         <groupId>caja</groupId>
1301         <artifactId>json_simple</artifactId>
1302         <version>r1</version>
1303         <scope>compile</scope>
1304       </dependency>
1305       <dependency>
1306         <groupId>net.oauth</groupId>
1307         <artifactId>oauth-core</artifactId>
1308         <version>20090315</version>
1309         <scope>compile</scope>
1310       </dependency>
1311       <dependency>
1312         <groupId>commons-lang</groupId>
1313         <artifactId>commons-lang</artifactId>
1314         <version>2.4</version>
1315         <scope>compile</scope>
1316       </dependency>
1317       <dependency>
1318         <groupId>commons-io</groupId>
1319         <artifactId>commons-io</artifactId>
1320         <version>1.4</version>
1321         <scope>compile</scope>
1322       </dependency>
1323       <dependency>
1324         <artifactId>commons-betwixt</artifactId>
1325         <groupId>commons-betwixt</groupId>
1326         <version>0.8</version>
1327       </dependency>
1328       <dependency>
1329         <artifactId>commons-collections</artifactId>
1330         <groupId>commons-collections</groupId>
1331         <version>3.2.1</version>
1332       </dependency>
1333       <dependency>
1334         <groupId>org.mortbay.jetty</groupId>
1335         <artifactId>jetty</artifactId>
1336         <version>6.1.15</version>
1337       </dependency>
1338       <dependency>
1339         <groupId>joda-time</groupId>
1340         <artifactId>joda-time</artifactId>
1341         <version>1.6</version>
1342       </dependency>
1343       <dependency>
1344         <groupId>rome</groupId>
1345         <artifactId>rome</artifactId>
1346         <version>0.9</version>
1347       </dependency>
1348       <dependency>
1349         <groupId>com.ibm.icu</groupId>
1350         <artifactId>icu4j</artifactId>
1351         <version>3.8</version>
1352       </dependency>
1353       <dependency>
1354         <groupId>net.sourceforge.htmlunit</groupId>
1355         <artifactId>htmlunit</artifactId>
1356         <version>2.5</version>
1357       </dependency>
1358       <dependency>
1359         <groupId>log4j</groupId>
1360         <artifactId>log4j</artifactId>
1361         <version>1.2.13</version>
1362       </dependency>
1363       <dependency>
1364         <groupId>rhino</groupId>
1365         <artifactId>js</artifactId>
1366         <version>1.6R7</version>
1367       </dependency>
1368       <dependency>
1369         <groupId>org.apache.geronimo.specs</groupId>
1370         <artifactId>geronimo-stax-api_1.0_spec</artifactId>
1371         <version>1.0.1</version>
1372       </dependency>
1373       <dependency>
1374         <groupId>net.sf.ehcache</groupId>
1375         <artifactId>ehcache</artifactId>
1376         <version>1.5.0</version>
1377       </dependency>
1378       <dependency>
1379         <groupId>findbugs</groupId>
1380         <artifactId>annotations</artifactId>
1381         <version>1.0.0</version>
1382         <scope>provided</scope>
1383       </dependency>
1384       <dependency>
1385         <groupId>com.thoughtworks.xstream</groupId>
1386         <artifactId>xstream</artifactId>
1387         <version>1.3.1</version>
1388       </dependency>
1389       <dependency>
1390         <groupId>xpp3</groupId>
1391         <artifactId>xpp3_min</artifactId>
1392         <version>1.1.4c</version>
1393       </dependency>
1394       <dependency>
1395         <groupId>net.sourceforge.nekohtml</groupId>
1396         <artifactId>nekohtml</artifactId>
1397         <version>1.9.11</version>
1398       </dependency>
1399       <dependency>
1400         <groupId>xerces</groupId>
1401         <artifactId>xercesImpl</artifactId>
1402         <version>2.9.1</version>
1403       </dependency>
1404       <dependency>
1405         <groupId>xerces</groupId>
1406         <artifactId>xmlParserAPIs</artifactId>
1407         <version>2.6.2</version>
1408       </dependency>
1409       <dependency>
1410         <groupId>woodstox</groupId>
1411         <artifactId>wstx</artifactId>
1412         <version>1.0.7</version>
1413       </dependency>
1414       <dependency>
1415         <groupId>org.apache.sanselan</groupId>
1416         <artifactId>sanselan</artifactId>
1417         <version>0.97-incubator</version>
1418       </dependency>
1419       <!--
1420           Intentionally not using the juel-impl RC build because we care about
1421           stability of that code.  juel-api only has an RC build available,
1422           but is also simple enough I'm not too concerned about bugs.
1423       -->
1424       <dependency>
1425         <groupId>juel</groupId>
1426         <artifactId>juel-api</artifactId>
1427         <version>2.1.1.RC2</version>
1428       </dependency>
1429       <dependency>
1430         <groupId>juel</groupId>
1431         <artifactId>juel-impl</artifactId>
1432         <version>2.1.0</version>
1433       </dependency>
1434       <dependency>
1435         <groupId>net.sf.ezmorph</groupId>
1436         <artifactId>ezmorph</artifactId>
1437         <version>1.0.4</version>
1438       </dependency>
1439       <dependency>
1440         <groupId>xml-apis</groupId>
1441         <artifactId>xml-apis</artifactId>
1442         <version>1.3.04</version>
1443       </dependency>
1444       <dependency>
1445         <groupId>commons-httpclient</groupId>
1446         <artifactId>commons-httpclient</artifactId>
1447         <version>3.1</version>
1448       </dependency>
1449       <dependency>
1450         <groupId>org.jsecurity</groupId>
1451         <artifactId>jsecurity</artifactId>
1452         <version>0.9.0</version>
1453       </dependency>
1454       <!-- TODO - switch to jakarta taglibs when the get a jstl 1.2 version out
1455                   See https://issues.apache.org/bugzilla/show_bug.cgi?id=45197 -->
1456       <dependency>
1457         <groupId>jstl</groupId>
1458         <artifactId>jstl</artifactId>
1459         <version>1.2</version>
1460       </dependency>
1461     </dependencies>
1462   </dependencyManagement>
1463 </project>