Created
June 27, 2010 18:59
-
-
Save hugojosefson/455090 to your computer and use it in GitHub Desktop.
Maven Android Plugin - issue 68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.almerys.psm.health_assistant_android_app" | |
android:versionCode="1" | |
android:versionName="1.0"> | |
<application android:label="@string/app_name"> | |
<activity android:name=".HealthAssistantAndroidActivity" | |
android:label="@string/app_name"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
</activity> | |
</application> | |
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is automatically generated by Android Tools. | |
# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | |
# | |
# This file must be checked in Version Control Systems. | |
# | |
# To customize properties used by the Ant build system use, | |
# "build.properties", and override values to adapt the script to your | |
# project structure. | |
# Project target. | |
target=Google Inc.:Google APIs:3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.almerys.psm.health_assistant_android_app; | |
import android.app.Activity; | |
import android.os.Bundle; | |
public class HealthAssistantAndroidActivity extends Activity | |
{ | |
/** Called when the activity is first created. */ | |
@Override | |
public void onCreate(Bundle savedInstanceState) | |
{ | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.main); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
> | |
<TextView | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:text="Hello World, HealthAssistantAndroidActivity" | |
/> | |
</LinearLayout> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.almerys.psm</groupId> | |
<artifactId>health-assistant-android-app</artifactId> | |
<name>HealthAssistantAndroidApp</name> | |
<version>1.0.0.1.2-SNAPSHOT</version> | |
<packaging>apk</packaging> | |
<description>Client Android de Mon Assistant Santé</description> | |
<properties> | |
<!-- Android framework --> | |
<android.framework.version>1.5_r3</android.framework.version> | |
<!-- Android platform API --> | |
<android.platform.api>3</android.platform.api> | |
</properties> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>oss.sonatype.org-jayway-snapshots</id> | |
<name>Jayway OpenSource SNAPSHOTs on Sonatype.org</name> | |
<url>http://oss.sonatype.org/content/repositories/jayway-snapshots/</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
<build> | |
<sourceDirectory>src</sourceDirectory> | |
<plugins> | |
<plugin> | |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | |
<artifactId>maven-android-plugin</artifactId> | |
<version>2.5.1-SNAPSHOT</version> | |
<configuration> | |
<sdk> | |
<platform>${android.platform.api}</platform> | |
</sdk> | |
<deleteConflictingFiles>true</deleteConflictingFiles> | |
</configuration> | |
<extensions>true</extensions> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>javax.xml.bind</groupId> | |
<artifactId>jaxb-api</artifactId> | |
<version>2.1</version> | |
</dependency> | |
<!-- Android framework --> | |
<dependency> | |
<groupId>com.google.android</groupId> | |
<artifactId>android</artifactId> | |
<version>${android.framework.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string name="app_name">HealthAssistantAndroidActivity</string> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment