Skip to content
Browse files

add pom.xml, change directory structure to default maven layout

  • Loading branch information...
1 parent 68d3a45 commit e76cf4e7989bcbcc258a67eaaa0ca5f4569338af @mttkay mttkay committed Nov 8, 2009
Showing with 217 additions and 4 deletions.
  1. +6 −4 .classpath
  2. +1 −0 .gitignore
  3. +6 −0 .project
  4. +9 −0 .settings/org.maven.ide.eclipse.prefs
  5. BIN lib/signpost-core-1.1-SNAPSHOT.jar
  6. +195 −0 pom.xml
  7. 0 src/{ → main/java}/com/github/droidfu/DroidFu.java
  8. 0 src/{ → main/java}/com/github/droidfu/DroidFuApplication.java
  9. 0 src/{ → main/java}/com/github/droidfu/activities/BetterActivity.java
  10. 0 src/{ → main/java}/com/github/droidfu/activities/BetterActivityHelper.java
  11. 0 src/{ → main/java}/com/github/droidfu/activities/BetterDefaultActivity.java
  12. 0 src/{ → main/java}/com/github/droidfu/activities/BetterListActivity.java
  13. 0 src/{ → main/java}/com/github/droidfu/adapters/ListAdapterWithProgress.java
  14. 0 src/{ → main/java}/com/github/droidfu/adapters/WebGalleryAdapter.java
  15. 0 src/{ → main/java}/com/github/droidfu/concurrent/BetterAsyncTask.java
  16. 0 src/{ → main/java}/com/github/droidfu/concurrent/BetterAsyncTaskCallable.java
  17. 0 src/{ → main/java}/com/github/droidfu/dialogs/DialogClickListener.java
  18. 0 src/{ → main/java}/com/github/droidfu/exception/ResourceMessageException.java
  19. 0 src/{ → main/java}/com/github/droidfu/http/BetterHttpRequest.java
  20. 0 src/{ → main/java}/com/github/droidfu/http/BetterHttpResponse.java
  21. 0 src/{ → main/java}/com/github/droidfu/http/ConnectionChangedBroadcastReceiver.java
  22. 0 src/{ → main/java}/com/github/droidfu/http/HttpGet.java
  23. 0 src/{ → main/java}/com/github/droidfu/http/HttpPost.java
  24. 0 src/{ → main/java}/com/github/droidfu/imageloader/ImageCache.java
  25. 0 src/{ → main/java}/com/github/droidfu/imageloader/ImageLoader.java
  26. 0 src/{ → main/java}/com/github/droidfu/imageloader/ImageLoaderHandler.java
  27. 0 src/{ → main/java}/com/github/droidfu/services/BetterService.java
  28. 0 src/{ → main/java}/com/github/droidfu/widgets/WebImageView.java
