Add support for ternary operations, ie: $\{ViewerParam.likesRed \? 'Red' : 'Blue...
[shindig.git] / assembly / pom.xml
blob9dadd5909d433c020037d2b1286b261a6e58d745
1 <?xml version="1.0" encoding="UTF-8"?><!--
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements.  See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership.  The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License.  You may obtain a copy of the License at
9  *
10  *   http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied.  See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18 -->
19 <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">
20   <modelVersion>4.0.0</modelVersion>
22   <parent>
23     <groupId>org.apache.shindig</groupId>
24     <artifactId>shindig-parent</artifactId>
25     <version>1.1-SNAPSHOT</version>
26     <relativePath>../java/pom.xml</relativePath>
27   </parent>
29   <artifactId>shindig</artifactId>
30   <packaging>pom</packaging>
32   <name>Apache Shindig Distribution assembly</name>
33   <description>Assembles the PHP code base into a deployment package.</description>
35   <scm>
36     <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/shindig/trunk/assembly
37     </connection>
38     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/shindig/trunk/assembly
39     </developerConnection>
40     <url>http://svn.apache.org/viewvc/incubator/shindig/trunk/assembly</url>
41   </scm>
43   <build>
44     <filters>
45       <filter>src/main/assembly/binary-src/README</filter>
46     </filters>
47     <plugins>
48       <plugin>
49         <groupId>org.apache.maven.plugins</groupId>
50         <artifactId>maven-assembly-plugin</artifactId>
51         <configuration>
52           <descriptors>
53             <descriptor>src/main/assembly/php.xml</descriptor>
54             <descriptor>src/main/assembly/java.xml</descriptor>
55             <descriptor>src/main/assembly/source.xml</descriptor>
56           </descriptors>
57           <tarLongFileMode>gnu</tarLongFileMode>
58         </configuration>
59         <executions>
60           <execution>
61             <id>make-assembly</id>
62             <phase>package</phase>
63             <goals>
64               <goal>single</goal>
65             </goals>
66           </execution>
67         </executions>
68       </plugin>
69       <plugin>
70         <groupId>org.apache.geronimo.genesis.plugins</groupId>
71         <artifactId>tools-maven-plugin</artifactId>
72         <executions>
73           <execution>
74             <id>verify-legal-files</id>
75             <phase>verify</phase>
76             <goals>
77               <goal>verify-legal-files</goal>
78             </goals>
79             <configuration>
80               <strict>false</strict>
81             </configuration>
82           </execution>
83         </executions>
84       </plugin>
85       <plugin>
86         <groupId>org.apache.maven.plugins</groupId>
87         <artifactId>maven-antrun-plugin</artifactId>
88         <executions>
89           <execution>
90             <id>align-php-structure</id>
91             <phase>validate</phase>
92             <configuration>
93               <tasks>
95                 <!-- Rewrite default configuration to release structure -->
96                 <mkdir dir="${project.build.directory}/php/config"/>
97                 <copy todir="${project.build.directory}/php/config">
98                   <fileset dir="../php/config"/>
99                 </copy>
101                 <replace file="${project.build.directory}/php/config/container.php">
102                   <replacetoken><![CDATA[/../../]]></replacetoken>
103                   <replacevalue><![CDATA[/../]]></replacevalue>
104                 </replace>
106               </tasks>
107             </configuration>
108             <goals>
109               <goal>run</goal>
110             </goals>
111           </execution>
112         </executions>
113       </plugin>
114     </plugins>
115   </build>
116   <dependencies>
117     <dependency>
118       <groupId>org.apache.shindig</groupId>
119       <artifactId>shindig-common</artifactId>
120       <version>${project.version}</version>
121     </dependency>
122     <dependency>
123       <groupId>org.apache.shindig</groupId>
124       <artifactId>shindig-gadgets</artifactId>
125       <version>${project.version}</version>
126     </dependency>
127     <dependency>
128       <groupId>org.apache.shindig</groupId>
129       <artifactId>shindig-social-api</artifactId>
130       <version>${project.version}</version>
131     </dependency>
132     <dependency>
133       <groupId>org.apache.shindig</groupId>
134       <artifactId>shindig-features</artifactId>
135       <version>${project.version}</version>
136     </dependency>
137     <dependency>
138       <groupId>org.apache.shindig</groupId>
139       <artifactId>shindig-server</artifactId>
140       <version>${project.version}</version>
141       <type>war</type>
142     </dependency>
143   </dependencies>
144 </project>