|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 2 | +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| 3 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
4 | 5 | <modelVersion>4.0.0</modelVersion> |
5 | 6 | <groupId>com.redomar.game</groupId> |
6 | 7 | <artifactId>javagame</artifactId> |
7 | | - <version>Alpha 1.8.5</version> |
| 8 | + <version>Alpha 1.8.6</version> |
8 | 9 | <inceptionYear>2013</inceptionYear> |
9 | 10 | <licenses> |
10 | 11 | <license> |
|
13 | 14 | <distribution>repo</distribution> |
14 | 15 | </license> |
15 | 16 | </licenses> |
| 17 | + <repositories> |
| 18 | + <repository> |
| 19 | + <id>local-maven-repo</id> |
| 20 | + <url>file://${project.basedir}/res/jars</url> |
| 21 | + </repository> |
| 22 | + </repositories> |
16 | 23 | <dependencies> |
17 | 24 | <dependency> |
18 | 25 | <groupId>org.apache.commons</groupId> |
19 | 26 | <artifactId>commons-text</artifactId> |
20 | | - <version>+</version> |
21 | | - <scope>runtime</scope> |
| 27 | + <version>1.10.0</version> |
22 | 28 | </dependency> |
23 | 29 | <dependency> |
24 | 30 | <groupId>org.apache.commons</groupId> |
25 | 31 | <artifactId>commons-lang3</artifactId> |
26 | | - <version>3.+</version> |
27 | | - <scope>runtime</scope> |
| 32 | + <version>3.12.0</version> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>org.jetbrains</groupId> |
| 36 | + <artifactId>annotations</artifactId> |
| 37 | + <version>23.1.0</version> |
| 38 | + </dependency> |
| 39 | + <dependency> |
| 40 | + <groupId>com.thehowtotutorial.splashscreen</groupId> |
| 41 | + <artifactId>JSplashScreen</artifactId> |
| 42 | + <version>1.0</version> |
28 | 43 | </dependency> |
29 | 44 | <dependency> |
30 | 45 | <groupId>junit</groupId> |
31 | 46 | <artifactId>junit</artifactId> |
32 | | - <version>4.13</version> |
| 47 | + <version>4.13.2</version> |
33 | 48 | <scope>test</scope> |
34 | 49 | </dependency> |
35 | 50 | </dependencies> |
| 51 | + <properties> |
| 52 | + <maven.compiler.source>8</maven.compiler.source> |
| 53 | + <maven.compiler.target>8</maven.compiler.target> |
| 54 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 55 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 56 | + </properties> |
| 57 | + <build> |
| 58 | + <sourceDirectory>src</sourceDirectory> |
| 59 | + <resources> |
| 60 | + <resource> |
| 61 | + <directory>res</directory> |
| 62 | + </resource> |
| 63 | + </resources> |
| 64 | + <testSourceDirectory> |
| 65 | + test |
| 66 | + </testSourceDirectory> |
| 67 | + <plugins> |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-resources-plugin</artifactId> |
| 71 | + <version>2.6</version> |
| 72 | + <configuration> |
| 73 | + <useDefaultDelimiters>false</useDefaultDelimiters> |
| 74 | + <delimiters> |
| 75 | + <delimiter>${*}</delimiter> |
| 76 | + <delimiter>@</delimiter> |
| 77 | + </delimiters> |
| 78 | + <encoding>UTF-8</encoding> |
| 79 | + </configuration> |
| 80 | + </plugin> |
| 81 | + <plugin> |
| 82 | + <groupId>org.apache.maven.plugins</groupId> |
| 83 | + <artifactId>maven-dependency-plugin</artifactId> |
| 84 | + <version>3.3.0</version> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <id>copy-dependencies</id> |
| 88 | + <phase>prepare-package</phase> |
| 89 | + <goals> |
| 90 | + <goal>copy-dependencies</goal> |
| 91 | + </goals> |
| 92 | + <configuration> |
| 93 | + <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 94 | + <overWriteReleases>false</overWriteReleases> |
| 95 | + <overWriteSnapshots>false</overWriteSnapshots> |
| 96 | + <overWriteIfNewer>true</overWriteIfNewer> |
| 97 | + </configuration> |
| 98 | + </execution> |
| 99 | + </executions> |
| 100 | + </plugin> |
| 101 | + <plugin> |
| 102 | + <!-- Build an executable JAR --> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-jar-plugin</artifactId> |
| 105 | + <version>2.4</version> |
| 106 | + <configuration> |
| 107 | + |
| 108 | + <archive> |
| 109 | + <manifest> |
| 110 | + <addClasspath>true</addClasspath> |
| 111 | + <classpathPrefix>lib/</classpathPrefix> |
| 112 | + <mainClass>com.redomar.game.Launcher</mainClass> |
| 113 | + </manifest> |
| 114 | + </archive> |
| 115 | + </configuration> |
| 116 | + <dependencies> |
| 117 | + <dependency> |
| 118 | + <groupId>com.thehowtotutorial.splashscreen</groupId> |
| 119 | + <artifactId>JSplashScreen</artifactId> |
| 120 | + <version>1.0</version> |
| 121 | + </dependency> |
| 122 | + </dependencies> |
| 123 | + </plugin> |
| 124 | + <plugin> |
| 125 | + <groupId>org.apache.maven.plugins</groupId> |
| 126 | + <artifactId>maven-install-plugin</artifactId> |
| 127 | + <version>2.4</version> |
| 128 | + <executions> |
| 129 | + <execution> |
| 130 | + <id>install-external-non-maven-jar-MWS-Client-into-local-maven-repo</id> |
| 131 | + <phase>clean</phase> |
| 132 | + <configuration> |
| 133 | + <repositoryLayout>default</repositoryLayout> |
| 134 | + <groupId>com.thehowtotutorial.splashscreen</groupId> |
| 135 | + <artifactId>JSplashScreen</artifactId> |
| 136 | + <version>1.0</version> |
| 137 | + <file>${project.basedir}/res/jars/JSplashScreen.jar</file> |
| 138 | + <packaging>jar</packaging> |
| 139 | + <generatePom>true</generatePom> |
| 140 | + </configuration> |
| 141 | + <goals> |
| 142 | + <goal>install-file</goal> |
| 143 | + </goals> |
| 144 | + </execution> |
| 145 | + </executions> |
| 146 | + </plugin> |
| 147 | + </plugins> |
| 148 | + </build> |
36 | 149 | </project> |
0 commit comments