db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-386) All distributions (source and binary) need to include NOTICE file
Date Tue, 13 Jun 2006 18:43:30 GMT
    [ http://issues.apache.org/jira/browse/JDO-386?page=comments#action_12416054 ] 

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" section 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 them in the project.properties
in each subproject

Not sure how that fits in with how you're doing it in Apache JDO, but hopefully 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 the LICENSE
file. Both the source and binary distributions need this file.
> For details, see http://www.apache.org/dev/apply-license.html#new summarized as follows:
> "A NOTICE file should be included in the same directory as the LICENSE file. The NOTICE
should include only those attribution notices that are required by any part of the entire
distribution. For Apache projects and those redistributing ASF software, the NOTICE file must
contain the sentence:
>    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 excluding the
LICENSE and NOTICE files) by including a short copyright notice at the top, as demonstrated
by the boilerplate notice provided in the appendix."
> I've filed this under tck20 and api20 but it applies to all Apache distributions.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message