06-14-06 12:11 AM
[ [url]http://issues.apache.org/jira/browse/JDO-386?page=comments#action_12416054[/
url] ]
Andy Jefferson commented on JDO-386:
------------------------------------
Hi Craig,
what we do with JPOX to get it in the jar is add it in the "resources" secti
on under "build" in project.xml like this
<build>
<sourceDirectory>src/java</sourceDirectory>
<resources>
<resource>
<directory>${basedir}/..</directory>
<includes>
<include>NOTICE.txt</include>
</includes>
</resource>
</resources>
and to get it in the distribution (maven dist) we add this to maven.xml
<preGoal name="dist:build-src">
<ant:copy todir="${maven.build.dir}/${maven.final.name}/src/${
;maven.final.name}">
<ant:fileset file="${basedir}/../NOTICE.txt" />
</ant:copy>
</preGoal>
We just put the LICENSE.txt, NOTICE.txt at the top level and then refer to t
hem in the project.properties in each subproject
Not sure how that fits in with how you're doing it in Apache JDO, but hopefu
lly gives you some ideas.
> All distributions (source and binary) need to include NOTICE file
> -----------------------------------------------------------------
>
> Key: JDO-386
> URL: http://issues.apache.org/jira/browse/JDO-386
> Project: JDO
> Type: Bug
> Components: api20, tck20
> Versions: JDO 2 final
> Reporter: Craig Russell
> Fix For: JDO 2 maintenance release 1
>
> The distributions need to include a NOTICE file in the same directory as t
he LICENSE file. Both the source and binary distributions need this file.
> For details, see http://www.apache.org/dev/apply-license.html#new summariz
ed as follows:
> "A NOTICE file should be included in the same directory as the LICENSE file. The N
OTICE should include only those attribution notices that are required by any part of
the entire distribution. For Apache projects and those redistributing ASF software,
th
e NOTICE file must contain the sentence:[vbcol=seagreen]
> This product includes software developed by
> The Apache Software Foundation (http://www.apache.org/).
> The license is applied to each source file (code and documentation, but ex
cluding the LICENSE and NOTICE files) by including a short copyright notice
at the top, as demonstrated by the boilerplate notice provided in the append
ix."
> I've filed this under tck20 and api20 but it applies to all Apache distributions.[
/vbcol]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|