Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.31 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.     <!-- Information !-->
  8.     <groupId>com.crashitor</groupId>
  9.     <artifactId>Crashitor</artifactId>
  10.     <packaging>jar</packaging>
  11.     <version>1.0</version>
  12.  
  13.     <!-- Compiler settings !-->
  14.     <properties>
  15.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16.         <maven.compiler.source>12</maven.compiler.source>   <!-- JDK 12 !-->
  17.         <maven.compiler.target>12</maven.compiler.target>   <!-- JDK 12 !-->
  18.     </properties>
  19.  
  20.     <!-- External Jars !-->
  21.     <dependencies>
  22.         <!-- JTattoo.jar !-->
  23.         <dependency>
  24.             <groupId>com.jtattoo</groupId>
  25.             <artifactId>JTattoo</artifactId>
  26.             <version>1.6.1</version>
  27.             <scope>system</scope>
  28.             <systemPath>${basedir}/src/main/resources/JTattoo-1.6.11.jar</systemPath>
  29.         </dependency>
  30.  
  31.         <!-- javax.json !-->
  32.         <dependency>
  33.             <groupId>org.glassfish</groupId>
  34.             <artifactId>javax.json</artifactId>
  35.             <version>1.1.4</version>
  36.             <scope>system</scope>
  37.             <systemPath>${basedir}/src/main/resources/javax.json-1.1.4.jar</systemPath>
  38.         </dependency>
  39.     </dependencies>
  40.  
  41.     <!-- Build settings !-->
  42.     <build>
  43.         <plugins>
  44.             <!-- Jar !-->
  45.             <plugin>
  46.                 <groupId>org.apache.maven.plugins</groupId>
  47.                 <artifactId>maven-assembly-plugin</artifactId>
  48.                 <version>3.0.0</version>
  49.                 <configuration>
  50.                     <archive>
  51.                         <manifest>
  52.                             <mainClass>com.crashitor.Core</mainClass>
  53.                         </manifest>
  54.                     </archive>
  55.                 </configuration>
  56.                 <executions>
  57.                     <execution>
  58.                         <id>make-assembly</id>
  59.                         <phase>package</phase>
  60.                         <goals>
  61.                             <goal>single</goal>
  62.                         </goals>
  63.                     </execution>
  64.                 </executions>
  65.             </plugin>
  66.             <plugin>
  67.                 <groupId>org.apache.maven.plugins</groupId>
  68.                 <artifactId>maven-jar-plugin</artifactId>
  69.                 <version>3.1.2</version>
  70.                 <configuration>
  71.                     <archive>
  72.                         <manifest>
  73.                             <mainClass>com.crashitor.Core</mainClass>
  74.                             <addClasspath>true</addClasspath>
  75.                         </manifest>
  76.                     </archive>
  77.                     <!--<outputDirectory>bin/</outputDirectory>
  78.                    <finalName>Crashitor</finalName>!-->
  79.  
  80.                     <includes>
  81.                         <include>${basedir}/src/main/resources/javax.json-1.1.4.jar</include>
  82.                         <include>${basedir}/src/main/resources/JTattoo-1.6.11.jar</include>
  83.                     </includes>
  84.                 </configuration>
  85.             </plugin>
  86.         </plugins>
  87.     </build>
  88. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement