Commits

José Antonio Pérez Sánchez committed 5a74f58

added POM files

  • Participants
  • Parent commits 969a936

Comments (0)

Files changed (2)

File ContentBrowser/pom.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>com.sharpdrops.contentbrowser</groupId>
+  <artifactId>ContentBrowser</artifactId>
+  <version>1.0</version>
+  <packaging>apk</packaging>
+  <name>ContentBrowser for Android [app]</name>
+
+  <!-- inherit project configuration -->
+  <parent>
+    <groupId>com.sharpdrops.contentbrowser</groupId>
+    <artifactId>ContentBrowserProject</artifactId>
+    <version>1.0.0</version>
+  </parent>
+
+  <build>
+    <!-- source is in src (Eclipse compatible) -->
+    <sourceDirectory>src</sourceDirectory>
+  </build>
+
+</project>
+
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>com.sharpdrops.contentbrowser</groupId>
+  <artifactId>ContentBrowserProject</artifactId>
+  <version>1.0.0</version>
+  <packaging>pom</packaging>
+  <name>ContentBrowser for Android [project]</name>
+
+  <modules>
+    <module>ContentBrowser</module>
+  </modules>
+
+  <build>
+    <plugins>
+      <!-- Maven Java Compiler (and use Java6!) -->
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+        </configuration>
+      </plugin>
+
+      <!-- Maven Android compiler (SDK 1.6r2) -->
+      <plugin>
+        <groupId>com.jayway.maven.plugins.android.generation2</groupId>
+        <artifactId>maven-android-plugin</artifactId>
+        <version>2.8.4</version>
+        <configuration>
+          <sdk>
+            <platform>7</platform>
+            <path>${env.ANDROID_HOME}</path>
+          </sdk>
+          <deleteConflictingFiles>true</deleteConflictingFiles>
+        </configuration>
+        <extensions>true</extensions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <!-- IDEA: move to dependencies-grouping projects -->
+  <dependencies>
+    <!-- Android SDK -->
+    <dependency>
+      <groupId>com.google.android</groupId>
+      <artifactId>android</artifactId>
+      <version>2.1_r1</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <!-- Test libraries -->
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.1</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
+
+  <pluginRepositories>
+    <pluginRepository>
+      <id>twdata-m2-repository</id>
+      <name>twdata.org Maven 2 Repository</name>
+      <url>http://twdata-m2-repository.googlecode.com/svn/</url>
+    </pluginRepository>
+  </pluginRepositories>
+
+</project>
+