Hi Tony,
First, your suggested workaround as shown in example project address my
immediate problem very nicely. Thank you.
In my plugin config I also specified the following to bundle the
license.html in the jars META-INF directory:
<generateBundle>true</generateBundle>
This worked but produce the file
META-INF/${project.artifactId}-LICENSE.txt as is the default behavior
(good).
Related to my need for using a custom name for my license file (say
license.html) I tried specifying the following in my plugin config:
<generateBundle>true</generateBundle>
<bundleLicensePath>META-INF/license.html</bundleLicensePath>
This did not work as expected and in fact nothing was added to META-INF
directory in the jar.
Attached is a diff file for your license-test project that reproduces
the issue.
Please advice if it is a user misunderstanding or if I should file an
issue. Thank you.
--
Regards,
Farrukh Najmi
Web: http://www.wellfleetsoftware.com
--- /tmp/pom.xml 2011-08-24 10:44:35.000000000 -0400
+++ license-test/pom.xml 2011-08-24 10:41:05.000000000 -0400
@@ -13,7 +13,7 @@
change the license project filename using this new license</description>
<inceptionYear>2011</inceptionYear>
- <packaging>pom</packaging>
+ <packaging>jar</packaging>
<organization>
<name>License Test</name>
@@ -33,6 +33,8 @@
<licenseName>my_license</licenseName>
<licenseResolver>file://${basedir}/src/license</licenseResolver>
<licenseFile>license.html</licenseFile>
+ <generateBundle>true</generateBundle>
+ <bundleLicensePath>META-INF/license.html</bundleLicensePath>
</configuration>
<executions>
<execution>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email