1 <?xml version="1.0" encoding="UTF-8"?>
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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
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/maven-v4_0_0.xsd">
21 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.apache.shindig</groupId>
25 <artifactId>shindig-project</artifactId>
26 <version>1.1-SNAPSHOT</version>
27 <relativePath>../pom.xml</relativePath>
30 <artifactId>shindig-features</artifactId>
31 <packaging>jar</packaging>
33 <name>Apache Shindig Features</name>
34 <description>Packages all the features that shindig provides into a single jar file to allow
35 loading from the classpath
39 <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/shindig/trunk/features</connection>
40 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/shindig/trunk/features</developerConnection>
41 <url>http://svn.apache.org/viewvc/incubator/shindig/trunk/features</url>
46 <!-- set versions of common plugins for reproducibility, ordered alphabetically by owner -->
50 <groupId>de.berlios.jsunit</groupId>
51 <artifactId>jsunit-maven2-plugin</artifactId>
52 <version>1.3</version>
55 <groupId>net.sf.alchim</groupId>
56 <artifactId>yuicompressor-maven-plugin</artifactId>
57 <version>0.7.1</version>
62 <!-- ordered alphabetically by owner -->
65 <groupId>de.berlios.jsunit</groupId>
66 <artifactId>jsunit-maven2-plugin</artifactId>
70 <sourceDirectory>${basedir}</sourceDirectory>
72 <source>mocks/env.js</source>
73 <source>mocks/xhr.js</source>
74 <source>core/config.js</source>
75 <source>core/json.js</source>
76 <source>core/auth.js</source>
77 <source>core/util.js</source>
78 <source>core/prefs.js</source>
79 <source>core.io/io.js</source>
80 <source>views/views.js</source>
81 <source>opensocial-reference/opensocial.js</source>
82 <source>opensocial-reference/activity.js</source>
83 <source>opensocial-reference/address.js</source>
84 <source>opensocial-reference/bodytype.js</source>
85 <source>opensocial-reference/collection.js</source>
86 <source>opensocial-reference/container.js</source>
87 <source>opensocial-reference/datarequest.js</source>
88 <source>opensocial-reference/dataresponse.js</source>
89 <source>opensocial-reference/email.js</source>
90 <source>opensocial-reference/enum.js</source>
91 <source>opensocial-reference/environment.js</source>
92 <source>opensocial-reference/idspec.js</source>
93 <source>opensocial-reference/mediaitem.js</source>
94 <source>opensocial-reference/message.js</source>
95 <source>opensocial-reference/name.js</source>
96 <source>opensocial-reference/navigationparameters.js</source>
97 <source>opensocial-reference/organization.js</source>
98 <source>opensocial-reference/person.js</source>
99 <source>opensocial-reference/phone.js</source>
100 <source>opensocial-reference/responseitem.js</source>
101 <source>opensocial-reference/url.js</source>
102 <source>opensocial-base/jsonactivity.js</source>
103 <source>opensocial-base/jsonperson.js</source>
104 <source>opensocial-rest/restfulcontainer.js</source>
105 <source>opensocial-jsonrpc/jsonrpccontainer.js</source>
107 <testSourceDirectory>${basedir}</testSourceDirectory>
110 <name>FeatureTests</name>
111 <type>TESTCASES</type>
113 <include>*/*test.js</include>
119 <goal>jsunit-test</goal>
125 <!-- TODO: Replace this with the more generic javascript plugin that
126 allows the use of arbitrary compressor / compilers.
127 The maven-javascript-plugin does not seem to work.
129 <!-- <groupId>net.sf.hammerfest</groupId> -->
130 <!-- <artifactId>maven-javascript-plugin</artifactId> -->
131 <groupId>net.sf.alchim</groupId>
132 <artifactId>yuicompressor-maven-plugin</artifactId>
136 <goal>compress</goal>
141 <suffix>.opt</suffix>
143 <exclude>target/**</exclude>
144 <!-- don't bother with other file types. -->
145 <exclude>**/*.xml</exclude>
146 <exclude>**/*.html</exclude>
147 <exclude>**/*.gif</exclude>
148 <exclude>**/*.jpeg</exclude>
149 <exclude>**/*.png</exclude>
150 <!-- Caja is already minified -->
151 <exclude>**/caja/*.js</exclude>
153 <jswarn>false</jswarn>
154 <statistics>false</statistics>
160 <targetPath>features</targetPath>
161 <directory>${basedir}</directory>
163 <exclude>pom.xml</exclude>
165 <exclude>target/**</exclude>
166 <exclude>work</exclude>
167 <exclude>dojo</exclude>
168 <exclude>*.iws</exclude>
169 <exclude>*.ipr</exclude>
170 <exclude>*.iml</exclude>
171 <exclude>derby.log</exclude>
172 <exclude>maven.log</exclude>
173 <exclude>build.xml</exclude>
174 <exclude>build-dependency.xml</exclude>
175 <exclude>velocity.log*</exclude>
176 <exclude>junit*.properties</exclude>
177 <exclude>surefire*.properties</exclude>
178 <exclude>.project</exclude>
179 <exclude>.classpath</exclude>
180 <exclude>.settings/**</exclude>
181 <exclude>.deployables</exclude>
182 <exclude>.wtpmodules</exclude>
183 <exclude>.externalToolBuilders/**</exclude>