Advertisement
Guest User

Untitled

a guest
May 20th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.57 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <parent>
  5.         <artifactId>ball_labyrinth</artifactId>
  6.         <groupId>hu.unideb.inf</groupId>
  7.         <version>1.0</version>
  8.     </parent>
  9.     <artifactId>view</artifactId>
  10.     <properties>
  11.         <exec.mainClass>view.Launcher</exec.mainClass>
  12.         <log4j.version>2.11.2</log4j.version>
  13.         <slf4j.version>1.7.26</slf4j.version>
  14.     </properties>
  15.     <modelVersion>4.0.0</modelVersion>
  16.     <packaging>jar</packaging>
  17.     <developers>
  18.         <developer>
  19.             <name>Norbert Baczoni</name>
  20.             <email>baczonixnorbert@gmail.com</email>
  21.             <organization>Faculty of Informatics, University of Debrecen</organization>
  22.             <organizationUrl>https://inf.unideb.hu/</organizationUrl>
  23.         </developer>
  24.     </developers>
  25.     <dependencies>
  26.         <dependency>
  27.             <groupId>org.slf4j</groupId>
  28.             <artifactId>slf4j-api</artifactId>
  29.             <version>${slf4j.version}</version>
  30.             <scope>compile</scope>
  31.         </dependency>
  32.         <dependency>
  33.             <groupId>org.apache.logging.log4j</groupId>
  34.             <artifactId>log4j-core</artifactId>
  35.             <version>${log4j.version}</version>
  36.             <scope>runtime</scope>
  37.         </dependency>
  38.         <dependency>
  39.             <groupId>org.apache.logging.log4j</groupId>
  40.             <artifactId>log4j-slf4j-impl</artifactId>
  41.             <version>${log4j.version}</version>
  42.             <scope>runtime</scope>
  43.         </dependency>
  44.         <dependency>
  45.             <groupId>org.projectlombok</groupId>
  46.             <artifactId>lombok</artifactId>
  47.             <version>1.18.6</version>
  48.             <scope>compile</scope>
  49.         </dependency>
  50.         <dependency>
  51.             <groupId>org.openjfx</groupId>
  52.             <artifactId>javafx-controls</artifactId>
  53.             <version>${javafx.version}</version>
  54.         </dependency>
  55.  
  56.         <dependency>
  57.             <groupId>org.openjfx</groupId>
  58.             <artifactId>javafx-media</artifactId>
  59.             <version>${javafx.version}</version>
  60.         </dependency>
  61.  
  62.         <dependency>
  63.             <groupId>org.openjfx</groupId>
  64.             <artifactId>javafx-graphics</artifactId>
  65.             <version>${javafx.version}</version>
  66.         </dependency>
  67.  
  68.  
  69.         <dependency>
  70.             <groupId>org.openjfx</groupId>
  71.             <artifactId>javafx-fxml</artifactId>
  72.             <version>${javafx.version}</version>
  73.         </dependency>
  74.         <dependency>
  75.             <groupId>org.openjfx</groupId>
  76.             <artifactId>javafx-graphics</artifactId>
  77.             <version>12.0.1</version>
  78.         </dependency>
  79.         <dependency>
  80.             <groupId>hu.unideb.inf</groupId>
  81.             <artifactId>model</artifactId>
  82.             <version>1.0</version>
  83.             <scope>compile</scope>
  84.         </dependency>
  85.     </dependencies>
  86.     <profiles>
  87.         <profile>
  88.             <id>log4j</id>
  89.             <activation>
  90.                 <activeByDefault>true</activeByDefault>
  91.             </activation>
  92.             <dependencies>
  93.                 <dependency>
  94.                     <groupId>org.apache.logging.log4j</groupId>
  95.                     <artifactId>log4j-core</artifactId>
  96.                     <version>${log4j.version}</version>
  97.                     <scope>runtime</scope>
  98.                 </dependency>
  99.                 <dependency>
  100.                     <groupId>org.apache.logging.log4j</groupId>
  101.                     <artifactId>log4j-slf4j-impl</artifactId>
  102.                     <version>${log4j.version}</version>
  103.                     <scope>runtime</scope>
  104.                 </dependency>
  105.             </dependencies>
  106.         </profile>
  107.         <profile>
  108.             <id>nop</id>
  109.             <dependencies>
  110.                 <dependency>
  111.                     <groupId>org.slf4j</groupId>
  112.                     <artifactId>slf4j-nop</artifactId>
  113.                     <version>${slf4j.version}</version>
  114.                     <scope>runtime</scope>
  115.                 </dependency>
  116.             </dependencies>
  117.         </profile>
  118.     </profiles>
  119.     <build>
  120.         <plugins>
  121.             <plugin>
  122.                 <groupId>org.apache.maven.plugins</groupId>
  123.                 <artifactId>maven-shade-plugin</artifactId>
  124.                 <version>3.2.1</version>
  125.                 <executions>
  126.                     <execution>
  127.                         <phase>package</phase>
  128.                         <goals>
  129.                             <goal>shade</goal>
  130.                         </goals>
  131.                         <configuration>
  132.                             <shadedArtifactAttached>false</shadedArtifactAttached>
  133.                             <shadedClassifierName>Launcher</shadedClassifierName> <!-- Any name that makes sense -->
  134.                             <createDependencyReducedPom>false</createDependencyReducedPom>
  135.                             <transformers>
  136.                                 <transformer
  137.                                        implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  138.                                     <mainClass>${exec.mainClass}</mainClass>
  139.                                 </transformer>
  140.                             </transformers>
  141.                         </configuration>
  142.                     </execution>
  143.                 </executions>
  144.             </plugin>
  145.         </plugins>
  146.     </build>
  147.  
  148.  
  149.  
  150. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement