|
1 | 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 | | - <modelVersion>4.0.0</modelVersion> |
| 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 | + <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 | 6 | <groupId>com.froxynetwork</groupId> |
7 | 7 | <artifactId>FroxyNetwork</artifactId> |
8 | | - <version>0.1.2</version> |
| 8 | + <version>0.1.3</version> |
9 | 9 | <packaging>jar</packaging> |
10 | 10 |
|
11 | 11 | <name>FroxyNetwork</name> |
|
25 | 25 | </roles> |
26 | 26 | </developer> |
27 | 27 | </developers> |
| 28 | + <build> |
| 29 | + <defaultGoal>clean install</defaultGoal> |
| 30 | + <finalName>FroxyNetwork-${project.version}</finalName> |
| 31 | + <plugins> |
| 32 | + <plugin> |
| 33 | + <groupId>org.apache.maven.plugins</groupId> |
| 34 | + <artifactId>maven-compiler-plugin</artifactId> |
| 35 | + <version>3.8.0</version> |
| 36 | + <configuration> |
| 37 | + <source>1.8</source> |
| 38 | + <target>1.8</target> |
| 39 | + </configuration> |
| 40 | + </plugin> |
| 41 | + <plugin> |
| 42 | + <groupId>org.apache.maven.plugins</groupId> |
| 43 | + <artifactId>maven-shade-plugin</artifactId> |
| 44 | + <version>3.1.0</version> |
| 45 | + <executions> |
| 46 | + <execution> |
| 47 | + <id>shaded</id> |
| 48 | + <phase>package</phase> |
| 49 | + <goals> |
| 50 | + <goal>shade</goal> |
| 51 | + </goals> |
| 52 | + <configuration> |
| 53 | + <shadedArtifactAttached>false</shadedArtifactAttached> |
| 54 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 55 | + <artifactSet> |
| 56 | + <excludes> |
| 57 | + <exclude>org.projectlombok:lombok</exclude> |
| 58 | + </excludes> |
| 59 | + </artifactSet> |
| 60 | + <filters> |
| 61 | + <filter> |
| 62 | + <artifact>*:*</artifact> |
| 63 | + <excludes> |
| 64 | + <exclude>META-INF/*.SF</exclude> |
| 65 | + <exclude>META-INF/*.DSA</exclude> |
| 66 | + <exclude>META-INF/*.RSA</exclude> |
| 67 | + </excludes> |
| 68 | + </filter> |
| 69 | + </filters> |
| 70 | + </configuration> |
| 71 | + </execution> |
| 72 | + </executions> |
| 73 | + </plugin> |
| 74 | + </plugins> |
| 75 | + </build> |
28 | 76 |
|
29 | 77 | <!-- Configuration of dependencies --> |
30 | 78 | <dependencies> |
31 | 79 | <!-- Logging --> |
32 | | - <dependency> |
33 | | - <groupId>org.slf4j</groupId> |
34 | | - <artifactId>slf4j-api</artifactId> |
35 | | - <version>1.7.26</version> |
36 | | - <scope>compile</scope> |
37 | | - </dependency> |
38 | 80 | <dependency> |
39 | 81 | <groupId>org.slf4j</groupId> |
40 | 82 | <artifactId>slf4j-log4j12</artifactId> |
41 | 83 | <version>1.7.6</version> |
42 | | - <scope>compile</scope> |
43 | 84 | </dependency> |
44 | 85 |
|
45 | 86 | <!-- Lombok --> |
46 | 87 | <dependency> |
47 | 88 | <groupId>org.projectlombok</groupId> |
48 | 89 | <artifactId>lombok</artifactId> |
49 | 90 | <version>1.18.6</version> |
50 | | - <scope>provided</scope> |
51 | 91 | </dependency> |
52 | 92 |
|
53 | 93 | <!-- Gson --> |
|
68 | 108 | <artifactId>converter-gson</artifactId> |
69 | 109 | <version>2.5.0</version> |
70 | 110 | </dependency> |
71 | | - </dependencies> |
| 111 | + </dependencies> |
72 | 112 | </project> |
0 commit comments