Skip to content

Commit 5b46593

Browse files
pom.xml, ddb.sh, assembly.xml güncellendi. Yeni build yapısına geçiş yapıldı. lib klasörü eklendi.
1 parent 297eb30 commit 5b46593

File tree

82 files changed

+139
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+139
-4
lines changed

ddb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
1+
VERSION=0.0.0.2
22
echo "Denis $VERSION, All rights reserved."
3-
java -Dfile.encoding=UTF-8 -jar DenisDB-$VERSION-jwd.jar
3+
java -Dfile.encoding=UTF-8 -cp "denis-$VERSION-alpha.jar:lib/*" github.hacimertgokhan.Main

dependency-reduced-pom.xml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>github.hacimertgokhan</groupId>
5+
<artifactId>denis</artifactId>
6+
<version>0.0.0.2-alpha</version>
7+
<build>
8+
<plugins>
9+
<plugin>
10+
<artifactId>maven-assembly-plugin</artifactId>
11+
<version>3.6.0</version>
12+
<executions>
13+
<execution>
14+
<id>make-assembly</id>
15+
<phase>package</phase>
16+
<goals>
17+
<goal>single</goal>
18+
</goals>
19+
</execution>
20+
</executions>
21+
<configuration>
22+
<descriptors>
23+
<descriptor>src/assembly/assembly.xml</descriptor>
24+
</descriptors>
25+
</configuration>
26+
</plugin>
27+
<plugin>
28+
<artifactId>maven-compiler-plugin</artifactId>
29+
<version>3.11.0</version>
30+
<configuration>
31+
<source>17</source>
32+
<target>17</target>
33+
<generatedSourcesDirectory>${project.build.directory}/generated-sources/protobuf</generatedSourcesDirectory>
34+
<annotationProcessorPaths>
35+
<path>
36+
<groupId>info.picocli</groupId>
37+
<artifactId>picocli-codegen</artifactId>
38+
<version>4.7.6</version>
39+
</path>
40+
</annotationProcessorPaths>
41+
<compilerArgs>
42+
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
43+
</compilerArgs>
44+
</configuration>
45+
</plugin>
46+
<plugin>
47+
<groupId>org.xolstice.maven.plugins</groupId>
48+
<artifactId>protobuf-maven-plugin</artifactId>
49+
<version>0.6.1</version>
50+
<executions>
51+
<execution>
52+
<goals>
53+
<goal>compile</goal>
54+
<goal>test-compile</goal>
55+
</goals>
56+
</execution>
57+
</executions>
58+
</plugin>
59+
<plugin>
60+
<artifactId>maven-jar-plugin</artifactId>
61+
<version>3.4.1</version>
62+
<configuration>
63+
<archive>
64+
<manifest>
65+
<mainClass>github.hacimertgokhan.Main</mainClass>
66+
</manifest>
67+
</archive>
68+
</configuration>
69+
</plugin>
70+
<plugin>
71+
<artifactId>maven-shade-plugin</artifactId>
72+
<version>3.5.0</version>
73+
<executions>
74+
<execution>
75+
<phase>package</phase>
76+
<goals>
77+
<goal>shade</goal>
78+
</goals>
79+
<configuration>
80+
<createDependencyReducedPom>true</createDependencyReducedPom>
81+
</configuration>
82+
</execution>
83+
</executions>
84+
</plugin>
85+
</plugins>
86+
</build>
87+
<repositories>
88+
<repository>
89+
<id>central</id>
90+
<url>https://repo.maven.apache.org/maven2</url>
91+
</repository>
92+
<repository>
93+
<id>protobuf-repo</id>
94+
<url>https://repo.maven.apache.org/maven2</url>
95+
</repository>
96+
<repository>
97+
<id>google-protobuf-repo</id>
98+
<url>https://maven.google.com</url>
99+
</repository>
100+
</repositories>
101+
<properties>
102+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
103+
<maven.compiler.target>23</maven.compiler.target>
104+
<java.version>17</java.version>
105+
<maven.compiler.source>23</maven.compiler.source>
106+
</properties>
107+
</project>

lib/aether-api-1.7.jar

72.4 KB
Binary file not shown.

lib/aether-impl-1.7.jar

104 KB
Binary file not shown.

lib/aether-spi-1.7.jar

13.2 KB
Binary file not shown.

lib/aether-util-1.7.jar

105 KB
Binary file not shown.

lib/checker-qual-3.33.0.jar

219 KB
Binary file not shown.

lib/commons-exec-1.3.jar

53.1 KB
Binary file not shown.
15.6 KB
Binary file not shown.

lib/failureaccess-1.0.1.jar

4.51 KB
Binary file not shown.

lib/gson-2.8.9.jar

252 KB
Binary file not shown.

lib/guava-32.0.1-jre.jar

2.9 MB
Binary file not shown.

lib/j2objc-annotations-2.8.jar

9.08 KB
Binary file not shown.

lib/jackson-annotations-2.15.0.jar

73.8 KB
Binary file not shown.

lib/jackson-core-2.15.0.jar

530 KB
Binary file not shown.

lib/jackson-databind-2.15.0.jar

1.54 MB
Binary file not shown.

lib/json-20231013.jar

73 KB
Binary file not shown.

lib/jsr305-3.0.2.jar

19.5 KB
Binary file not shown.
Binary file not shown.

lib/log4j-api-2.20.0.jar

306 KB
Binary file not shown.

lib/log4j-core-2.20.0.jar

1.76 MB
Binary file not shown.

