Advertisement
Guest User

Untitled

a guest
Jul 10th, 2019
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.84 KB | None | 0 0
  1. <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">
  2.     <modelVersion>4.0.0</modelVersion>
  3.     <groupId>com.acme</groupId>
  4.     <artifactId>acme-android-appium</artifactId>
  5.     <version>1.0-SNAPSHOT</version>
  6.     <packaging>jar</packaging>
  7.  
  8. <repositories>
  9.   <repository>
  10.     <id>jcenter</id>
  11.     <name>bintray</name>
  12.     <url>http://jcenter.bintray.com</url>
  13.   </repository>
  14. </repositories>
  15.  
  16. <dependencies>
  17.             <dependency>
  18.                 <groupId>org.testng</groupId>
  19.                 <artifactId>testng</artifactId>
  20.                 <version>6.14.3</version>
  21.             </dependency>
  22.             <dependency>
  23.                 <groupId>io.appium</groupId>
  24.                 <artifactId>java-client</artifactId>
  25.                 <version>7.1.0</version>
  26.             </dependency>
  27.         <dependency>
  28.             <groupId>info.cukes</groupId>
  29.             <artifactId>cucumber-java</artifactId>
  30.             <version>1.2.5</version>
  31.             <scope>compile</scope>
  32.         </dependency>
  33.         <dependency>
  34.             <groupId>info.cukes</groupId>
  35.             <artifactId>cucumber-testng</artifactId>
  36.             <version>1.2.5</version>
  37.         </dependency>
  38.         </dependencies>
  39.  
  40.   <build>
  41.     <sourceDirectory>src</sourceDirectory>
  42.     <plugins>
  43.       <plugin>
  44.         <artifactId>maven-compiler-plugin</artifactId>
  45.         <version>3.8.0</version>
  46.         <configuration>
  47.         </configuration>
  48.       </plugin>
  49.      
  50.       <plugin>
  51.   <groupId>org.apache.maven.plugins</groupId>
  52.   <artifactId>maven-jar-plugin</artifactId>
  53.   <version>2.6</version>
  54.   <executions>
  55.     <execution>
  56.       <goals>
  57.         <goal>test-jar</goal>
  58.       </goals>
  59.     </execution>
  60.   </executions>
  61. </plugin>
  62.     <plugin>
  63.   <groupId>org.apache.maven.plugins</groupId>
  64.   <artifactId>maven-dependency-plugin</artifactId>
  65.   <version>2.10</version>
  66.   <executions>
  67.     <execution>
  68.       <id>copy-dependencies</id>
  69.       <phase>package</phase>
  70.       <goals>
  71.         <goal>copy-dependencies</goal>
  72.       </goals>
  73.       <configuration>
  74.         <outputDirectory>${project.build.directory}/dependency-jars/</outputDirectory>
  75.       </configuration>
  76.     </execution>
  77.   </executions>
  78. </plugin>
  79.     <plugin>
  80.   <artifactId>maven-assembly-plugin</artifactId>
  81.   <version>2.5.4</version>
  82.   <executions>
  83.     <execution>
  84.       <phase>package</phase>
  85.       <goals>
  86.         <goal>single</goal>
  87.       </goals>
  88.       <configuration>
  89.         <finalName>zip-with-dependencies</finalName>
  90.         <appendAssemblyId>false</appendAssemblyId>
  91.         <descriptors>
  92.           <descriptor>src/main/assembly/zip.xml</descriptor>
  93.         </descriptors>
  94.       </configuration>
  95.     </execution>
  96.   </executions>
  97. </plugin>
  98.      
  99.     </plugins>
  100.   </build>
  101. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement