Author: doll
Date: Thu Apr 17 07:22:31 2008
New Revision: 649124
URL: http://svn.apache.org/viewvc?rev=649124&view=rev
Log:
SHINDIG-200
Added the java/common directory structure and the corresponding pom
dependencies.
Note: I did not actually move any files around - just got us set up to do so
Added:
incubator/shindig/trunk/java/common/
incubator/shindig/trunk/java/common/pom.xml
incubator/shindig/trunk/java/common/src/
incubator/shindig/trunk/java/common/src/main/
incubator/shindig/trunk/java/common/src/main/java/
incubator/shindig/trunk/java/common/src/main/java/org/
incubator/shindig/trunk/java/common/src/main/java/org/apache/
incubator/shindig/trunk/java/common/src/main/java/org/apache/shindig/
incubator/shindig/trunk/java/common/src/test/
Modified:
incubator/shindig/trunk/java/gadgets/pom.xml
incubator/shindig/trunk/java/pom.xml
incubator/shindig/trunk/java/social-api/pom.xml
Added: incubator/shindig/trunk/java/common/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/common/pom.xml?rev=649124&view=auto
==============================================================================
--- incubator/shindig/trunk/java/common/pom.xml (added)
+++ incubator/shindig/trunk/java/common/pom.xml Thu Apr 17 07:22:31 2008
@@ -0,0 +1,134 @@
+<?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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <parent>
+ <groupId>org.apache.shindig</groupId>
+ <artifactId>shindig-parent</artifactId>
+ <version>1-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.shindig</groupId>
+ <artifactId>shindig-common</artifactId>
+ <version>1-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Apache Shindig Java Common Code</name>
+ <description>
+ Common java code for Shindig
+ </description>
+
+ <scm>
+
<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/shindig/trunk/java/common</connection>
+
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/shindig/trunk/java/common</developerConnection>
+ <url>http://svn.apache.org/viewvc/incubator/shindig/trunk/java/common</url>
+ </scm>
+
+ <build>
+ <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
+ <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
+ <outputDirectory>${basedir}/target/classes</outputDirectory>
+ <testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
+ <finalName>shindig-common</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins </groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <fork>true</fork>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeResources>true</excludeResources>
+ <attach>true</attach>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.4</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.easymock</groupId>
+ <artifactId>easymock</artifactId>
+ <version>2.3</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.easymock</groupId>
+ <artifactId>easymockclassextension</artifactId>
+ <version>2.2.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.3</version>
+ </dependency>
+ </dependencies>
+</project>
Modified: incubator/shindig/trunk/java/gadgets/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/gadgets/pom.xml?rev=649124&r1=649123&r2=649124&view=diff
==============================================================================
--- incubator/shindig/trunk/java/gadgets/pom.xml (original)
+++ incubator/shindig/trunk/java/gadgets/pom.xml Thu Apr 17 07:22:31 2008
@@ -312,5 +312,10 @@
<artifactId>commons-codec</artifactId>
<version>1.3</version>
</dependency>
+ <dependency>
+ <version>1-SNAPSHOT</version>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>shindig-common</artifactId>
+ </dependency>
</dependencies>
</project>
Modified: incubator/shindig/trunk/java/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/pom.xml?rev=649124&r1=649123&r2=649124&view=diff
==============================================================================
--- incubator/shindig/trunk/java/pom.xml (original)
+++ incubator/shindig/trunk/java/pom.xml Thu Apr 17 07:22:31 2008
@@ -39,6 +39,7 @@
<inceptionYear>2007</inceptionYear>
<modules>
+ <module>common</module>
<module>gadgets</module>
<module>social-api</module>
</modules>
Modified: incubator/shindig/trunk/java/social-api/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/java/social-api/pom.xml?rev=649124&r1=649123&r2=649124&view=diff
==============================================================================
--- incubator/shindig/trunk/java/social-api/pom.xml (original)
+++ incubator/shindig/trunk/java/social-api/pom.xml Thu Apr 17 07:22:31 2008
@@ -28,7 +28,7 @@
<groupId>org.apache.shindig</groupId>
<artifactId>social-api</artifactId>
<version>1-SNAPSHOT</version>
- <packaging>war</packaging>
+ <packaging>jar</packaging>
<name>Apache Shindig Java REST API Server</name>
<description>
Server part of Shindig for hosting OpenSocial Data APIs.
@@ -144,6 +144,11 @@
<version>1-SNAPSHOT</version>
<groupId>${pom.groupId}</groupId>
<artifactId>gadgets</artifactId>
+ </dependency>
+ <dependency>
+ <version>1-SNAPSHOT</version>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>shindig-common</artifactId>
</dependency>
</dependencies>
</project>