Done. Running "mvn -Prelease package" now generates a javadocs jar with NOTICE.txt and LICENCE.txt files.
On Mon, 2008-01-21 at 08:57 -0800, Matthias Wessendorf wrote: > No luck with that.... > > can you give it a shot? > > -M > > On Jan 21, 2008 8:05 AM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > > hrm... > > yeah, well. > > should we add this ? > > > > I think yes. Even it is ugly. > > > > -M > > > > > > On Jan 20, 2008 11:52 PM, Simon Kitching <[EMAIL PROTECTED]> wrote: > > > Yep, notice-in-javadoc-jar needs to be fixed too. > > > > > > The apache commons parent pom does it like this: > > > <plugin> > > > <!-- > > > - Copy LICENSE.txt and NOTICE.txt so that they are included > > > - in the -javadoc jar file for the component. > > > --> > > > <groupId>org.apache.maven.plugins</groupId> > > > <artifactId>maven-antrun-plugin</artifactId> > > > <executions> > > > <execution> > > > <id>javadoc.resources</id> > > > <phase>generate-sources</phase> > > > <goals> > > > <goal>run</goal> > > > </goals> > > > <configuration> > > > <tasks> > > > <copy todir="${project.build.directory}/apidocs/META-INF"> > > > <fileset dir="${basedir}"> > > > <include name="LICENSE.txt" /> > > > <include name="NOTICE.txt" /> > > > </fileset> > > > </copy> > > > </tasks> > > > </configuration> > > > </execution> > > > </executions> > > > </plugin> > > > > > > See: > > > http://svn.apache.org/repos/asf/commons/proper/commons-parent/trunk/pom.xml > > > > > > It would definitely be nicer to have a proper maven plugin to do this - > > > but the apache-jar-resources-plugin has other undesirable side-effects. > > > > > > Regards, > > > Simon > > > > > > ---- Matthias Wessendorf <[EMAIL PROTECTED]> schrieb: > > > > > > > Simon, > > > > > > > > as I expected the release causes some issues. > > > > > > > > The "blah-javadoc.jar" files don't have the notice and license files > > > > included. > > > > We (when incubating trinidad) had had this issue in the past, and > > > > as a workaround, we used the apache-jar-resources-bundle. > > > > > > > > -Matthias > > > > > > > > On Jan 20, 2008 10:08 AM, simon <[EMAIL PROTECTED]> wrote: > > > > > > > > > > On Sun, 2008-01-20 at 19:00 +0100, simon wrote: > > > > > > Ok, tried - but don't have commit permissions to this project it > > > > > > seems: > > > > > > > > > > Please forget that. I had checked this dir out using an http: url, not > > > > > https. So of course could not commit. Done now. > > > > > > > > > > I have also updated the parent reference to the recently released > > > > > version 5. > > > > > > > > > > Regards, Simon > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Matthias Wessendorf > > > > > > > > further stuff: > > > > blog: http://matthiaswessendorf.wordpress.com/ > > > > sessions: http://www.slideshare.net/mwessendorf > > > > mail: matzew-at-apache-dot-org > > > > > > > > > > > > > > -- > > Matthias Wessendorf > > > > further stuff: > > blog: http://matthiaswessendorf.wordpress.com/ > > sessions: http://www.slideshare.net/mwessendorf > > mail: matzew-at-apache-dot-org > > > > >