Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.79 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>io.github.calamity701</groupId>
  8.     <artifactId>esoc-notification</artifactId>
  9.     <version>1.0</version>
  10.  
  11.     <dependencies>
  12.         <dependency>
  13.             <groupId>org.jsoup</groupId>
  14.             <artifactId>jsoup</artifactId>
  15.             <version>1.8.3</version>
  16.         </dependency>
  17.         <dependency>
  18.             <groupId>org.apache.logging.log4j</groupId>
  19.             <artifactId>log4j-core</artifactId>
  20.             <version>2.5</version>
  21.         </dependency>
  22.         <dependency>
  23.             <groupId>org.apache.logging.log4j</groupId>
  24.             <artifactId>log4j-api</artifactId>
  25.             <version>2.5</version>
  26.         </dependency>
  27.     </dependencies>
  28.  
  29.     <build>
  30.         <finalName>${project.artifactId}_${project.version}</finalName>
  31.         <plugins>
  32.             <plugin>
  33.                 <artifactId>maven-assembly-plugin</artifactId>
  34.                 <configuration>
  35.                     <descriptorRefs>
  36.                         <descriptorRef>jar-with-dependencies</descriptorRef>
  37.                     </descriptorRefs>
  38.                     <archive>
  39.                         <manifest>
  40.                             <mainClass>App</mainClass>
  41.                         </manifest>
  42.                     </archive>
  43.                 </configuration>
  44.                 <executions>
  45.                     <execution>
  46.                         <phase>package</phase>
  47.                         <goals>
  48.                             <goal>single</goal>
  49.                         </goals>
  50.                     </execution>
  51.                 </executions>
  52.             </plugin>
  53.             <plugin>
  54.                 <groupId>org.apache.maven.plugins</groupId>
  55.                 <artifactId>maven-compiler-plugin</artifactId>
  56.                 <configuration>
  57.                     <source>1.8</source>
  58.                     <target>1.8</target>
  59.                 </configuration>
  60.             </plugin>
  61.             <plugin>
  62.                 <groupId>org.codehaus.mojo</groupId>
  63.                 <artifactId>exec-maven-plugin</artifactId>
  64.                 <version>1.4.0</version>
  65.                 <executions>
  66.                     <execution>
  67.                         <goals>
  68.                             <goal>java</goal>
  69.                         </goals>
  70.                     </execution>
  71.                 </executions>
  72.                 <configuration>
  73.                     <mainClass>App</mainClass>
  74.                 </configuration>
  75.             </plugin>
  76.         </plugins>
  77.     </build>
  78. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement