blob: 704cbff6620507784e8401ba9bcfed9ca42bac3f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!--
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.shindig</groupId>
<artifactId>shindig-project</artifactId>
<version>2.5.3-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>shindig-extras</artifactId>
<version>2.5.3-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Apache Shindig Extra Modules</name>
<description>Provides extra, deprecated or extended functionality. The items here have unstable APIs and could change at any time.</description>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/shindig/trunk/java/extras</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/shindig/trunk/java/extras</developerConnection>
<url>http://svn.apache.org/viewvc/shindig/trunk/java/extras</url>
</scm>
<build>
<resources>
<resource>
<directory>${basedir}/src/main/javascript</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<pluginManagement>
<!-- set versions of common plugins for reproducibility, ordered alphabetically by owner -->
<plugins>
<!-- Misc -->
<plugin>
<groupId>de.berlios.jsunit</groupId>
<artifactId>jsunit-maven2-plugin</artifactId>
<version>1.3</version>
<dependencies>
<dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.7R1</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<versionRange>[0.0.0,)</versionRange>
<goals>
<goal>compress</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<!-- TODO: Replace this with the more generic javascript plugin that
allows the use of arbitrary compressor / compilers.
The maven-javascript-plugin does not seem to work.
-->
<!-- <groupId>net.sf.hammerfest</groupId> -->
<!-- <artifactId>maven-javascript-plugin</artifactId> -->
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>compress</goal>
</goals>
</execution>
</executions>
<configuration>
<suffix>.opt</suffix>
<excludes>
<exclude>**/*.xml</exclude>
<exclude>**/swfobject/*.js</exclude>
</excludes>
<jswarn>false</jswarn>
<statistics>false</statistics>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- project dependencies -->
<dependency>
<groupId>org.apache.shindig</groupId>
<artifactId>shindig-common</artifactId>
<classifier>${shindig.jdk.classifier}</classifier>
</dependency>
<dependency>
<groupId>org.apache.shindig</groupId>
<artifactId>shindig-gadgets</artifactId>
<classifier>${shindig.jdk.classifier}</classifier>
</dependency>
<dependency>
<groupId>org.apache.shindig</groupId>
<artifactId>shindig-social-api</artifactId>
<classifier>${shindig.jdk.classifier}</classifier>
</dependency>
<!-- external depenencies -->
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-multibindings</artifactId>
</dependency>
<!-- test -->
<dependency>
<groupId>org.apache.shindig</groupId>
<artifactId>shindig-common</artifactId>
<version>${project.parent.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.shindig</groupId>
<artifactId>shindig-social-api</artifactId>
<version>${project.parent.version}</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
</dependencies>
</project>