mojohaus / maven-native

https://www.mojohaus.org/maven-native/
MIT License
18 stars 12 forks source link

Documentation for :initialize keeps in secret overriding build.finalName #32

Closed pzygielo closed 4 years ago

pzygielo commented 5 years ago

Documentation for :initialize keeps in secret overriding build.finalName

I find it confusing, that link-mojo.html#linkerFinalName has default of https://github.com/mojohaus/maven-native/blob/55634efe07e69921453c6b9a632f9715abda32b4/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeLinkMojo.java#L132-L133 yet it is impossible to effectively set finalName by user, due to https://github.com/mojohaus/maven-native/blob/55634efe07e69921453c6b9a632f9715abda32b4/native-maven-plugin/src/main/java/org/codehaus/mojo/natives/plugin/NativeInitializeMojo.java#L61-L63 Ignoring project.build.finalName from pom could be disclosed at initialize-mojo.html.