Skip to content

Commit c7391b9

Browse files
author
Robert James Oxspring
committed
NOTICE file now included in distributions
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@160399 13f79535-47bb-0310-9956-ffa450edef68
1 parent 083d2ff commit c7391b9

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

maven.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,23 @@ limitations under the License.
3232
<!-- END: C O M M O N S - B U I L D -->
3333
<!-- ================================================================== -->
3434

35+
<!-- Ensures that the conf directory and NOTICE.txt are included in the
36+
source distro.
37+
-->
38+
<postGoal name="dist:prepare-src-filesystem">
39+
<copy todir="${maven.dist.src.assembly.dir}">
40+
<fileset file="${basedir}/NOTICE.txt"/>
41+
</copy>
42+
</postGoal>
43+
44+
<!-- Ensures that NOTICE.txt is added to the binary distro -->
45+
<preGoal name="dist:build-bin">
46+
<copy todir="${maven.dist.bin.assembly.dir}">
47+
<fileset file="${basedir}/NOTICE.txt"/>
48+
</copy>
49+
</preGoal>
50+
51+
3552
<postGoal name="xdoc:transform">
3653
<attainGoal name="pdf:pdf"/>
3754
</postGoal>

0 commit comments

Comments
 (0)