| <?xml version="1.0"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <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> |