commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r348356 - in /jakarta/commons/proper/resources/trunk: maven.xml project.properties project.xml
Date Wed, 23 Nov 2005 03:57:29 GMT
Author: niallp
Date: Tue Nov 22 19:57:22 2005
New Revision: 348356

URL: http://svn.apache.org/viewcvs?rev=348356&view=rev
Log:
Update maven build to include missing artifacts in distributions:

* Add NOTICE.txt to source and binary distros and the resources jar
* Add xml docs to source distro
* add checkstyle files to source distro

Modified:
    jakarta/commons/proper/resources/trunk/maven.xml
    jakarta/commons/proper/resources/trunk/project.properties
    jakarta/commons/proper/resources/trunk/project.xml

Modified: jakarta/commons/proper/resources/trunk/maven.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/resources/trunk/maven.xml?rev=348356&r1=348355&r2=348356&view=diff
==============================================================================
--- jakarta/commons/proper/resources/trunk/maven.xml (original)
+++ jakarta/commons/proper/resources/trunk/maven.xml Tue Nov 22 19:57:22 2005
@@ -41,4 +41,41 @@
 	         </ant:jar>
 	</postGoal>
 
+    <!-- ================================================================== -->
+    <!-- Copy into the binary distribution                                  -->
+    <!-- ================================================================== -->
+    <postGoal name="dist:prepare-bin-filesystem">
+
+        <!-- Copy the NOTICE -->
+        <copy todir="${maven.dist.bin.assembly.dir}">
+            <fileset file='${basedir}/NOTICE.txt'/>
+        </copy>
+
+    </postGoal>
+
+    <!-- ================================================================== -->
+    <!-- Copy into the source distribution                                  -->
+    <!-- ================================================================== -->
+    <postGoal name="dist:prepare-src-filesystem">
+
+        <!-- Copy the NOTICE -->
+        <copy todir="${maven.dist.src.assembly.dir}">
+            <fileset file='${basedir}/NOTICE.txt'/>
+        </copy>
+
+        <!-- Copy xdoc files -->
+        <copy todir="${maven.dist.src.assembly.dir}/xdocs">
+            <fileset dir="./xdocs"/>
+        </copy>
+
+        <!-- Copy configuration files -->
+        <copy todir="${maven.dist.src.assembly.dir}/conf/share">
+            <fileset dir="./conf">
+                <include name="*.xml"/>
+                <include name="*.txt"/>
+            </fileset>
+        </copy>
+
+    </postGoal>
+
 </project>

Modified: jakarta/commons/proper/resources/trunk/project.properties
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/resources/trunk/project.properties?rev=348356&r1=348355&r2=348356&view=diff
==============================================================================
--- jakarta/commons/proper/resources/trunk/project.properties (original)
+++ jakarta/commons/proper/resources/trunk/project.properties Tue Nov 22 19:57:22 2005
@@ -13,6 +13,7 @@
 #   limitations under the License.
 
 maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
+maven.changelog.range = 180
 
 ######################################################################
 # commons site L&F

Modified: jakarta/commons/proper/resources/trunk/project.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/resources/trunk/project.xml?rev=348356&r1=348355&r2=348356&view=diff
==============================================================================
--- jakarta/commons/proper/resources/trunk/project.xml (original)
+++ jakarta/commons/proper/resources/trunk/project.xml Tue Nov 22 19:57:22 2005
@@ -288,6 +288,15 @@
                 </resource>
             </resources>
     </unitTest>
+    <resources>
+        <resource>
+            <directory>${basedir}</directory>
+            <targetPath>META-INF</targetPath>
+            <includes>
+                <include>NOTICE.txt</include>
+            </includes>
+        </resource>
+    </resources>
   </build>
   <reports>
    <report>maven-changelog-plugin</report>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message