View
10 .classpath
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
- <classpathentry kind="lib" path="lib/signpost-core-1.1-SNAPSHOT.jar" sourcepath="/oauth-signpost"/>
- <classpathentry kind="output" path="bin"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="output" path="target/classes"/>
</classpath>
View
1 .gitignore
@@ -1,3 +1,4 @@
+target
gen
bin
*/**/*DSStore
View
6 .project
@@ -25,8 +25,14 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
View
9 .settings/org.maven.ide.eclipse.prefs
@@ -0,0 +1,9 @@
+#Sun Nov 08 16:27:04 CET 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
View
BIN lib/signpost-core-1.1-SNAPSHOT.jar
Binary file not shown.
View
195 pom.xml
@@ -0,0 +1,195 @@
+<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>
+ <name>Droid-Fu</name>
+ <groupId>com.github.droidfu</groupId>
+ <artifactId>droid-fu</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <description>A utility library for your daily Android needs.</description>
+ <url>http://github.com/kaeppler/droid-fu</url>
+
+ <developers>
+ <developer>
+ <id>mk</id>
+ <name>Matthias Käppler</name>
+ <email>matthias@qype.com</email>
+ <url>http://matthiaskaeppler.de</url>
+ <organization>Qype GmbH</organization>
+ <organizationUrl>http://www.qype.com</organizationUrl>
+ <timezone>+1</timezone>
+ </developer>
+ </developers>
+
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <url>http://github.com/kaeppler/droid-fu</url>
+ <connection>git://github.com/kaeppler/droid-fu.git</connection>
+ <developerConnection>git@github.com:kaeppler/droid-fu.git</developerConnection>
+ </scm>
+
+ <issueManagement>
+ <system>GitHub</system>
+ <url>http://github.com/kaeppler/droid-fu/issues</url>
+ </issueManagement>
+
+ <prerequisites>
+ <maven>2.0.9</maven>
+ </prerequisites>
+
+ <!-- build settings -->
+ <build>
+
+ <defaultGoal>package</defaultGoal>
+
+ <plugins>
+
+ <!-- compiler settings -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+
+ <!-- jar builder settings -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <excludes>
+ <exclude>**/*.apk</exclude>
+ <exclude>**/*.dex</exclude>
+ <exclude>**/*.ap_</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <!-- enable JavaDoc generation -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.6.1</version>
+ </plugin>
+
+ <!-- config for release builds -->
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-9</version>
+ <configuration>
+ <tagBase>http://github.com/kaeppler/droid-fu/tree</tagBase>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>com.jayway.maven.plugins.android.generation2</groupId>
+ <artifactId>maven-android-plugin</artifactId>
+ <version>2.2.0</version>
+ <configuration>
+ <deleteConflictingFiles>true</deleteConflictingFiles>
+ <undeployBeforeDeploy>true</undeployBeforeDeploy>
+ <sdk>
+ <path>${env.ANDROID_HOME}</path>
+ <platform>1.5</platform>
+ </sdk>
+ </configuration>
+ <extensions>true</extensions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>android</groupId>
+ <artifactId>android</artifactId>
+ <version>1.5_r2</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>oauth.signpost</groupId>
+ <artifactId>signpost-core</artifactId>
+ <version>1.1</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+ <!-- external repositories -->
+ <repositories>
+ <repository>
+ <id>signpost-releases</id>
+ <url>http://oss.sonatype.org/content/repositories/signpost-releases</url>
+ <layout>default</layout>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>daily</updatePolicy>
+ <checksumPolicy>warn</checksumPolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>daily</updatePolicy>
+ <checksumPolicy>warn</checksumPolicy>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <!--
+ <distributionManagement>
+ <repository>
+ <id>signpost-releases</id>
+ <name>Signpost Release Repository</name>
+ <url>
+ http://oss.sonatype.org/content/repositories/signpost-releases/
+ </url>
+ </repository>
+ <snapshotRepository>
+ <id>signpost-snapshots</id>
+ <name>Signpost Snapshot Repository</name>
+ <url>
+ http://oss.sonatype.org/content/repositories/signpost-snapshots/
+ </url>
+ </snapshotRepository>
+ </distributionManagement>
+ -->
+
+ <profiles>
+ <!-- Sonatype requires releases to be signed before being pushed to central -->
+ <profile>
+ <id>release-sign-artifacts</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.0-alpha-4</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
View
0 src/com/github/droidfu/DroidFu.java → ...main/java/com/github/droidfu/DroidFu.java
File renamed without changes.
View
0 ...om/github/droidfu/DroidFuApplication.java → ...om/github/droidfu/DroidFuApplication.java
File renamed without changes.
View
0 ...ub/droidfu/activities/BetterActivity.java → ...ub/droidfu/activities/BetterActivity.java
File renamed without changes.
View
0 ...idfu/activities/BetterActivityHelper.java → ...idfu/activities/BetterActivityHelper.java
File renamed without changes.
View
0 ...dfu/activities/BetterDefaultActivity.java → ...dfu/activities/BetterDefaultActivity.java
File renamed without changes.
View
0 ...roidfu/activities/BetterListActivity.java → ...roidfu/activities/BetterListActivity.java
File renamed without changes.
View
0 ...dfu/adapters/ListAdapterWithProgress.java → ...dfu/adapters/ListAdapterWithProgress.java
File renamed without changes.
View
0 ...b/droidfu/adapters/WebGalleryAdapter.java → ...b/droidfu/adapters/WebGalleryAdapter.java
File renamed without changes.
View
0 ...b/droidfu/concurrent/BetterAsyncTask.java → ...b/droidfu/concurrent/BetterAsyncTask.java
File renamed without changes.
View
0 ...u/concurrent/BetterAsyncTaskCallable.java → ...u/concurrent/BetterAsyncTaskCallable.java
File renamed without changes.
View
0 .../droidfu/dialogs/DialogClickListener.java → .../droidfu/dialogs/DialogClickListener.java
File renamed without changes.
View
0 ...u/exception/ResourceMessageException.java → ...u/exception/ResourceMessageException.java
File renamed without changes.
View
0 ...ithub/droidfu/http/BetterHttpRequest.java → ...ithub/droidfu/http/BetterHttpRequest.java
File renamed without changes.
View
0 ...thub/droidfu/http/BetterHttpResponse.java → ...thub/droidfu/http/BetterHttpResponse.java
File renamed without changes.
View
0 ...p/ConnectionChangedBroadcastReceiver.java → ...p/ConnectionChangedBroadcastReceiver.java
File renamed without changes.
View
0 src/com/github/droidfu/http/HttpGet.java → ...java/com/github/droidfu/http/HttpGet.java
File renamed without changes.
View
0 src/com/github/droidfu/http/HttpPost.java → ...ava/com/github/droidfu/http/HttpPost.java
File renamed without changes.
View
0 ...ithub/droidfu/imageloader/ImageCache.java → ...ithub/droidfu/imageloader/ImageCache.java
File renamed without changes.
View
0 ...thub/droidfu/imageloader/ImageLoader.java → ...thub/droidfu/imageloader/ImageLoader.java
File renamed without changes.
View
0 ...oidfu/imageloader/ImageLoaderHandler.java → ...oidfu/imageloader/ImageLoaderHandler.java
File renamed without changes.
View
0 ...ithub/droidfu/services/BetterService.java → ...ithub/droidfu/services/BetterService.java
File renamed without changes.
View
0 .../github/droidfu/widgets/WebImageView.java → .../github/droidfu/widgets/WebImageView.java
File renamed without changes.

0 comments on commit e76cf4e

Please sign in to comment.
Something went wrong with that request. Please try again.