• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<project xmlns="http://maven.apache.org/POM/4.0.0"
2        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5    <parent>
6        <groupId>org.slf4j</groupId>
7        <artifactId>slf4j-parent</artifactId>
8        <version>1.7.13-SNAPSHOT</version>
9    </parent>
10
11    <modelVersion>4.0.0</modelVersion>
12
13    <artifactId>slf4j-android</artifactId>
14    <packaging>jar</packaging>
15    <name>SLF4J Android Binding</name>
16    <description>SLF4J Android Binding</description>
17    <url>http://www.slf4j.org</url>
18
19    <dependencies>
20        <dependency>
21            <groupId>org.slf4j</groupId>
22            <artifactId>slf4j-api</artifactId>
23            <version>${project.version}</version>
24        </dependency>
25
26        <dependency>
27            <groupId>com.google.android</groupId>
28            <artifactId>android</artifactId>
29            <version>1.5_r4</version>
30            <scope>provided</scope>
31        </dependency>
32    </dependencies>
33
34    <build>
35        <plugins>
36            <plugin>
37                <groupId>org.apache.maven.plugins</groupId>
38                <artifactId>maven-jar-plugin</artifactId>
39                <configuration>
40                    <archive>
41                        <manifestEntries>
42                            <Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
43                            <Bundle-Description>${project.description}</Bundle-Description>
44                            <Implementation-Version>${project.version}</Implementation-Version>
45                        </manifestEntries>
46                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
47                    </archive>
48                </configuration>
49            </plugin>
50
51            <plugin>
52                <!-- Google Android requires class compatibility set to 5.0 -->
53                <groupId>org.apache.maven.plugins</groupId>
54                <artifactId>maven-compiler-plugin</artifactId>
55                <configuration>
56                    <source>${required.jdk.version}</source>
57                    <target>${required.jdk.version}</target>
58                </configuration>
59            </plugin>
60        </plugins>
61    </build>
62
63</project>