lib/maven-aether-provider-3.0.jar

50 KB
Binary file not shown.

lib/maven-artifact-3.0.jar

50.7 KB
Binary file not shown.

lib/maven-compat-3.0.jar

278 KB
Binary file not shown.

lib/maven-core-3.0.jar

515 KB
Binary file not shown.

lib/maven-model-3.0.jar

161 KB
Binary file not shown.

lib/maven-model-builder-3.0.jar

145 KB
Binary file not shown.
13.9 KB
Binary file not shown.

lib/maven-plugin-api-3.0.jar

47.8 KB
Binary file not shown.

lib/maven-repository-metadata-3.0.jar

29.4 KB
Binary file not shown.

lib/maven-settings-3.0.jar

45.6 KB
Binary file not shown.

lib/maven-settings-builder-3.0.jar

36.9 KB
Binary file not shown.

lib/netty-all-4.1.75.Final.jar

4.24 KB
Binary file not shown.

lib/netty-buffer-4.1.75.Final.jar

297 KB
Binary file not shown.

lib/netty-codec-4.1.75.Final.jar

329 KB
Binary file not shown.

lib/netty-codec-dns-4.1.75.Final.jar

63.9 KB
Binary file not shown.
35.3 KB
Binary file not shown.

lib/netty-codec-http-4.1.75.Final.jar

622 KB
Binary file not shown.
462 KB
Binary file not shown.
42.1 KB
Binary file not shown.

lib/netty-codec-mqtt-4.1.75.Final.jar

97.2 KB
Binary file not shown.
43.5 KB
Binary file not shown.

lib/netty-codec-smtp-4.1.75.Final.jar

19.4 KB
Binary file not shown.
116 KB
Binary file not shown.
28.7 KB
Binary file not shown.

lib/netty-codec-xml-4.1.75.Final.jar

17.9 KB
Binary file not shown.

lib/netty-common-4.1.75.Final.jar

636 KB
Binary file not shown.

lib/netty-handler-4.1.75.Final.jar

516 KB
Binary file not shown.
23.4 KB
Binary file not shown.

lib/netty-resolver-4.1.75.Final.jar

36.9 KB
Binary file not shown.
153 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

lib/netty-transport-4.1.75.Final.jar

468 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
17.7 KB
Binary file not shown.
48.1 KB
Binary file not shown.
31.4 KB
Binary file not shown.

lib/picocli-4.7.4.jar

405 KB
Binary file not shown.

lib/plexus-build-api-0.0.7.jar

8.28 KB
Binary file not shown.

lib/plexus-cipher-1.4.jar

13.2 KB
Binary file not shown.

lib/plexus-classworlds-2.2.3.jar

45 KB
Binary file not shown.
4.19 KB
Binary file not shown.

lib/plexus-interpolation-1.14.jar

59.6 KB
Binary file not shown.

lib/plexus-sec-dispatcher-1.3.jar

27.9 KB
Binary file not shown.

lib/plexus-utils-3.1.0.jar

255 KB
Binary file not shown.

lib/protobuf-java-4.28.2.jar

1.75 MB
Binary file not shown.

lib/protobuf-java-util-4.28.2.jar

73.8 KB
Binary file not shown.

lib/protobuf-maven-plugin-0.6.1.jar

186 KB
Binary file not shown.

lib/sisu-guice-2.1.7-noaop.jar

461 KB
Binary file not shown.

lib/sisu-inject-bean-1.4.2.jar

149 KB
Binary file not shown.

lib/sisu-inject-plexus-1.4.2.jar

197 KB
Binary file not shown.

lib/wagon-provider-api-1.0-beta-6.jar

51.9 KB
Binary file not shown.

pom.xml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>github.hacimertgokhan</groupId>
88
<artifactId>denis</artifactId>
9-
<version>0.0.0.2alpha</version>
9+
<version>0.0.0.2-alpha</version>
1010
<build>
1111
<plugins>
1212
<plugin>
@@ -61,6 +61,34 @@
6161
</execution>
6262
</executions>
6363
</plugin>
64+
<plugin>
65+
<groupId>org.apache.maven.plugins</groupId>
66+
<artifactId>maven-jar-plugin</artifactId>
67+
<version>3.4.1</version>
68+
<configuration>
69+
<archive>
70+
<manifest>
71+
<mainClass>github.hacimertgokhan.Main</mainClass>
72+
</manifest>
73+
</archive>
74+
</configuration>
75+
</plugin>
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-shade-plugin</artifactId>
79+
<version>3.5.0</version>
80+
<executions>
81+
<execution>
82+
<phase>package</phase>
83+
<goals>
84+
<goal>shade</goal>
85+
</goals>
86+
<configuration>
87+
<createDependencyReducedPom>true</createDependencyReducedPom>
88+
</configuration>
89+
</execution>
90+
</executions>
91+
</plugin>
6492
</plugins>
6593
</build>
6694

@@ -118,7 +146,6 @@
118146
<artifactId>picocli</artifactId>
119147
<version>4.7.4</version> <!-- En son sürümü kontrol edin -->
120148
</dependency>
121-
122149
<dependency>
123150
<groupId>org.apache.logging.log4j</groupId>
124151
<artifactId>log4j-api</artifactId>

src/assembly/assembly.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<includes>
2424
<include>lang/**</include>
2525
<include>denis/**</include>
26+
<include>lib/**</include>
2627
<include>logs/**</include>
2728
<include>ddb.sh</include>
2829
<include>ddb.json</include>

0 commit comments

Comments
 (0)