File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change 1
- <!-- mvn archetype:generate -DgroupId=com.cherkavi.jdbc.migration -DartifactId=csv2sql -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=tru -->
1
+ <!-- mvn archetype:generate -DgroupId=com.cherkavi.jdbc.migration -DartifactId=csv2sql -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=true
2
+
3
+
4
+ java -jar target/csv2sql-1.0-SNAPSHOT-uber.jar
5
+ -->
2
6
<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
7
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" >
4
8
<modelVersion >4.0.0</modelVersion >
8
12
<version >1.0-SNAPSHOT</version >
9
13
<name >csv2sql</name >
10
14
<url >http://maven.apache.org</url >
15
+
16
+ <properties >
17
+ <maven .compiler.source>17</maven .compiler.source>
18
+ <maven .compiler.target>17</maven .compiler.target>
19
+ </properties >
20
+
11
21
<dependencies >
12
22
<dependency >
13
23
<groupId >org.postgresql</groupId >
28
38
<scope >test</scope >
29
39
</dependency >
30
40
</dependencies >
41
+ <build >
42
+ <plugins >
43
+ <plugin >
44
+ <groupId >org.apache.maven.plugins</groupId >
45
+ <artifactId >maven-shade-plugin</artifactId >
46
+ <version >3.2.4</version >
47
+ <executions >
48
+ <execution >
49
+ <phase >package</phase >
50
+ <goals >
51
+ <goal >shade</goal >
52
+ </goals >
53
+ <configuration >
54
+ <outputFile >${project.build.directory} /${project.artifactId} -${project.version} -uber.jar</outputFile >
55
+ <transformers >
56
+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
57
+ <mainClass >com.cherkavi.jdbc.migration.App</mainClass >
58
+ </transformer >
59
+ </transformers >
60
+ </configuration >
61
+ </execution >
62
+ </executions >
63
+ </plugin >
64
+ </plugins >
65
+ </build >
66
+
67
+
31
68
</project >
You can’t perform that action at this time.
0 commit comments