| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <project |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.olingo</groupId> |
| <artifactId>olingo-odata2-parent</artifactId> |
| <version>2.0.0-android-01</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>olingo-odata2-android</artifactId> |
| <name>${project.artifactId}</name> |
| |
| <properties> |
| <version.android>4.1.1.4</version.android> |
| <version.robolectric>2.4</version.robolectric> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <id>bundle-manifest</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <instructions> |
| <Import-Package> |
| org.apache.olingo.odata2.annotation.processor.core.rt;resolution:=optional, |
| * |
| </Import-Package> |
| <Export-Package> |
| org.apache.olingo.odata2.android.xml;version=${project.version}, |
| org.apache.olingo.odata2.android.xml.*;version=${project.version} |
| </Export-Package> |
| <Bundle-DocURL>${project.url}</Bundle-DocURL> |
| <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.google.android</groupId> |
| <artifactId>android</artifactId> |
| <version>${version.android}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.olingo</groupId> |
| <artifactId>olingo-odata2-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.olingo</groupId> |
| <artifactId>olingo-odata2-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>org.apache.olingo</groupId> |
| <artifactId>olingo-odata2-testutil</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.robolectric</groupId> |
| <artifactId>robolectric</artifactId> |
| <version>${version.robolectric}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.android.support</groupId> |
| <artifactId>support-v4</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>xmlunit</groupId> |
| <artifactId>xmlunit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |