nixos/wyoming/{faster-whisper,piper}: drop download directory (#376447)
[NixPkgs.git] / pkgs / by-name / de / dependency-track / 0000-remove-frontend-download.patch
blob6e68f1813c253d0997d38151d44b2f64e4f66074
1 diff --git a/pom.xml b/pom.xml
2 index 9988e765..906917c0 100644
3 --- a/pom.xml
4 +++ b/pom.xml
5 @@ -660,38 +660,13 @@
6 <artifactId>maven-antrun-plugin</artifactId>
7 <version>3.1.0</version>
8 <executions>
9 - <execution>
10 - <id>frontend-download</id>
11 - <phase>prepare-package</phase>
12 - <configuration>
13 - <target>
14 - <get src="https://github.com/DependencyTrack/frontend/releases/download/${frontend.version}/frontend-dist.zip" dest="${project.build.directory}" verbose="true"/>
15 - </target>
16 - </configuration>
17 - <goals>
18 - <goal>run</goal>
19 - </goals>
20 - </execution>
21 - <execution>
22 - <id>frontend-extract</id>
23 - <phase>prepare-package</phase>
24 - <configuration>
25 - <target>
26 - <unzip src="${project.build.directory}/frontend-dist.zip" dest="${project.build.directory}/frontend">
27 - </unzip>
28 - </target>
29 - </configuration>
30 - <goals>
31 - <goal>run</goal>
32 - </goals>
33 - </execution>
34 <execution>
35 <id>frontend-resource-deploy</id>
36 <phase>prepare-package</phase>
37 <configuration>
38 <target>
39 <copy todir="${project.build.directory}/${project.artifactId}">
40 - <fileset dir="${project.build.directory}/frontend/dist">
41 + <fileset dir="${project.basedir}/frontend/dist">
42 <include name="**/*"/>
43 </fileset>
44 </copy>