| <?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> |
| <name>Lens Python Client</name> |
| <parent> |
| <artifactId>lens-contrib-clients</artifactId> |
| <groupId>org.apache.lens</groupId> |
| <version>2.7.2-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>lens-python-client</artifactId> |
| <packaging>pom</packaging> |
| <description>Lens python clients jar</description> |
| <profiles> |
| <profile> |
| <id>no.build.by.default</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| </profile> |
| <profile> |
| <id>py</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <configuration> |
| <executable>python</executable> |
| <workingDirectory>${basedir}</workingDirectory> |
| <environmentVariables> |
| <VERSION>${project.version}</VERSION> |
| <!--<BUILD_NUMBER>${buildNumber}</BUILD_NUMBER>--> |
| <!--<TIMESTAMP>${timestamp}</TIMESTAMP>--> |
| </environmentVariables> |
| </configuration> |
| <executions> |
| <execution> |
| <id>setuptools clean</id> |
| <phase>clean</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <arguments> |
| <argument>setup.py</argument> |
| <argument>clean</argument> |
| <argument>--all</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>setuptools install</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <arguments> |
| <argument>setup.py</argument> |
| <argument>develop</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>setuptools test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <skip>${maven.test.skip}</skip> |
| <arguments> |
| <argument>setup.py</argument> |
| <argument>test</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| <execution> |
| <id>setuptools deploy</id> |
| <phase>deploy</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <arguments> |
| <argument>setup.py</argument> |
| <argument>register</argument> |
| <argument>sdist</argument> |
| <argument>upload</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |