129 lines
4.9 KiB
XML
129 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
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 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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>odata-client-android</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>${project.artifactId}</name>
|
|
|
|
<parent>
|
|
<groupId>org.apache.olingo</groupId>
|
|
<artifactId>odata-ext</artifactId>
|
|
<version>4.0.0-SNAPSHOT</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.olingo</groupId>
|
|
<artifactId>odata-client-proxy</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.android</groupId>
|
|
<artifactId>android</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.xml.stream</groupId>
|
|
<artifactId>stax-api</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>org.apache.olingo:odata-client-proxy</include>
|
|
<include>org.apache.olingo:odata-client-core</include>
|
|
<include>org.apache.olingo:odata-client-api</include>
|
|
<include>org.apache.olingo:odata-commons-core</include>
|
|
<include>org.apache.olingo:odata-commons-api</include>
|
|
<include>org.apache.commons:commons-lang3</include>
|
|
<include>org.slf4j:slf4j-api</include>
|
|
<include>commons-io:commons-io</include>
|
|
<include>com.fasterxml.jackson.core:jackson-core</include>
|
|
<include>com.fasterxml.jackson.core:jackson-databind</include>
|
|
<include>com.fasterxml.jackson.core:jackson-annotations</include>
|
|
<include>com.fasterxml.jackson.dataformat:jackson-dataformat-xml</include>
|
|
<include>com.fasterxml.jackson.module:jackson-module-jaxb-annotations</include>
|
|
<include>org.codehaus.woodstox:stax2-api</include>
|
|
<include>javax.xml.stream:stax-api</include>
|
|
<include>com.fasterxml:aalto-xml</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>javax.xml.stream</pattern>
|
|
<shadedPattern>org.apache.olingo.javax.xml.stream</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/**</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
|
<resource>META-INF/DEPENDENCIES</resource>
|
|
<file>target/maven-shared-archive-resources/META-INF/DEPENDENCIES</file>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
|
<resource>META-INF/NOTICE</resource>
|
|
<file>target/maven-shared-archive-resources/META-INF/NOTICE</file>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
|
<resource>META-INF/LICENSE</resource>
|
|
<file>target/maven-shared-archive-resources/META-INF/LICENSE</file>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>target/maven-shared-archive-resources</directory>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
</project>
|