Skip to content

Commit 133ccd7

Browse files
committed
fix: api class wasn't included
1 parent a0250b7 commit 133ccd7

File tree

4 files changed

+123
-16
lines changed

4 files changed

+123
-16
lines changed

lifesteal-api/pom.xml

+2-16
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
</parent>
3333

3434

35-
<name>LifestealAPI</name>
3635
<artifactId>lifesteal-api</artifactId>
36+
<name>LifestealAPI</name>
3737

3838

3939
<organization>
@@ -69,7 +69,7 @@
6969
<dependencies>
7070
<dependency>
7171
<groupId>in.arcadelabs</groupId>
72-
<artifactId>LifeStealRE</artifactId>
72+
<artifactId>lifesteal-core</artifactId>
7373
<version>1.8</version>
7474
<scope>compile</scope>
7575
</dependency>
@@ -81,18 +81,4 @@
8181
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
8282
</properties>
8383

84-
<build>
85-
<plugins>
86-
<plugin>
87-
<groupId>org.apache.maven.plugins</groupId>
88-
<artifactId>maven-jar-plugin</artifactId>
89-
<version>2.3.1</version>
90-
<configuration>
91-
<outputDirectory>${project.parent.basedir}/target</outputDirectory>
92-
<finalName>${project.parent.name}-v${project.parent.version}</finalName>
93-
</configuration>
94-
</plugin>
95-
</plugins>
96-
</build>
97-
9884
</project>

lifesteal-core/pom.xml

+9
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@
6464
</license>
6565
</licenses>
6666

67+
<build>
68+
<resources>
69+
<resource>
70+
<directory>src/main/resources</directory>
71+
<filtering>true</filtering>
72+
</resource>
73+
</resources>
74+
</build>
75+
6776
<properties>
6877
<maven.compiler.source>16</maven.compiler.source>
6978
<maven.compiler.target>16</maven.compiler.target>

lifesteal-plugin/pom.xml

+111
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
* LifeSteal - Yet another lifecore smp core.
5+
* Copyright (C) 2022 Arcade Labs
6+
*
7+
* This program is free software: you can redistribute it and/or modify
8+
* it under the terms of the GNU General Public License as published by
9+
* the Free Software Foundation, either version 3 of the License, or
10+
* (at your option) any later version.
11+
*
12+
* This program is distributed in the hope that it will be useful,
13+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
* GNU General Public License for more details.
16+
*
17+
* You should have received a copy of the GNU General Public License
18+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19+
20+
-->
21+
22+
<project xmlns="http://maven.apache.org/POM/4.0.0"
23+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25+
26+
<modelVersion>4.0.0</modelVersion>
27+
28+
<parent>
29+
<artifactId>LifeStealRE</artifactId>
30+
<groupId>in.arcadelabs</groupId>
31+
<version>1.8</version>
32+
</parent>
33+
34+
<artifactId>lifesteal-plugin</artifactId>
35+
<name>LifestealPlugin</name>
36+
37+
<organization>
38+
<name>ArcadeLabs Studios</name>
39+
<url>https://github.com/arcadelabs</url>
40+
</organization>
41+
42+
<developers>
43+
<developer>
44+
<name>Aniket</name>
45+
<email>[email protected]</email>
46+
<organization>ArcadeLabs Studios</organization>
47+
<organizationUrl>https://github.com/arcadelabs</organizationUrl>
48+
<timezone>IST</timezone>
49+
</developer>
50+
<developer>
51+
<name>Infinity</name>
52+
<email>[email protected]</email>
53+
<organization>ArcadeLabs Studios</organization>
54+
<organizationUrl>https://github.com/arcadelabs</organizationUrl>
55+
<timezone>IST</timezone>
56+
</developer>
57+
</developers>
58+
59+
<licenses>
60+
<license>
61+
<name>GNU General Public License v3.0</name>
62+
<url>https://www.gnu.org/licenses/gpl-3.0.html</url>
63+
<distribution>manual</distribution>
64+
</license>
65+
</licenses>
66+
67+
<properties>
68+
<maven.compiler.source>16</maven.compiler.source>
69+
<maven.compiler.target>16</maven.compiler.target>
70+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
71+
</properties>
72+
73+
<build>
74+
<plugins>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-shade-plugin</artifactId>
78+
<version>3.2.4</version>
79+
<executions>
80+
<execution>
81+
<phase>package</phase>
82+
<goals>
83+
<goal>shade</goal>
84+
</goals>
85+
<configuration>
86+
<createDependencyReducedPom>false</createDependencyReducedPom>
87+
<outputDirectory>${project.parent.basedir}/target</outputDirectory>
88+
<finalName>${project.parent.name}-v${project.parent.version}</finalName>
89+
</configuration>
90+
</execution>
91+
</executions>
92+
</plugin>
93+
</plugins>
94+
</build>
95+
96+
<dependencies>
97+
<dependency>
98+
<groupId>in.arcadelabs</groupId>
99+
<artifactId>lifesteal-core</artifactId>
100+
<version>1.8</version>
101+
<scope>compile</scope>
102+
</dependency>
103+
<dependency>
104+
<groupId>in.arcadelabs</groupId>
105+
<artifactId>lifesteal-api</artifactId>
106+
<version>1.8</version>
107+
<scope>compile</scope>
108+
</dependency>
109+
</dependencies>
110+
111+
</project>

pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<modules>
3636
<module>lifesteal-api</module>
3737
<module>lifesteal-core</module>
38+
<module>lifesteal-plugin</module>
3839
</modules>
3940

4041
<organization>

0 commit comments

Comments
 (0)