You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ju...@apache.org on 2006/01/30 12:31:26 UTC
svn commit: r373490 - /incubator/jackrabbit/trunk/jcr-rmi/maven.xml
Author: jukka
Date: Mon Jan 30 03:31:18 2006
New Revision: 373490
URL: http://svn.apache.org/viewcvs?rev=373490&view=rev
Log:
JCR-304: Include extra files in maven dist.
Modified:
incubator/jackrabbit/trunk/jcr-rmi/maven.xml
Modified: incubator/jackrabbit/trunk/jcr-rmi/maven.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/jcr-rmi/maven.xml?rev=373490&r1=373489&r2=373490&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/jcr-rmi/maven.xml (original)
+++ incubator/jackrabbit/trunk/jcr-rmi/maven.xml Mon Jan 30 03:31:18 2006
@@ -17,14 +17,24 @@
limitations under the License.
-->
-<project
- default="jar:install">
+<project default="jar:install" xmlns:ant="jelly:ant">
<!-- Compile the RMI stubs for the JCR-RMI server classes. -->
<postGoal name="java:compile">
<rmic base="${maven.build.dest}" verify="true"
includes="org/apache/jackrabbit/rmi/server/**/Server*.class"
classpathref="maven.dependency.classpath"/>
+ </postGoal>
+
+ <!-- Add extra files to the source distribution. The Maven dist -->
+ <!-- plugin supports this natively since version 1.7, see MPDIST-15. -->
+ <postGoal name="dist:prepare-src-filesystem">
+ <ant:copy todir="${maven.dist.src.assembly.dir}">
+ <ant:fileset dir=".">
+ <ant:include name="HEADER.txt"/>
+ <ant:include name="checkstyle.xml"/>
+ </ant:fileset>
+ </ant:copy>
</postGoal>
</project>