Skip to content

Commit

Permalink
Fixed maven build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
danieloeh committed Jan 8, 2013
1 parent 50c983c commit 174d07e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ ActionBarSherlock and ViewPagerIndicator have to be added as library projects. F
You can already build unsigned packages with maven, if you add annotations.jar from the Android SDK to your local maven repository. You don't have to do anything described in the 'Building with ant' section in order to build with maven.

- Make sure the ANDROID_HOME variable is set to the location of your Android SDK installation
- Navigate from your Android SDK directory into tools/support
- Execute the following command:
<pre>
mvn install:install-file -Dfile=./annotations.jar -DgroupId=android.tools.support -DartifactId=annotations -Dversion=1.0 -Dpackaging=jar
</pre>
- In the root directory of this project, you can then execute the following command to build it:
<pre>mvn clean package</pre>

Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
<version>4.0.1.2</version>
<version>4.1.1.4</version>
</dependency>
<dependency>
<groupId>com.actionbarsherlock</groupId>
Expand All @@ -54,9 +54,9 @@
<type>apklib</type>
</dependency>
<dependency>
<groupId>android.tools.support</groupId>
<groupId>com.google.android</groupId>
<artifactId>annotations</artifactId>
<version>1.0</version>
<version>4.1.1.4</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down Expand Up @@ -85,7 +85,7 @@
<configuration>
<sdk>
<path>${env.ANDROID_HOME}</path>
<platform>14</platform>
<platform>17</platform>
</sdk>
</configuration>
<extensions>true</extensions>
Expand Down

0 comments on commit 174d07e

Please sign in to comment.