"Fossies" - the Fresh Open Source Software Archive

Member "apache-zookeeper-3.5.6/zookeeper-client/zookeeper-client-c/pom.xml" (8 Oct 2019, 5409 Bytes) of package /linux/misc/apache-zookeeper-3.5.6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "pom.xml": 3.5.5_vs_3.5.6.

    1 <?xml version="1.0" encoding="UTF-8"?>
    2 <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/maven-v4_0_0.xsd">
    3   <!--
    4   /**
    5    * Licensed to the Apache Software Foundation (ASF) under one
    6    * or more contributor license agreements.  See the NOTICE file
    7    * distributed with this work for additional information
    8    * regarding copyright ownership.  The ASF licenses this file
    9    * to you under the Apache License, Version 2.0 (the
   10    * "License"); you may not use this file except in compliance
   11    * with the License.  You may obtain a copy of the License at
   12    *
   13    *     http://www.apache.org/licenses/LICENSE-2.0
   14    *
   15    * Unless required by applicable law or agreed to in writing, software
   16    * distributed under the License is distributed on an "AS IS" BASIS,
   17    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   18    * See the License for the specific language governing permissions and
   19    * limitations under the License.
   20    */
   21   -->
   22   <modelVersion>4.0.0</modelVersion>
   23   <parent>
   24     <groupId>org.apache.zookeeper</groupId>
   25     <artifactId>zookeeper-client</artifactId>
   26     <version>3.5.6</version>
   27     <relativePath>..</relativePath>
   28   </parent>
   29 
   30   <groupId>org.apache.zookeeper</groupId>
   31   <artifactId>zookeeper-client-c</artifactId>
   32   <packaging>jar</packaging>
   33   <name>Apache ZooKeeper - Client - C</name>
   34   <description>ZooKeeper c client</description>
   35 
   36   <build>
   37     <plugins>
   38       <plugin>
   39         <groupId>org.apache.maven.plugins</groupId>
   40         <artifactId>maven-antrun-plugin</artifactId>
   41         <executions>
   42           <execution>
   43             <id>generate-sources</id>
   44             <phase>generate-sources</phase>
   45             <configuration>
   46               <tasks>
   47                 <mkdir dir="target/c" />
   48               </tasks>
   49             </configuration>
   50             <goals>
   51               <goal>run</goal>
   52             </goals>
   53           </execution>
   54           <execution>
   55             <id>test-cppunit</id>
   56             <phase>test</phase>
   57             <configuration>
   58               <!-- do not run cpp tests if tests are globally skipped -->
   59               <skip>${skipTests}</skip> 
   60               <tasks>
   61                 <exec dir="${basedir}/target/c" executable="make" failonerror="true">
   62                   <env key="LD_LIBRARY_PATH" value="${env.LD_LIBRARY_PATH};/usr/lib" />
   63                   <env key="PATH" path="${env.PATH};${basedir};" />
   64                   <env key="CALLER" value="ANT" />
   65                   <env key="CLOVER_HOME" value="${basedir}/../../zookeeper-server/target" />
   66                   <env key="base_dir" value="${basedir}/../.." />
   67                   <arg line="clean check" />
   68                 </exec>
   69               </tasks>
   70             </configuration>
   71             <goals>
   72               <goal>run</goal>
   73             </goals>
   74           </execution>
   75         </executions>
   76       </plugin>
   77       <plugin>
   78         <groupId>org.codehaus.mojo</groupId>
   79         <artifactId>exec-maven-plugin</artifactId>
   80         <executions>
   81           <execution>
   82             <id>autoreconf</id>
   83             <phase>test-compile</phase>
   84             <goals>
   85               <goal>exec</goal>
   86             </goals>
   87             <configuration>
   88               <workingDirectory>${project.basedir}</workingDirectory>
   89               <executable>autoreconf</executable>
   90               <environmentVariables>
   91                 <ACLOCAL>aclocal -I /usr/share/aclocal</ACLOCAL>
   92               </environmentVariables>
   93               <arguments>
   94                 <argument>-if</argument>
   95               </arguments>
   96             </configuration>
   97           </execution>
   98           <execution>
   99             <id>configure</id>
  100             <phase>test-compile</phase>
  101             <goals>
  102               <goal>exec</goal>
  103             </goals>
  104             <configuration>
  105               <workingDirectory>${project.build.directory}/c</workingDirectory>
  106               <executable>${project.basedir}/configure</executable>
  107               <environmentVariables>
  108                 <base_dir>${project.basedir}/../..</base_dir>
  109                 <CALLER>ANT</CALLER>
  110               </environmentVariables>
  111               <arguments>
  112                 <argument>--prefix=${project.build.directory}/c</argument>
  113                 <argument>--enable-gcov</argument>
  114               </arguments>
  115             </configuration>
  116           </execution>
  117           <!--execution> TODO: Why is this not working?!
  118             <id>test-cppunit</id>
  119             <phase>test</phase>
  120             <goals>
  121               <goal>exec</goal>
  122             </goals>
  123             <configuration>
  124               <workingDirectory>${project.build.directory}/c</workingDirectory>
  125               <executable>make</executable>
  126               <environmentVariables>
  127                 <LD_LIBRARY_PATH>${env.LD_LIBRARY_PATH};/usr/lib</LD_LIBRARY_PATH>
  128                 <PATH>${env.PATH};${project.basedir};</PATH>
  129                 <CALLER>ANT</CALLER>
  130                 <CLOVER_HOME></CLOVER_HOME>
  131                 <base_dir>${project.basedir}/../..</base_dir>
  132               </environmentVariables>
  133               <arguments>
  134                 <argument>clean check</argument>
  135               </arguments>
  136             </configuration>
  137           </execution-->
  138         </executions>
  139       </plugin>
  140     </plugins>
  141   </build>
  142 
  143 </project>