Ausführbares Windows-Programm aus JavaFX generieren (Teil 4)

Avatar of domjosdomjos - 24. Dezember 2019 - JavaFX, Maven

Maven Integration

Fügen Sie Antrun als Plugin hinzu

 

Antrun-Config

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.6</version>
                <executions>
                    <execution>
                        <id>BuildSetup</id>
                        <phase>package</phase>
                        <configuration>
                            <target>
                                <exec dir="${project.basedir}/src/main/resources/setup/" executable="${project.basedir}/src/main/resources/setup/createSetup.bat"  failonerror="false"/>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Comments are disabled for this post.

0 comments