vittooh

POM

Oct 3rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.41 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3.          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5.     <modelVersion>4.0.0</modelVersion>
  6.  
  7.     <groupId>sd</groupId>
  8.     <artifactId>grafo</artifactId>
  9.     <version>1.0-0</version>
  10.     <dependencies>
  11.         <!-- https://mvnrepository.com/artifact/org.apache.thrift/libthrift -->
  12.         <dependency>
  13.             <groupId>org.apache.thrift</groupId>
  14.             <artifactId>libthrift</artifactId>
  15.             <version>0.9.3</version>
  16.         </dependency>
  17.         <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  18.         <dependency>
  19.             <groupId>com.google.code.gson</groupId>
  20.             <artifactId>gson</artifactId>
  21.             <version>2.8.1</version>
  22.         </dependency>
  23.         <!-- https://mvnrepository.com/artifact/junit/junit -->
  24.         <dependency>
  25.             <groupId>junit</groupId>
  26.             <artifactId>junit</artifactId>
  27.             <version>4.12</version>
  28.             <scope>test</scope>
  29.         </dependency>
  30.  
  31.     </dependencies>
  32.     <properties>
  33.         <maven.compiler.source>1.8</maven.compiler.source>
  34.         <maven.compiler.target>1.8</maven.compiler.target>
  35.     </properties>
  36.  
  37.  
  38.     <build>
  39.         <plugins>
  40.             <plugin>
  41.                 <groupId>org.apache.maven.plugins</groupId>
  42.                 <artifactId>maven-compiler-plugin</artifactId>
  43.             </plugin>
  44.             <plugin>
  45.                 <artifactId>maven-assembly-plugin</artifactId>
  46.                 <configuration>
  47.                     <archive>
  48.                         <manifest>
  49.                             <mainClass>br.ufu.si.sd.MainClient</mainClass>
  50.                         </manifest>
  51.                     </archive>
  52.                     <descriptorRefs>
  53.                         <descriptorRef>jar-with-dependencies</descriptorRef>
  54.                     </descriptorRefs>
  55.                 </configuration>
  56.                 <executions>
  57.                     <execution>
  58.                         <phase>package</phase>
  59.                         <goals>
  60.                             <goal>single</goal>
  61.                         </goals>
  62.                     </execution>
  63.                 </executions>
  64.             </plugin>
  65.         </plugins>
  66.     </build>
  67.  
  68.  
  69. </project>
Advertisement
Add Comment
Please, Sign In to add comment