File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
src/main/java/uk/co/bithatch/maven/flatpak/plugin Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,10 @@ In which case you can just do `mvn clean package`.
174174
175175## Changes
176176
177+ ### 0.0.4
178+
179+ * Fix [ NPE] ( https://github.com/bithatch/maven-flatpak-plugin/issues/2 ) .
180+
177181### 0.0.3
178182
179183 * Support the complete manifest in ` <manifest> ` .
Original file line number Diff line number Diff line change 33 <modelVersion >4.0.0</modelVersion >
44 <groupId >uk.co.bithatch</groupId >
55 <artifactId >flatpak-maven-plugin</artifactId >
6- <version >0.0.3 </version >
6+ <version >0.0.4 </version >
77 <packaging >maven-plugin</packaging >
88 <name >Flatpak Maven Plugin</name >
99 <properties >
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public abstract class AbstractCreateMojo extends AbstractMojo {
5050 private boolean skip ;
5151
5252 @ Parameter (required = true , readonly = true , property = "project" )
53- private MavenProject project ;
53+ protected MavenProject project ;
5454
5555 @ Parameter (defaultValue = "${project.build.sourceDirectory}/flatpak" , required = true )
5656 protected File flatpakDataDirectory ;
@@ -86,12 +86,15 @@ public abstract class AbstractCreateMojo extends AbstractMojo {
8686 private String categories ;
8787
8888 @ Parameter
89+ @ Deprecated
8990 private String runtime ;
9091
9192 @ Parameter
93+ @ Deprecated
9294 private String runtimeVersion ;
9395
9496 @ Parameter
97+ @ Deprecated
9598 private String sdk ;
9699
97100 protected Module appModule ;
Original file line number Diff line number Diff line change @@ -51,9 +51,6 @@ public class FlatpakMojo extends AbstractCreateMojo {
5151 @ Parameter
5252 private List <String > excludeArtifacts ;
5353
54- @ Parameter (required = true , readonly = true , property = "project" )
55- private MavenProject project ;
56-
5754 @ Parameter ()
5855 private boolean includeProject = true ;
5956
You can’t perform that action at this time.
0 commit comments