01.
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
04.
<
modelVersion
>4.0.0</
modelVersion
>
05.
06.
<
parent
>
07.
<
groupId
>YOUR_PARENT_PROJECT_GROUP_ID</
groupId
>
08.
<
artifactId
>YOUR_PARENT_PROJECT_ARTIFACT_ID</
artifactId
>
09.
<
version
>YOUR_PARENT_PROJECT_VERSION</
version
>
10.
</
parent
>
11.
12.
<
groupId
>com.hrupin</
groupId
>
13.
<
artifactId
>facebook-android-maven-sample</
artifactId
>
14.
<
version
>0.0.1-SNAPSHOT</
version
>
15.
<
packaging
>apk</
packaging
>
16.
<
name
>facebook-android-maven-sample - Application</
name
>
17.
18.
<
dependencies
>
19.
<
dependency
>
20.
<
groupId
>com.google.android</
groupId
>
21.
<
artifactId
>android</
artifactId
>
22.
</
dependency
>
23.
<
dependency
>
24.
<
groupId
>com.facebook.android</
groupId
>
25.
<
artifactId
>facebook-android-sdk</
artifactId
>
26.
<
version
>0.0.1</
version
>
27.
</
dependency
>
28.
</
dependencies
>
29.
<
build
>
30.
<
plugins
>
31.
<
plugin
>
32.
<
groupId
>com.jayway.maven.plugins.android.generation2</
groupId
>
33.
<
artifactId
>maven-android-plugin</
artifactId
>
34.
<
configuration
>
35.
<
androidManifestFile
>${project.basedir}/AndroidManifest.xml</
androidManifestFile
>
36.
<
assetsDirectory
>${project.basedir}/assets</
assetsDirectory
>
37.
<
resourceDirectory
>${project.basedir}/res</
resourceDirectory
>
38.
<
nativeLibrariesDirectory
>${project.basedir}/src/main/native</
nativeLibrariesDirectory
>
39.
<
sdk
>
40.
<
platform
>8</
platform
>
41.
</
sdk
>
42.
<
deleteConflictingFiles
>true</
deleteConflictingFiles
>
43.
<
undeployBeforeDeploy
>true</
undeployBeforeDeploy
>
44.
</
configuration
>
45.
<
extensions
>true</
extensions
>
46.
</
plugin
>
47.
<
plugin
>
48.
<
artifactId
>maven-compiler-plugin</
artifactId
>
49.
<
configuration
>
50.
<
source
>1.6</
source
>
51.
<
target
>1.6</
target
>
52.
</
configuration
>
53.
</
plugin
>
54.
</
plugins
>
55.
</
build
>
56.
</
project
>