This repository was archived by the owner on Feb 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +47
-15
lines changed Expand file tree Collapse file tree 3 files changed +47
-15
lines changed Original file line number Diff line number Diff line change 84
84
</plugin >
85
85
<plugin >
86
86
<artifactId >maven-assembly-plugin</artifactId >
87
- <configuration >
88
- <archive >
89
- <manifest >
90
- <mainClass >main.script.AIO</mainClass >
91
- <addDefaultImplementationEntries >true</addDefaultImplementationEntries >
92
- </manifest >
93
- </archive >
94
- <descriptorRefs >
95
- <descriptorRef >jar-with-dependencies</descriptorRef >
96
- </descriptorRefs >
97
- <appendAssemblyId >false</appendAssemblyId >
98
- <outputDirectory >${user.home} /OSBot/Scripts/</outputDirectory >
99
- </configuration >
100
87
<executions >
101
88
<execution >
102
- <id >make-assembly</id > <!-- this is used for inheritance merges -->
103
- <phase >package</phase > <!-- bind to the packaging phase -->
89
+ <!-- Build the script .jar -->
90
+ <id >build-script-jar</id >
91
+ <configuration >
92
+ <archive >
93
+ <manifest >
94
+ <mainClass >main.script.AIO</mainClass >
95
+ <addDefaultImplementationEntries >true</addDefaultImplementationEntries >
96
+ </manifest >
97
+ </archive >
98
+ <descriptorRefs >
99
+ <descriptorRef >jar-with-dependencies</descriptorRef >
100
+ </descriptorRefs >
101
+ <appendAssemblyId >false</appendAssemblyId >
102
+ <outputDirectory >${user.home} /OSBot/Scripts/</outputDirectory >
103
+ </configuration >
104
+ <phase >package</phase >
105
+ <goals >
106
+ <goal >single</goal >
107
+ </goals >
108
+ </execution >
109
+ <execution >
110
+ <!-- Build the resources .zip archive -->
111
+ <id >build-resources-archive</id >
112
+ <configuration >
113
+ <appendAssemblyId >false</appendAssemblyId >
114
+ <finalName >resources-archive</finalName >
115
+ <descriptors >
116
+ <descriptor >${basedir} /src/assembly/resources-archive.xml</descriptor >
117
+ </descriptors >
118
+ <outputDirectory >${project.basedir} </outputDirectory >
119
+ </configuration >
120
+ <phase >package</phase >
104
121
<goals >
105
122
<goal >single</goal >
106
123
</goals >
Original file line number Diff line number Diff line change
1
+ <assembly xmlns =" http://maven.apache.org/ASSEMBLY/2.1.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi : schemaLocation =" http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd" >
3
+ <id >resources-archive</id >
4
+ <includeBaseDirectory >false</includeBaseDirectory >
5
+ <formats >
6
+ <format >zip</format >
7
+ </formats >
8
+ <fileSets >
9
+ <fileSet >
10
+ <directory >${basedir}/src/main/resources</directory >
11
+ <outputDirectory >/</outputDirectory >
12
+ <useDefaultExcludes >false</useDefaultExcludes >
13
+ </fileSet >
14
+ </fileSets >
15
+ </assembly >
You can’t perform that action at this time.
0 commit comments