| <?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> |
| |
| <parent> |
| <groupId>org.apache.edgent</groupId> |
| <artifactId>edgent-platforms</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| </parent> |
| |
| <groupId>org.apache.edgent.android</groupId> |
| <artifactId>edgent-platforms-android</artifactId> |
| <packaging>pom</packaging> |
| |
| <name>Apache Edgent (Android): Platforms: Android</name> |
| |
| <modules> |
| <!-- Real modules --> |
| <module>android</module> |
| |
| <!-- Repacked modules --> |
| <module>analytics</module> |
| <module>api</module> |
| <module>apps</module> |
| <module>connectors</module> |
| <module>providers</module> |
| <module>runtime</module> |
| <module>spi</module> |
| <module>utils</module> |
| </modules> |
| |
| <build> |
| <plugins> |
| <!-- Check artifacts against Java7 signatures --> |
| <!-- |
| Let the plugin run in the process-test-classes so we immediately know if |
| test run problems could be related to using APIs unavailable to Java7. |
| --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>animal-sniffer-maven-plugin</artifactId> |
| <version>1.16</version> |
| <executions> |
| <execution> |
| <id>check-jdk-signatures</id> |
| <phase>process-test-classes</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <signature> |
| <groupId>org.codehaus.mojo.signature</groupId> |
| <artifactId>java18</artifactId> |
| <version>1.0</version> |
| </signature> |
| </configuration> |
| </plugin> |
| <!-- We don't do testing on Android ;-) --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default</id> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- |
| The android platform depends on the modules of the java7 platform, |
| so we have to make sure that profile is activated too. |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>enforce-java7-profile-is-activated</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireProperty> |
| <property>platform.java7</property> |
| <message>the 'platform-java7' profile must be activated!</message> |
| </requireProperty> |
| </rules> |
| <fail>true</fail> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>net.orfjackal.retrolambda</groupId> |
| <artifactId>retrolambda-maven-plugin</artifactId> |
| <versionRange>[2.5.1,)</versionRange> |
| <goals> |
| <goal>process-main</goal> |
| <goal>process-test</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| </build> |
| |
| <!-- Additionally build the binary distribution package. --> |
| <profiles> |
| <profile> |
| <id>distribution</id> |
| <modules> |
| <module>distribution</module> |
| </modules> |
| </profile> |
| </profiles> |
| |
| </project> |