Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy-whatsnewfile #7

Open
mkotsovoulou opened this issue May 27, 2017 · 1 comment
Open

copy-whatsnewfile #7

mkotsovoulou opened this issue May 27, 2017 · 1 comment

Comments

@mkotsovoulou
Copy link

mkotsovoulou commented May 27, 2017

I created a whatsnew.html and placed in src/main/resources folder
I added in pom.xml :

<plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <version>1.4.0</version>
                <!-- Generate app.xml manifest -->
                <executions>
                    <execution>
                        <id>copy-whatsnewfile</id>
                        <phase>package</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>jar</executable>
                            <workingDirectory>${app.dir}</workingDirectory>
                            <arguments>
                                <argument>uf</argument>
                                <argument>fxlauncher.jar</argument>
                                <argument>-C</argument>
                                <argument>${project.basedir}/src/main/resources</argument>
                                <argument>whatsnew.html</argument>
                            </arguments>
                        </configuration>
                    </execution>
...

I made changes to a java class...
I packaged the app and deployed it using maven.
Changes are updating OK... but I do not see the whatsnew.html

@edvin
Copy link
Owner

edvin commented May 27, 2017

I will defer to @ronsmits on the whatsnew functionality, I've never used it myself actually. Ron, do you have any tips here?

PS: Ron is very busy these days, it might take a little while before he can get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants