|
152 | 152 | <configuration>
|
153 | 153 | <artifacts>
|
154 | 154 | <artifact>
|
155 |
| - <file>target/${project.artifactId}-linux-x64.tar.gz</file> |
| 155 | + <file>${project.build.directory}/${project.artifactId}-linux-x64.tar.gz</file> |
156 | 156 | <type>tar.gz</type>
|
157 | 157 | <classifier>linux</classifier>
|
158 | 158 | </artifact>
|
159 | 159 | <artifact>
|
160 |
| - <file>target/${project.artifactId}-windows-x64.tar.gz</file> |
| 160 | + <file>${project.build.directory}/${project.artifactId}-windows-x64.tar.gz</file> |
161 | 161 | <type>tar.gz</type>
|
162 | 162 | <classifier>windows</classifier>
|
163 | 163 | </artifact>
|
164 | 164 | <artifact>
|
165 |
| - <file>target/${project.artifactId}-mac-x64.tar.gz</file> |
| 165 | + <file>${project.build.directory}/${project.artifactId}-mac-x64.tar.gz</file> |
166 | 166 | <type>tar.gz</type>
|
167 | 167 | <classifier>mac</classifier>
|
168 | 168 | </artifact>
|
|
206 | 206 | <agent>
|
207 | 207 | <enabled>true</enabled>
|
208 | 208 | </agent>
|
209 |
| - <imageName> |
210 |
| - ${imageName} |
211 |
| - </imageName> |
| 209 | + <imageName>${imageName}</imageName> |
212 | 210 | <buildArgs>
|
213 | 211 | <arg>--enable-url-protocols=https</arg>
|
214 | 212 | <arg>-H:IncludeResources="nls/.*"</arg>
|
215 | 213 | <arg>--initialize-at-build-time=org.apache.commons.compress</arg>
|
216 | 214 | </buildArgs>
|
217 | 215 | </configuration>
|
218 | 216 | </plugin>
|
| 217 | + <plugin> |
| 218 | + <!-- Include documentation into release --> |
| 219 | + <groupId>org.apache.maven.plugins</groupId> |
| 220 | + <artifactId>maven-dependency-plugin</artifactId> |
| 221 | + <executions> |
| 222 | + <execution> |
| 223 | + <id>copy-documentation</id> |
| 224 | + <phase>prepare-package</phase> |
| 225 | + <goals> |
| 226 | + <goal>copy</goal> |
| 227 | + </goals> |
| 228 | + </execution> |
| 229 | + </executions> |
| 230 | + <configuration> |
| 231 | + <artifactItems> |
| 232 | + <artifactItem> |
| 233 | + <groupId>${project.groupId}</groupId> |
| 234 | + <artifactId>ide-doc</artifactId> |
| 235 | + <version>${project.version}</version> |
| 236 | + <type>pdf</type> |
| 237 | + <destFileName>IDEasy-documentation.pdf</destFileName> |
| 238 | + </artifactItem> |
| 239 | + </artifactItems> |
| 240 | + <outputDirectory>${project.build.directory}/package</outputDirectory> |
| 241 | + <overWriteReleases>false</overWriteReleases> |
| 242 | + <overWriteSnapshots>true</overWriteSnapshots> |
| 243 | + </configuration> |
| 244 | + </plugin> |
219 | 245 | <plugin>
|
220 | 246 | <groupId>org.apache.maven.plugins</groupId>
|
221 | 247 | <artifactId>maven-assembly-plugin</artifactId>
|
|
230 | 256 | <finalName>${releaseName}</finalName>
|
231 | 257 | <appendAssemblyId>false</appendAssemblyId>
|
232 | 258 | <descriptors>
|
233 |
| - <descriptor>/src/main/assembly/exec.xml</descriptor> |
| 259 | + <descriptor>/src/main/assembly/release.xml</descriptor> |
234 | 260 | </descriptors>
|
235 | 261 | </configuration>
|
236 | 262 | </execution>
|
|
0 commit comments