1+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2+ xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+
6+ <groupId >fvarrui.pptx2video</groupId >
7+ <artifactId >PowerPointToVideo</artifactId >
8+ <version >0.0.1</version >
9+
10+ <name >PowerPointToVideo</name >
11+ <description >PowerPoint slide show to MP4 video converter with synthesized interlocutor voice</description >
12+
13+ <properties >
14+ <maven .compiler.target>11</maven .compiler.target>
15+ <maven .compiler.source>11</maven .compiler.source>
16+ </properties >
17+
18+ <dependencies >
19+ <dependency >
20+ <groupId >org.apache.poi</groupId >
21+ <artifactId >poi</artifactId >
22+ <version >4.1.0</version >
23+ </dependency >
24+ <dependency >
25+ <groupId >org.apache.poi</groupId >
26+ <artifactId >poi-ooxml</artifactId >
27+ <version >4.1.0</version >
28+ </dependency >
29+ <dependency >
30+ <groupId >javax.xml</groupId >
31+ <artifactId >jaxb-api</artifactId >
32+ <version >2.1</version >
33+ </dependency >
34+ <dependency >
35+ <groupId >javax.xml</groupId >
36+ <artifactId >jaxb-impl</artifactId >
37+ <version >2.1</version >
38+ </dependency >
39+ <dependency >
40+ <groupId >org.codehaus.plexus</groupId >
41+ <artifactId >plexus-utils</artifactId >
42+ <version >3.1.1</version >
43+ </dependency >
44+ <dependency >
45+ <groupId >commons-lang</groupId >
46+ <artifactId >commons-lang</artifactId >
47+ <version >2.2</version >
48+ </dependency >
49+ <dependency >
50+ <groupId >commons-io</groupId >
51+ <artifactId >commons-io</artifactId >
52+ <version >2.6</version >
53+ </dependency >
54+ <dependency >
55+ <groupId >org.openjfx</groupId >
56+ <artifactId >javafx-controls</artifactId >
57+ <version >11.0.1</version >
58+ </dependency >
59+ <dependency >
60+ <groupId >org.openjfx</groupId >
61+ <artifactId >javafx-fxml</artifactId >
62+ <version >11.0.1</version >
63+ </dependency >
64+ </dependencies >
65+
66+ <build >
67+ <plugins >
68+
69+ <!-- download and unpack ffmpeg and balcon in project root folder -->
70+ <plugin >
71+ <groupId >com.googlecode.maven-download-plugin</groupId >
72+ <artifactId >download-maven-plugin</artifactId >
73+ <version >1.3.0</version >
74+ <executions >
75+ <execution >
76+ <id >download-ffmpeg</id >
77+ <phase >prepare-package</phase >
78+ <goals >
79+ <goal >wget</goal >
80+ </goals >
81+ <configuration >
82+ <url >https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-20190518-c61d16c-win64-shared.zip</url >
83+ <unpack >true</unpack >
84+ <outputDirectory >${project.basedir} </outputDirectory >
85+ <md5 >100B55A2F13C11B019FA8E8CCCE644A7</md5 >
86+ </configuration >
87+ </execution >
88+ <execution >
89+ <id >download-balcon</id >
90+ <phase >prepare-package</phase >
91+ <goals >
92+ <goal >wget</goal >
93+ </goals >
94+ <configuration >
95+ <url >http://balabolka.site/balcon.zip</url >
96+ <unpack >true</unpack >
97+ <outputDirectory >${project.basedir} /balcon</outputDirectory >
98+ <md5 >4F3AD67483D5315FA3E213293248CEAF</md5 >
99+ </configuration >
100+ </execution >
101+ </executions >
102+ </plugin >
103+
104+ <!-- copy unpacked ffmpeg binaries in ffmpeg folder -->
105+ <plugin >
106+ <groupId >org.apache.maven.plugins</groupId >
107+ <artifactId >maven-resources-plugin</artifactId >
108+ <version >3.1.0</version >
109+ <executions >
110+ <execution >
111+ <id >copy-ffmpeg-bin-folder</id >
112+ <phase >prepare-package</phase >
113+ <goals >
114+ <goal >copy-resources</goal >
115+ </goals >
116+ <configuration >
117+ <outputDirectory >${basedir} /ffmpeg</outputDirectory >
118+ <resources >
119+ <resource >
120+ <directory >ffmpeg-20190518-c61d16c-win64-shared/bin</directory >
121+ <includes >
122+ <include >**/*</include >
123+ </includes >
124+ </resource >
125+ </resources >
126+ </configuration >
127+ </execution >
128+ </executions >
129+ </plugin >
130+
131+ <!-- remove unnecessary unpacked ffmpeg folder -->
132+ <plugin >
133+ <artifactId >maven-clean-plugin</artifactId >
134+ <version >2.5</version >
135+ <executions >
136+ <execution >
137+ <id >auto-clean</id >
138+ <phase >package</phase >
139+ <goals >
140+ <goal >clean</goal >
141+ </goals >
142+ <configuration >
143+ <excludeDefaultDirectories >true</excludeDefaultDirectories >
144+ <filesets >
145+ <fileset >
146+ <directory >ffmpeg-20190518-c61d16c-win64-shared</directory >
147+ </fileset >
148+ </filesets >
149+ </configuration >
150+ </execution >
151+ </executions >
152+ </plugin >
153+
154+ <!-- build native app and installer -->
155+ <plugin >
156+ <groupId >fvarrui.maven</groupId >
157+ <artifactId >javapackager</artifactId >
158+ <version >0.8.0</version >
159+ <executions >
160+ <execution >
161+ <phase >package</phase >
162+ <goals >
163+ <goal >package</goal >
164+ </goals >
165+ <configuration >
166+ <mainClass >fvarrui.pptx2video.Main</mainClass >
167+ <bundleJre >true</bundleJre >
168+ <additionalResources >
169+ <param >balcon</param >
170+ <param >ffmpeg</param >
171+ </additionalResources >
172+ <organizationName >fvarrui</organizationName >
173+ <organizationUrl >https://github.com/fvarrui</organizationUrl >
174+ <url >https://github.com/fvarrui/PowerPointToVideo</url >
175+ <generateInstaller >false</generateInstaller >
176+ </configuration >
177+ </execution >
178+ </executions >
179+ </plugin >
180+
181+ </plugins >
182+ </build >
183+
184+ </project >
0 commit comments